Importing a XSD into MDS

Hi,
I have an xsd which is to be imported into the MDS database (I have the SOA-MDS connection as well). How do i do that, because i cannot find any option to import it directly into the MDS ?? Please let me know the steps ....
Aditya

Hi,
Oracle/Middleware/JDeveloper/integration/seed , please create a folder caller apps under this folder....And under apps, you can have folders if u want or place the artifacts directly inside the apps folder. After placing the artifacts, lets say an XSD file, Create a JDeveloper New Application, under that create a New SOA Project, Right click on that SOA project and say Project properties, Now go to deployment, Now say New, and now select the archive type as JAR File and give a meaningful name,
and say OK, And now you can see under the Project Output ; there are two things called Contributors and Filters. Select the Contributors and select the folders (which contains the XSD's you want to add). And then come to filters, and select the Artifacts you want to add to the MDS under the folder. You are good till now, Finally save the JAR File. Now right click on the application and say application properties , go to Deployments, say New, select the archive type as SOA Bundle, And give a meaningful name and say OK. Now select the bundle you have created and say Edit and go to dependencies, and here you need to add the jar file which you have created and save it. Now Right click on the application and say deploy to soabundle1 (the soa bundle which you have created ) and say Deploy to SOA Bundle and select the SOA Server and deploy it.
Now you should be good to use the Artifacts which are in MDS...GO to your MDS COnnection...to apps folder...you will see the artifacts in the folder...
Hope this helps you...
Thanks,
N

Similar Messages

  • How to Upload XSD into MDS by using WLST/ANT only

    Hi,
    Can anyone help me out how to upload an XSD into MDS using WLST/ANT only (Not JDEV)
    Please help me out its urgent
    Edited by: 943121 on Dec 28, 2012 8:11 AM

    If you are using AIA, then you will have MDS deployment scripts. Check this link for details - http://docs.oracle.com/cd/E23549_01/doc.1111/e17361/ch18.htm#BABGHIGG
    If not AIA, then you need to build custom ant scripts which will use the api "com.soamds.util.MdsImportTask" for mds deploy and "com.soamds.util.MdsDeleteTask" for mds undeploy.
    Hope this helps.
    -Sriharish.

  • How to Import a XSD into a ESB.

    Hai,
    Can anyone make me clear how to import XSD file(PurchaseOrder) into the ESB
    using File Adapter. If this is BPEL we can simply change the Input message type
    by invoking XSD while creating the project.
    In ESB FileAdapter's Define Schema for Native format we will be invoking a
    purchase order schema file.
    I have doubt in the Step 3:(Record Organization), Step 4: (Specify elements) and
    in the Step 5: (Specify Delimiters) of the Native Format Builder what to specify
    correctly in these steps inorder to give purchase order inputs through ESB.
    cheers.

    Hi,
    To import an XSD, follow these :
    1: Keep you project selected from the "application navigator".
    2: From 'File' Menu, Select 'import' and then select 'Web Source' and after that specify the directory having the schema files.
    What doubts you have regarding the steps.
    Step 3 : It specifies what type of records you input file has, whether single/multiple records and their type. Anyways if you sample an input 'Purchase Order' File, this step will be automatically done for You.
    Step 4: You just need to fill in the only empty space here to give a name to identify your records. For ex: 'Purchase Order' or whatever you want.
    Step 5: Delimiters again are used depending on the type of input file(CSV/text/Fixed-Length) you have sampled.
    thanks
    Saurabh

  • Import External XSD into WSDL ?

    Hello,
    How to import external XSD like ABC.xsd into WSDL ?? Or Do I also need to enter namespece in the BPEL source file ??
    Actually I have created a BPEL that using some XML input along with namespace like
    <ssml name="asd" xlmns:abc="urn:ssml:core:3:5"> So I need to define this namespace somewhere in BPEL or WSDL.
    Thanks

    you can drag your external xsd to types section in WSDL file from your XSD folder then it will comes automatically
    If you want to place your external xsd in XSD folder then copy that xsd and paste in XSD folder in your project directory

  • Problem in Importing Request Datasets into MDS for OIM

    I m getting the following Error message:
    Problem invoking WLST - Traceback (innermost last):
    File "C:\Oracle\Middleware\Oracle_IDM1\server\bin\weblogicImportMetadata.py",
    line 21, in ?
    File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 268, i
    n importMetadata
    File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 727, i
    n executeAppRuntimeMBeanOperation
    File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 697, i
    n getMDSAppRuntimeMBean
    UserWarning: MDS-91002: MDS Application runtime MBean for "OIMMetadata" is not a
    vailable. "importMetadata" operation failure.
    Edited by: 957358 on Sep 6, 2012 4:54 AM

    I m getting the following Error message:
    Problem invoking WLST - Traceback (innermost last):
    File "C:\Oracle\Middleware\Oracle_IDM1\server\bin\weblogicImportMetadata.py",
    line 21, in ?
    File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 268, i
    n importMetadata
    File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 727, i
    n executeAppRuntimeMBeanOperation
    File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 697, i
    n getMDSAppRuntimeMBean
    UserWarning: MDS-91002: MDS Application runtime MBean for "OIMMetadata" is not a
    vailable. "importMetadata" operation failure.
    Edited by: 957358 on Sep 6, 2012 4:54 AM

  • Importing XSD into another XSD

    Hi All,
    Is it possible to import one XSD into another XSD. I want to have all the elements like odsCadEvent, odsCadAgency, odsCadUnit defined in separate XSD and imported into the master.xsd. This way I don't have the data defintions in the master.xsd
    My sample XSD let's say (master.xsd) is big and will grow further.
    <xs:schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/ortdOdsCadEvent" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/ortdOdsCadEvent"
    elementFormDefault="qualified" attributeFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="odsCad" type="odsCadCollection"/>
    <xs:complexType name="odsCadCollection">
    <xs:choice>
    <xs:element name="odsCadEvent" type="odsCadEvent" minOccurs="0" maxOccurs="1"/>
    <xs:element name="odsCadAgency" type="odsCadAgency" minOccurs="0" maxOccurs="1"/>
    <xs:element name="odsCadUnit" type="odsCadUnit" minOccurs="0" maxOccurs="1"/>
    </xs:choice>
    </xs:complexType>
    <xs:complexType name="odsCadEvent">
    <xs:sequence>
    <xs:element name="datasetname" minOccurs="1" maxOccurs="1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="32"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="messagesequence" type="xs:decimal" minOccurs="1" maxOccurs="1"/>
    <xs:element name="eventid" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="eventrevisionno" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="createdatetimestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="callsourceofevent" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="8"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="callername" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="50"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="streetaddresscaller" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="80"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="currentrecord" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventappartmentno" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="14"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventareaoflocation" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="40"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventcommonplacename" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="80"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventdirectionalprefix" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventdirectionalsuffix" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventstreetname" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="240"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventstreettype" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventsuburb" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="40"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventstreetno" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="11"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="locationcomment" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="locationinterestsearch" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="patientname" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="45"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="updatedatatimestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="xcordofevent" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="crossstreetname1" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="60"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="crossstreetname2" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="60"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ycordofevent" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="directorymelway" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="11"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="directoryvicroads" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="11"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="communicationdifficulty" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="20"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="destcommonplacename" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="80"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="callerphonenumber" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="25"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="autokey" type="xs:decimal" minOccurs="0" nillable="true"/>
    <xs:element name="transstartdatetime" type="xs:dateTime" minOccurs="0" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="odsCadAgency">
    <xs:sequence>
    <xs:element name="datasetname" minOccurs="1" maxOccurs="1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="32"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="messagesequence" type="xs:decimal" minOccurs="1" maxOccurs="1"/>
    <xs:element name="eventid" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="eventrevisionno" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="agencyeventnumber" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="12"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="agencyeventnumberrevision" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="agencyid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="9"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="createdatetimestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="alarmlevelofevent" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="datetimefirstunitarrived" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="numberunitonevent" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="currentrecord" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="scheduleeventdestinationeid" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="dispatchgroup" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="5"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="dispatchedtimestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="eventstatus" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="datetimestampheldagreedrespons" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="heldeventtypecode" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="heldunitid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="10"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="polygonareacode2" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="6"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="polygonareacode3" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="7"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="polygonareacode4" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="5"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="polygonareacode5" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="5"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="openandcurrent" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="datetimestamppendingevent" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="employeeidprimmember" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="primaryunitid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="10"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="priority" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="datetimestampstatuschange" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="datetimestampeventcreated" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="datetimestamptransportarrived" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="datetimestamptransport" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="updatedatatimestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="datetimestampclose" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="terminalwhocloseevent" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="15"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="reopened" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventcodesubcode" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="16"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventcode" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="16"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventcodedescription" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="80"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="timeeventaddedtosystem" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="16"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="autokey" type="xs:decimal" minOccurs="0" nillable="true"/>
    <xs:element name="transstartdatetime" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="psychCategory" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="psychUrgency" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="beginDataEntry" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="eventCreationTime" type="xs:dateTime" minOccurs="0" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="odsCadUnit">
    <xs:sequence>
    <xs:element name="datasetname" minOccurs="1" maxOccurs="1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="32"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="messagesequence" type="xs:decimal" minOccurs="1" maxOccurs="1"/>
    <xs:element name="eventid" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="eventrevisionno" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="agencyeventnumber" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="12"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="agencyeventnumberrevision" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="agencyid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="9"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="unitid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="10"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="carid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="6"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="unitstatus" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="createdatetimestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="dispatchgroup" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="5"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="xcordlastposition" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="ycordlastposition" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="location" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="240"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="mdtunitid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="24"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventcodesubcode" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="16"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventcode" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="16"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="unithistorycomment" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="200"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="datetimeupdatestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="autokey" type="xs:decimal" minOccurs="0" nillable="true"/>
    <xs:element name="transstartdatetime" type="xs:dateTime" minOccurs="0" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    Thanks

    It is possible. I have used import in wsdl for clean definition. The same should apply to XSD also.
    http://www.xfront.com/HideVersusExpose.html should be helpful in understanding the design aspects.
    Eg.
    <wsdl:definitions name="testAdapter" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/JCADBTest/Project1/testAdapter" xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/JCADBTest/Project1/testAdapter" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/testAdapter">
    <plt:partnerLinkType name="testAdapter_plt">
    <plt:role name="testAdapter_role">
    <plt:portType name="tns:testAdapter_ptt"/>
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/testAdapter" schemaLocation="xsd/testAdapter_table.xsd"/>
    </schema>
    </wsdl:types>
    Manoj
    Edited by: Manoj Neelapu on Apr 16, 2010 8:32 AM

  • "Connection Interruped" frequently while importing xsd into External Defini

    Hi All,
      Whenever I try to create a new External Definition and try to import an XSD into it from my local system or share drive the connection gets interrupted. Afterthat even I provide right credentials I am not able to log into the server successfully.
    I am able to successfully create other objects but only when I am importing an XSD into External Definition I am getting this issue.
    If anyone came across similar situation earlier and were able to overcome this please let me know how to handle this situation.
    Thanks in advance.
    Regards,
    Sarat

    Hi Sarat,
    Are you getting any error message ? If so what is the error message?
    This is weird one which I never heard.
    Check SAP Note: 1255351
    Thanks,

  • XSD to MDS

    Hello
    We are using latest SOA suite PS3
    We have directory that has bunch of XSD our BPEL processes refer to. We want to put / migrate these XSD into MDS. So that all processes would refer the XSD from that MDS location.
    Can anyone point me to how this directory can be migrated to MDS ? and then how BPEL process can refer to these MDS stored XSD ?
    Does these XSD get stored in MDS table ?
    Thx,
    DD

    http://blogs.oracle.com/soabpm/2009/07/reusing_common_metadata_wsdl_x.html
    http://biemond.blogspot.com/2009/07/using-shared-object-in-soa-suite-11g.html
    http://biemond.blogspot.com/2009/11/soa-suite-11g-mds-deploy-and-removal.html
    maybe these will help you
    in the wsdl you can do an import from an oramds location instead of a http:// location, like that you can retrieve the resources from the mds repository

  • Reg: Cannot Importing B2mml XSD's successfully into PI External defnitions

    Hi! PI Team,
    I would like to know one interesting topic about B2MML structures. Here as per my requirement we are trying to integrate MES application with ECC by means of PI 7.1. For that I received List of XSD's with B2MML Strucutures.  on ECC side we are going for control reciepe for Process Order. and IDOC for Material Master.
    ISSUE::
    Even though as per my knowledge we cannot import successfully those b2mml xsd's into PI successfully I tried Since I received XSD's at MES appliction side I tried to import those XSD's into PI External Defnition
    I tried actually importing Materialdefinition xsd but I got an error instead of fields for each and every field I am getting that
    <b> Material Definition and as a type as APLLICATION error instead of xsd:: string or  something else.
    Can any one help me  out regarding this and how to import those structures succesfully and also let me know or provide the links if you are having XI scenarios for MES and ECC integration
    Note::</b>  I already gone through few B2mml links but i didn;t found any ans in those.
    Regards::
    Amar Srinivas Eli
    Edited by: Amar Srinivas Eli on Aug 30, 2009 12:52 AM

    Hi!
    Thanks for your immediate reponse but these are not the right one because I zip file which I received from the client contains nearly lots of XSD's but which when I am imporing into PI I getting in this form
    I am getting for field names Instead of Field Names as MAterial Definition and type as Applciation some thing..
    Pelase let me know whether I need to change my XSD or not ? If yes How to change ? or else plse gudie  me in a right way ?
    Regards:
    Amar Srinivas Eli

  • MDS - How to import File type attribute into MDS entity

    Hello,
    Is there a way to import File type (*.jpeg) attribute into MDS entity without accessing mdm.tblFile directly?
    Thank you,
    Mila

    The only supported way is WebUI or WCF API.
    If you are looking for import file in TSQL, there is no supported way.
    There are udpFileSave and udpFileGet can be used to access tblFile table. But after it, it is still difficult to set the file id into member file attribute.

  • Import existing XSD's into Jdev to generate WSDL

    Is there a way to import XSD's into an existing project in JDeveloper, so I can use them to generate an WSDL.
    The only option I see now, is to create an empty xsd an copy/paste the content of the already existing xsd into the project.
    My fealing says there must be a more elegant way to do this.
    Regards,
    Stefan

    Chris,
    Thanks for the quick answer. sorry for the late response...
    Had to look close, because in step , you have the option to import Java Content, where I wanted to import xml. The header 'Java content' is misleading, I found out.
    Anyway, thanks and congratulations on the birth of your daughter Jessica.
    Stefan

  • Issue using XSD from MDS

    Hi
    I am having issue when using XSD from MDS. ( AIA 11G)
    I have created MDS connection and tested it and it workds. Through SOA Browser -> Resource Pallet I am able to brouse XSD also. After selecting XSD when i import , I get below mentioned error
    Exception: oracle.mds.exception.MDSException: MDS-02501: cannot load the ORAMDS URL "oramds:/apps/AIAMetaData/AIAComponents/EnterpriseObjectLibrary/Industry/HealthSciences/EBO/SupplierParty/V1/SupplierPartyEBO.xsd" because MDS session could not be created or resolved
    MDS-01330: unable to load MDS configuration document
    MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_2" is invalid.
    MDS-00918: Connection details for the MDS repository are incomplete. The values for "userName, password, jdbcURL" are invalid
    Is there something i am missing?
    Bikash

    i run into the same issue a lot and it seems that everytime i modify the composite or the bpel, somehow all the userid, password, and jdbc-url properties are removed from the adf-config file. i always have to restore to a previous version from history. i have no idea what causes jdeveloper to remove these tags and haven't yet found a remedy for this problem.

  • I'm getting a 'The Management Pack element is not declared' error when trying to import CSV data into my *extended* WindowsComputer class

    Background:
    I have a class called SUS_WindowsComputerMP, that is an extension of the Microsoft class, Microsoft.Windows.Computer
    I'm trying to import CSV data into this extended class and to the base class as well.
    Question:
    What am I doing wrong? I have a feeling that the Import CSV Format file is different for importing data into *extended* classes like mine, because the XML structure below would work for non-extended classes.
    "...Creating new CSVImporter
    Data Filename: D:\Peter\CMDB II\Exported MPs\TestMPs\SUS_WindowsComputer.csv
    Format Filename: D:\Peter\CMDB II\Exported MPs\SUS_WindowsComputerMP.xml
    Validating against XSD schema...
    The 'ManagementPack' element is not declared.
    Validation completed.
    Format file D:\Peter\CMDB II\Exported MPs\SUS_WindowsComputerMP.xml contains an invalid root element. Expected: root node with name \"CSVImportFormat\"
    Could not initialize a Management Object Creator from format file D:\Peter\CMDB II\Exported MPs\SUS_WindowsComputerMP.xml. Import thread exiting.
    My import format XML is this:
    <CSVImportFormat>
    <Class Type="ClassExtension_a3ae3e0f_d578_43dc_aa3e_9037a094763c" >
    <Property ID="WindowsServerID" />
    <Property ID="PrincipalName" />
    <Property ID="NetbiosComputerName" />
    <Property ID="IPAddress" />
    <Property ID="NetbiosDomainName" />
    <Property ID="DNSName" />
    <Property ID="OSVersionDisplayName" />
    <Property ID="SerialNo" />
    <Property ID="ServerDescription" />
    <Property ID="AssetTagNo" />
    <Property ID="ServerNameRow" />
    <Property ID="ChassisType" />
    <Property ID="InstallDate" />
    <Property ID="IsVirtualMachine" />
    <Property ID="BusinessUnitCustomersEnum" />
    <Property ID="RegionLocationEnum" />
    <Property ID="OtherFunctionRoleEnum" />
    <Property ID="ProductTypeEnum" />
    <Property ID="ObjectStatus" />
    <Property ID="AssetStatus" />
    <Property ID="CriticalityEnum" />
    <Property ID="EnvironmentEnum" />
    <Property ID="CostCodeClassEnum" />
    <Property ID="DataClassificationEnum" />
    <Property ID="Manufacturer" />
    </Class>
    </CSVImportFormat>

    Hello,
    Can anyone please help me out with this weird issue.
    thanks,
    orton

  • Import XML file into xml DB

    I have the data into the xml files. To store these data, I thinked to create a XML DB.
    I created a new schema, through the 'create schema' function.
    I obtained a table for any element found into .xsd file.
    I don't see the relations for these tables.
    I thinked to import the data into this xml db from xml files.
    How must I do?
    It's possible to store the data with their relations?
    Thanks in advance
    Lucia

    I have the data into the xml files. To store these data, I thinked to create a XML DB.
    I created a new schema, through the 'create schema' function.
    I obtained a table for any element found into .xsd file.
    I don't see the relations for these tables.
    I thinked to import the data into this xml db from xml files.
    How must I do?
    It's possible to store the data with their relations?
    Thanks in advance
    Lucia

  • Importing converted dtd into XI

    I am unable to import the following converted dtd into XI. Can someone assist?
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!W3C Schema generated by XMLSpy v2006 rel. 3 sp1 (http://www.altova.com)>
    <!Please add namespace attributes, a targetNamespace attribute and import elements according to your requirements>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
         <xs:element name="LoadTenderMotor">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="Header"/>
                        <xs:element ref="LoadTenderMotorBody"/>
                   </xs:sequence>
                   <xs:attribute name="Version" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="2.0.2"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="Header">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="ThisDocumentIdentifier"/>
                        <xs:element ref="ThisDocumentDateTime"/>
                        <xs:element ref="RequestingDocumentIdentifier" minOccurs="0"/>
                        <xs:element ref="RequestingDocumentDateTime" minOccurs="0"/>
                        <xs:element ref="From"/>
                        <xs:element ref="To"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="LoadTenderMotorBody">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="LoadTenderMotorProperties"/>
                        <xs:element ref="LoadTenderMotorPartners"/>
                        <xs:element ref="LoadTenderMotorDetails"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ThisDocumentIdentifier">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DocumentIdentifier"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ThisDocumentDateTime">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DateTime"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="RequestingDocumentIdentifier">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DocumentIdentifier"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="RequestingDocumentDateTime">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DateTime"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="From">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="PartnerInformation"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="To">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="PartnerInformation"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="LoadTenderMotorProperties">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="LoadTenderNumber"/>
                        <xs:element ref="LoadTenderDateTime"/>
                        <xs:element ref="ShipmentMethodofPaymentCode"/>
                        <xs:element ref="TransportMethodCode"/>
                        <xs:element ref="LoadTenderStatus"/>
                        <xs:element ref="LanguageCode" minOccurs="0"/>
                        <xs:element ref="CurrencyCode" minOccurs="0"/>
                        <xs:element ref="MarketPlaceInformation" minOccurs="0"/>
                        <xs:element ref="ReferenceInformation" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="SpecialInstructions" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="ShipmentTerms"/>
                        <xs:element ref="RespondByDateTime" minOccurs="0"/>
                        <xs:element ref="CustomsInformation" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="RequestedDocument" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="LoadTenderMotorPartners">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="Shipper" minOccurs="0"/>
                        <xs:element ref="Consignee" minOccurs="0"/>
                        <xs:element ref="ShipFrom"/>
                        <xs:element ref="Carrier" minOccurs="0"/>
                        <xs:element ref="ShipTo"/>
                        <xs:element ref="OtherPartner" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="LoadTenderMotorDetails">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="EquipmentDetails" maxOccurs="unbounded"/>
                        <xs:element ref="LoadTenderMotorLineItem" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="DocumentIdentifier">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="DateTime">
              <xs:complexType mixed="true">
                   <xs:attribute name="DateTimeQualifier" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="On"/>
                                  <xs:enumeration value="After"/>
                                  <xs:enumeration value="Before"/>
                                  <xs:enumeration value="OnOrAfter"/>
                                  <xs:enumeration value="OnOrBefore"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="PartnerInformation">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="PartnerName" maxOccurs="unbounded"/>
                        <xs:element ref="PartnerIdentifier"/>
                        <xs:element ref="ContactInformation" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="AddressInformation" minOccurs="0"/>
                        <xs:element ref="TaxInformation" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="URL" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="LoadTenderNumber">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DocumentIdentifier"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="LoadTenderDateTime">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DateTime"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ShipmentMethodofPaymentCode">
              <xs:complexType mixed="true">
                   <xs:attribute name="Domain" use="required" type="xs:anySimpleType"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="TransportMethodCode">
              <xs:complexType mixed="true">
                   <xs:attribute name="Domain" use="required" type="xs:anySimpleType"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="LoadTenderStatus">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="LanguageCode">
              <xs:complexType mixed="true">
                   <xs:attribute name="Domain" use="required" type="xs:anySimpleType"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="CurrencyCode">
              <xs:complexType mixed="true">
                   <xs:attribute name="Domain" use="required" type="xs:anySimpleType"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="MarketPlaceInformation">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="MarketPlaceIdentifier"/>
                        <xs:element ref="MarketPlaceDocumentReference"/>
                        <xs:element ref="MarketPlaceSellerIdentifier"/>
                        <xs:element ref="MarketPlaceBuyerIdentifier"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ReferenceInformation">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DocumentReference"/>
                   </xs:sequence>
                   <xs:attribute name="ReferenceType" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="VehicleID"/>
                                  <xs:enumeration value="SalesOrderReference"/>
                                  <xs:enumeration value="EngineeringChangeOrderNumber"/>
                                  <xs:enumeration value="DeliveryNote"/>
                                  <xs:enumeration value="PurchaseOrderNumber"/>
                                  <xs:enumeration value="ShipmentIdentifier"/>
                                  <xs:enumeration value="ContractNumber"/>
                                  <xs:enumeration value="LoadPlanningNumber"/>
                                  <xs:enumeration value="SupplierARNumber"/>
                                  <xs:enumeration value="EndCustomerPONumber"/>
                                  <xs:enumeration value="ShipmentNumber"/>
                                  <xs:enumeration value="BollaDiConsegna"/>
                                  <xs:enumeration value="ShipperPONumber"/>
                                  <xs:enumeration value="CustomerOrderNumber"/>
                                  <xs:enumeration value="RequestForQuoteNumber"/>
                                  <xs:enumeration value="LoadTenderNumber"/>
                                  <xs:enumeration value="CustomerMasterRecordNumber"/>
                                  <xs:enumeration value="BookingNumber"/>
                                  <xs:enumeration value="WaybillNumber"/>
                                  <xs:enumeration value="LineItemNumber"/>
                                  <xs:enumeration value="LetterOfCredit"/>
                                  <xs:enumeration value="PickUpNumber"/>
                                  <xs:enumeration value="CarrierReferenceNumber"/>
                                  <xs:enumeration value="PRONumber"/>
                                  <xs:enumeration value="SellersInvoiceNumber"/>
                                  <xs:enumeration value="SupplierOrderNumber"/>
                                  <xs:enumeration value="Counter"/>
                                  <xs:enumeration value="AppointmentNumber"/>
                                  <xs:enumeration value="Authorization"/>
                                  <xs:enumeration value="RequisitionNumber"/>
                                  <xs:enumeration value="ReleaseNumber"/>
                                  <xs:enumeration value="ChangeSequenceNumber"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="SpecialInstructions">
              <xs:complexType mixed="true">
                   <xs:attribute name="InstructionType" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="EmptyReturnInstructions"/>
                                  <xs:enumeration value="InvoiceInstructions"/>
                                  <xs:enumeration value="PostingInstructions"/>
                                  <xs:enumeration value="ShipperInstructions"/>
                                  <xs:enumeration value="ShortLeadTime"/>
                                  <xs:enumeration value="RoutingInstructions"/>
                                  <xs:enumeration value="Tolerances"/>
                                  <xs:enumeration value="PaymentInstructions"/>
                                  <xs:enumeration value="AmountDescription"/>
                                  <xs:enumeration value="BollaDiConsegna"/>
                                  <xs:enumeration value="DriverInstructions"/>
                                  <xs:enumeration value="ImportInstructions"/>
                                  <xs:enumeration value="ConsigneeInstructions"/>
                                  <xs:enumeration value="CustomerRequiredInstructions"/>
                                  <xs:enumeration value="CertifiedInvoiceText"/>
                                  <xs:enumeration value="TrademarkInformation"/>
                                  <xs:enumeration value="CoAInstructions"/>
                                  <xs:enumeration value="InspectionInstructions"/>
                                  <xs:enumeration value="CustomerServiceInstructions"/>
                                  <xs:enumeration value="General"/>
                                  <xs:enumeration value="LoaderInstructions"/>
                                  <xs:enumeration value="CarrierInstructions"/>
                                  <xs:enumeration value="MarkingInstructions"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="ShipmentTerms">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="ShipmentTermsIdentifier"/>
                        <xs:element ref="ShipmentTermsLocation"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="RespondByDateTime">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DateTime"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="CustomsInformation">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="CountryOfOriginCode"/>
                        <xs:element ref="CountryOfFinalDestinationCode" minOccurs="0"/>
                        <xs:element ref="BondedWarehouseStatus" minOccurs="0"/>
                        <xs:element ref="BondedWarehouseRelease" minOccurs="0"/>
                        <xs:element ref="DutyDrawback" minOccurs="0"/>
                        <xs:element ref="USGoodsReturned" minOccurs="0"/>
                        <xs:element ref="TransportInBond" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="RequestedDocument">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="RequestedDocumentTypeCode"/>
                        <xs:element ref="DocumentRecipientInformation" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Shipper">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="PartnerInformation"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Consignee">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="PartnerInformation"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ShipFrom">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="PartnerInformation"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Carrier">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="PartnerInformation"/>
                        <xs:element ref="StandardCarrierAlphaCode" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ShipTo">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="PartnerInformation"/>
                        <xs:element ref="UnloadingPoint" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="OtherPartner">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="PartnerInformation"/>
                   </xs:sequence>
                   <xs:attribute name="PartnerRole" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="AlternateCarrier"/>
                                  <xs:enumeration value="Shipper"/>
                                  <xs:enumeration value="Bank"/>
                                  <xs:enumeration value="CustomsBroker"/>
                                  <xs:enumeration value="FreightForwarder"/>
                                  <xs:enumeration value="NotifyParty"/>
                                  <xs:enumeration value="LetterOfCreditBank"/>
                                  <xs:enumeration value="Sender"/>
                                  <xs:enumeration value="Manufacturer"/>
                                  <xs:enumeration value="ShipTo"/>
                                  <xs:enumeration value="Payer"/>
                                  <xs:enumeration value="Seller"/>
                                  <xs:enumeration value="Surveyor"/>
                                  <xs:enumeration value="Marketplace"/>
                                  <xs:enumeration value="CareOfParty"/>
                                  <xs:enumeration value="Supplier"/>
                                  <xs:enumeration value="Inspection"/>
                                  <xs:enumeration value="ShipFrom"/>
                                  <xs:enumeration value="ThirdPartyLogistics"/>
                                  <xs:enumeration value="AdditionalCarrier"/>
                                  <xs:enumeration value="TransportationBroker"/>
                                  <xs:enumeration value="Consignee"/>
                                  <xs:enumeration value="CommodityBroker"/>
                                  <xs:enumeration value="Scales"/>
                                  <xs:enumeration value="Receiver"/>
                                  <xs:enumeration value="BillToParty"/>
                                  <xs:enumeration value="Buyer"/>
                                  <xs:enumeration value="BeneficialOwner"/>
                                  <xs:enumeration value="UltimateConsignee"/>
                                  <xs:enumeration value="AgencyOrDealer"/>
                                  <xs:enumeration value="FinancialInstitution"/>
                                  <xs:enumeration value="SoldTo"/>
                                  <xs:enumeration value="Carrier"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="EquipmentDetails">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="LineNumber"/>
                        <xs:element ref="ProductLineItemLineNumber" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="EquipmentIdentifier" minOccurs="0"/>
                        <xs:element ref="CarrierEquipmentCode" minOccurs="0"/>
                        <xs:element ref="EquipmentOwnershipCode" minOccurs="0"/>
                        <xs:element ref="NumberOfUnits" minOccurs="0"/>
                        <xs:element ref="SpecialInstructions" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Height" minOccurs="0"/>
                        <xs:element ref="Width" minOccurs="0"/>
                        <xs:element ref="Length" minOccurs="0"/>
                        <xs:element ref="NetWeight" minOccurs="0"/>
                        <xs:element ref="TareWeight" minOccurs="0"/>
                        <xs:element ref="GrossWeight" minOccurs="0"/>
                        <xs:element ref="NetVolume" minOccurs="0"/>
                        <xs:element ref="GrossVolume" minOccurs="0"/>
                        <xs:element ref="SealNumber" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="EquipmentLoadEmptyStatus" minOccurs="0"/>
                        <xs:element ref="AssociatedEquipment" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="LoadTenderMotorLineItem">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="LineNumber"/>
                        <xs:element ref="EquipmentDetailsLineNumber" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="LadingIdentification" minOccurs="0"/>
                        <xs:element ref="ProductIdentification" minOccurs="0"/>
                        <xs:element ref="PercentActive" minOccurs="0"/>
                        <xs:element ref="ReferenceInformation" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="TransportTemperature" minOccurs="0"/>
                        <xs:element ref="ProductQuantity"/>
                        <xs:element ref="NumberPackagingUnits" minOccurs="0"/>
                        <xs:element ref="VolumetricInformation" minOccurs="0"/>
                        <xs:element ref="GrossVolume" minOccurs="0"/>
                        <xs:element ref="NetVolume" minOccurs="0"/>
                        <xs:element ref="NetWeight" minOccurs="0"/>
                        <xs:element ref="GrossWeight" minOccurs="0"/>
                        <xs:element ref="CountryOfOriginCode" minOccurs="0"/>
                        <xs:element ref="CustomsInformation" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="RequestedDeliveryDateTime"/>
                        <xs:element ref="RequestedPickupDateTime" minOccurs="0"/>
                        <xs:element ref="ControlledTemperature" minOccurs="0"/>
                        <xs:element ref="ProductLabel" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="QuoteIdentifier"/>
                        <xs:element ref="ShipmentTerms" minOccurs="0"/>
                        <xs:element ref="ShipFrom" minOccurs="0"/>
                        <xs:element ref="ShipTo" minOccurs="0"/>
                        <xs:element ref="HazardousGoods" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="PartnerName">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="PartnerIdentifier">
              <xs:complexType mixed="true">
                   <xs:attribute name="Agency" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="AssignedBySupplier"/>
                                  <xs:enumeration value="AssignedByBuyer"/>
                                  <xs:enumeration value="D-U-N-S"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="ContactInformation">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="ContactName" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="ContactDescription" minOccurs="0"/>
                        <xs:choice maxOccurs="unbounded">
                             <xs:element ref="TelephoneNumber"/>
                             <xs:element ref="FaxNumber"/>
                             <xs:element ref="EmailAddress"/>
                             <xs:element ref="AlternativeCommunicationMethod"/>
                        </xs:choice>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="AddressInformation">
              <xs:complexType>
                   <xs:sequence>
                        <xs:choice>
                             <xs:element ref="AddressLine" maxOccurs="unbounded"/>
                             <xs:element ref="PostBoxNumber"/>
                        </xs:choice>
                        <xs:element ref="CityName"/>
                        <xs:element ref="StateOrProvince" minOccurs="0"/>
                        <xs:element ref="PostalCode" minOccurs="0"/>
                        <xs:element ref="PostalCountry"/>
                        <xs:element ref="LocationCode" minOccurs="0"/>
                        <xs:element ref="Comment" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="TaxInformation">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="TaxIdentifierNumber"/>
                        <xs:element ref="Jurisdiction" minOccurs="0"/>
                        <xs:element ref="TaxCertificateType" minOccurs="0"/>
                        <xs:element ref="TaxCertificateNumber" minOccurs="0"/>
                        <xs:element ref="TaxBasis" minOccurs="0"/>
                        <xs:element ref="TaxRate" minOccurs="0"/>
                        <xs:element ref="EffectiveDates" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="URL">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="MarketPlaceIdentifier">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="MarketPlaceDocumentReference">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DocumentReference"/>
                   </xs:sequence>
                   <xs:attribute name="ReferenceType" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="SalesOrderReference"/>
                                  <xs:enumeration value="DeliveryNote"/>
                                  <xs:enumeration value="PurchaseOrderNumber"/>
                                  <xs:enumeration value="ShipmentIdentifier"/>
                                  <xs:enumeration value="ContractNumber"/>
                                  <xs:enumeration value="LoadPlanningNumber"/>
                                  <xs:enumeration value="CustomerOrderNumber"/>
                                  <xs:enumeration value="RequestForQuoteNumber"/>
                                  <xs:enumeration value="LoadTenderNumber"/>
                                  <xs:enumeration value="CustomerMasterRecordNumber"/>
                                  <xs:enumeration value="BookingNumber"/>
                                  <xs:enumeration value="WaybillNumber"/>
                                  <xs:enumeration value="LineItemNumber"/>
                                  <xs:enumeration value="LetterOfCredit"/>
                                  <xs:enumeration value="PickUpNumber"/>
                                  <xs:enumeration value="CarrierReferenceNumber"/>
                                  <xs:enumeration value="PRONumber"/>
                                  <xs:enumeration value="SellersInvoiceNumber"/>
                                  <xs:enumeration value="AppointmentNumber"/>
                                  <xs:enumeration value="Authorization"/>
                                  <xs:enumeration value="RequisitionNumber"/>
                                  <xs:enumeration value="ReleaseNumber"/>
                                  <xs:enumeration value="ChangeSequenceNumber"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="MarketPlaceSellerIdentifier">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="MarketPlaceBuyerIdentifier">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="DocumentReference">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DocumentIdentifier"/>
                        <xs:element ref="DateTime" minOccurs="0"/>
                        <xs:element ref="ReferenceItem" minOccurs="0"/>
                        <xs:element ref="ReleaseNumber" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ShipmentTermsIdentifier">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="ShipmentTermsLocation">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="CountryOfOriginCode">
              <xs:complexType mixed="true">
                   <xs:attribute name="Domain" use="required" type="xs:anySimpleType"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="CountryOfFinalDestinationCode">
              <xs:complexType mixed="true">
                   <xs:attribute name="Domain" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="3166ISO"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="BondedWarehouseStatus">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="BondedWarehouseRelease">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="DutyDrawback">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="USGoodsReturned">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="TransportInBond">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="RequestedDocumentTypeCode">
              <xs:complexType mixed="true">
                   <xs:attribute name="Domain" use="required" type="xs:anySimpleType"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="DocumentRecipientInformation">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DocumentRecipientPartner"/>
                        <xs:element ref="DocumentDeliveryMethod" minOccurs="0"/>
                        <xs:element ref="LanguageCode" minOccurs="0"/>
                        <xs:element ref="NumberOfOriginals" minOccurs="0"/>
                        <xs:element ref="NumberOfCopies" minOccurs="0"/>
                   </xs:sequence>
                   <xs:attribute name="DeliveryMethodQualifier" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="Mail"/>
                                  <xs:enumeration value="Email"/>
                                  <xs:enumeration value="Telex"/>
                                  <xs:enumeration value="Fax"/>
                                  <xs:enumeration value="Print"/>
                                  <xs:enumeration value="WithDriver"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="StandardCarrierAlphaCode">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="UnloadingPoint">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="LineNumber">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="ProductLineItemLineNumber">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="EquipmentIdentifier">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="CarrierEquipmentCode">
              <xs:complexType mixed="true">
                   <xs:attribute name="Domain" use="required" type="xs:anySimpleType"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="EquipmentOwnershipCode">
              <xs:complexType mixed="true">
                   <xs:attribute name="Domain" use="required" type="xs:anySimpleType"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="NumberOfUnits">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="SpecifiedMeasurement"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Height">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="MeasurementInformation"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Width">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="MeasurementInformation"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Length">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="MeasurementInformation"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="NetWeight">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="SpecifiedMeasurement"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="TareWeight">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="SpecifiedMeasurement"/>
                   </xs:sequence>
                   <xs:attribute name="TareWeightQualifierCode">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="Marked"/>
                                  <xs:enumeration value="Actual"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="GrossWeight">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="SpecifiedMeasurement"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="NetVolume">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="SpecifiedMeasurement"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="GrossVolume">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="SpecifiedMeasurement"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="SealNumber">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="EquipmentLoadEmptyStatus">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="AssociatedEquipment">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="EquipmentIdentifier"/>
                        <xs:element ref="NumberOfUnits" minOccurs="0"/>
                        <xs:element ref="MeasurementInformation"/>
                        <xs:element ref="SpecialInstructions" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="EquipmentDetailsLineNumber">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="LadingIdentification">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="LadingDescription"/>
                        <xs:element ref="LadingIdentifier"/>
                   </xs:sequence>
                   <xs:attribute name="Agency">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="GlobalMaterialIdentifier"/>
                                  <xs:enumeration value="HarmonizedSystemBasedSchedule"/>
                                  <xs:enumeration value="EAN"/>
                                  <xs:enumeration value="ShipperDefined"/>
                                  <xs:enumeration value="ODETTE"/>
                                  <xs:enumeration value="NMFC"/>
                                  <xs:enumeration value="ScheduleB"/>
                                  <xs:enumeration value="STCC"/>
                                  <xs:enumeration value="UN-NA"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="ProductIdentification">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="ProductIdentifier"/>
                        <xs:element ref="ProductName" minOccurs="0"/>
                        <xs:element ref="ProductDescription" minOccurs="0"/>
                        <xs:element ref="ProductGradeDescription" minOccurs="0"/>
                        <xs:element ref="ProductClassification" minOccurs="0"/>
                   </xs:sequence>
                   <xs:attribute name="Agency" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="AssignedBySeller"/>
                                  <xs:enumeration value="ISO"/>
                                  <xs:enumeration value="ANSI"/>
                                  <xs:enumeration value="EAN"/>
                                  <xs:enumeration value="Other"/>
                                  <xs:enumeration value="EDIFACT"/>
                                  <xs:enumeration value="AssignedByBuyer"/>
                                  <xs:enumeration value="GBABA"/>
                                  <xs:enumeration value="AssignedByManufacturer"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="PercentActive">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="TransportTemperature">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="MeasurementInformation"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ProductQuantity">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="Measurement"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="NumberPackagingUnits">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="VolumetricInformation">
              <xs:complexType>
                   <xs:choice>
                        <xs:element ref="Density"/>
                        <xs:element ref="SpecificGravity"/>
                   </xs:choice>
              </xs:complexType>
         </xs:element>
         <xs:element name="RequestedDeliveryDateTime">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DateTimeInformation"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="RequestedPickupDateTime">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DateTimeInformation"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ControlledTemperature">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="SpecifiedMeasurement"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ProductLabel">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="QuoteIdentifier">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="HazardousGoods">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="HazardousShipment"/>
                        <xs:element ref="HazardousInfor

    This file is an XSD and not a DTD, and I was able to load it as XSD into the Message Mapping Tool.
    At the question:
    <i>"Imported scheme has multiple global elements. Select the global element to be used in the source or target message"</i>
    I choosed "LoadTenderMotorBody"
    Hope this helps.
    Regards,
    Sandro

Maybe you are looking for

  • Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'

    I'm using the pre-installed versions of php and mysql under Mac OS X Server 10.4.4 running on a G4 and am unable to get anything involving mysql to work. I ssh to the server and enter various commands in Terminal: on typing "mysql" I get ERROR 2002 (

  • Why does is say purchaseable items too big for download every time I try to download an app?

    Every time I try to download a game or app my iPhone says error message purchasable items too big for download. I even changed my billon information. Anyone know what the problem might be?

  • Can't Download Itunes into Windows XP

    I had an older version of Itunes on my computer which would not update. Message " server not found". Uninstalled Itunes, updated windows, cleaned registry, optimized disk, turned off firewall. Downloaded Itunes 7.7.???, now Itunes fails on the boot u

  • Mail not showing emails with attachments

    Mail doesn't show/download emails with pdf attachments, although I can see the emails and attachments on my iphone no problem. The whole email is missing, not just the attachment. Please help as this means I sometimes miss important emails, and well

  • How to stop ActionEvent for a button

    Hi, I have a button "Start". On clicking the button, it will ask with a prompt "You really want to start" with Yes and No button. On clicking Yes button, the "Start" button is changed to "Cancel Stat..." and start running a process. If want to stop t