Import cXml dtd

We downloaded cxml 1.2 dtd from cxml.org and tried to import into XI external def.  We imported cxml.dtd and received no errors.  When accessing from message mapping and Message Type we are unable to import/select cXml dtd structures/messages.
How do we import cXml dtd message into XI?
We have tried to convert to a .xsd file using Xml Spy and are experience namespace errors.

Hi Frank,
concerning namespaces the philosophies of DTD and XSD are not compatible (indeed the philosophy of DTD is not compatible with that of XML namespaces itself). As XI is completely XSD-based it is not able to deal with DTDs containing namespace information, although they are well-formed.
Other tools (like XMLSpy) may try to make a conversion anyway (on a somehow heuristic basis). The result of that maybe imported as External Definition, but sometimes it is necessary to make some adjustments to the XSD.
According other DTDs coming from cxml I cannot tell you, because I do not know. Anyway, the namespace information is an important information which cannot be left out. If the XML structure defined by cxml really uses xml namespaces, then DTDs are not a suitable way to describe this structure (as explained above). XML structures with namespaces should always be described using XSD.
Greetings Stephan

Similar Messages

  • How to convert cXML dtd files into xsd format and use them into BPEL application

    Hi,
    In my BPEL application I have to use cXML dtd files by converting them into xsd format.
    I have used 'Microsoft Visual Studio' for converting cXML.dtd file into xsd format, for this 1 dtd file I am getting three xsd files (cXML.xsd, cXML1.xsd and cXML2.xsd).
    Please check this once and let me know
    1. why I am getting three xsd files for one dtd file,
    2. how can I use cXML.xsd file in my application, do I ll have to use all the three files in my BPEL app and
    3. what should I include in main xsd file (cXML.xsd) to import other two xsd files.
    kindly check this once and let me know your suggestions .
    Thanks

    Hi,
    While downloading the cXML dtd there will be example xml files. Using this xml's we can generate xsd.
    Regards,
    KANN.

  • CXML DTD conversion

    Hi,
    I am trying to convert the cXML.dtd to cXML.xsd by using altova and have noticed that three xsd files are generated. It is happening for any .dtd file downloaded form cXML.org site.
    I can import all the three xsd into XI (under ED) and able to see the Message Names. But when i import them in MM, I notice only half message. for example - GetPendingRequest message type and the GetPendingRequest.xml file which comes with the download. both are different.
    The question i am facing are -
       why is that altova converting single .dtd to 3 *.xsd. ?
       Do we have to use all the three xsd's in our design?
       do we have to refer these xsd to each other in ED?
       in the mapping, do we have to take any extra precautions? or it is same as normal mapping?
      I am proposing a solution to the client that, we will deliver a cxml file (*.cxml) by using FTP adapter without any conversion.   Meaning, xml output of the mapping program will be deivered. is this good solution? will the customer will be able to read the file?
      kindly help me.
    Regards
    Azias

    Hello,
    But when i import them in MM, I notice only half message. for example - GetPendingRequest message type and the GetPendingRequest.xml file which comes with the download. both are different.
    You need to reference the xsds to each other in external definition.
    Do we have to use all the three xsd's in our design?
    Yes
    do we have to refer these xsd to each other in ED?
    Yes, you can refer xsds to one another by:
    1.) Opening the main xsd, then go to external references tab
    2.) Under the external references tab, there are two columns there, one is for the source and one is for the name. If there is an entry for source, click its corresponding name (even if it is blank).
    3.) Once the source is already highlighted by using step2, press ctrl+c (copy)
    4.) Import/open the xsd you want to be referenced. You will see a source field there, and the press ctrl+v (paste). Save and activate
    in the mapping, do we have to take any extra precautions? or it is same as normal mapping?
    Message mapping will be the same, but what is important is what message structure is required by business. You might as well consult with them as to what the final output is required.
    Hope this helps,
    Mark

  • Dynamically Download cXML.DTD in XI

    Hi -
    I have an IDOC->XI-cXML Scenario.
    Using cXML dtd from cxml.org i download the cXML DTD and the use it in XI through external definition and i will do the mapping.
    What happens is after some time say 2 months, cXML DTD is modified and a new version is released,  do i have to download the cXML DTD schema again and have to rework on the complete scenario?
    Let me know if there are any other way to do this.
    Thanks in advance.
    Kumar Pappu

    Hi Tirumal,
    You don't have to rework on the complete scenario.
    If you have to import the new version of CXML DTD or schema, you have to import the cXML DTD into External definitions of IR.
    In the message mapping replace old version cXML with the new version. Your mapping will not be affected. You have to do the mapping for any modified fields or newer fields that were not in the old  version.
    Rgds,
    Sam Raju

  • Importing XML DTD in 10.1.2.0.0

    Hi,
    We are attempting to import Common Data Types using DTD's and experiencing some strange behaviour.
    I have defined my DTD as detailed in the user guides.
    <!ELEMENT account (cust_account_id,account_number,attribute_category, etc ... )>
    <!ELEMENT cust_account_id (#PCDATA)>
    <!ELEMENT account_number (#PCDATA)>
    <!ELEMENT attribute_category (#PCDATA)>
    etc ...
    The import step appears to work fine and at the end of this process the CDT attributes appear as required and expected.
    If we close iStudio and reopen, then attempt to edit the CDT we encounter an issue as it appears that account belongs to account beloings to account and so on .... i.e. we seem to get into an infinite loop.
    Has anyone experienced/resolved this issue before?
    Thanks,
    Michael.

    I have identified a workaround.
    CDT -> New; Import XML - choose relevant dtd, e.g. account.dtd
    CDT created ... but type = account.
    Re-import account.dtd - get a second account in CDT - this time the type = account2.
    Delete first account entry. Then Save.
    The CDT is available for use - no recursive loop.
    This sill doesnt explain why we are unable to import successfully at first attempt however.

  • Error While Exporting cXML DTD

    Hi,
    I have downloaded latest version of cXML DTD and when I upload it to ESR throgh External Definitions with the option 'From the First ELEMENT', I get the folloing errors:
    "Error when parsing DTD document com.sap.aii.utilxi.dtd.api.DtdException: Entity "Method.ANY"  already declared".
    But when I validate this DTD with other XML tools, i found no errors.
    I am struck here... Can any one Help on this ??
    Regards,
    Sreedhar

    See if this helps
    /people/gabrielsagayaselvam.panneerselvam/blog/2009/02/27/handling-message-options-for-dtd-files-in-external-definition
    Regards,
    Prateek

  • Exception while importing waveset.dtd file in IDM

    Hi .
    I am trying to import waveset.dtd file in IDM am i got exception
    " An error occurred importing the file, although some of the file data may have been processed. ==> com.waveset.exception.XmlParseException: XML Error: 11:3: The markup in the document preceding the root element must be well-formed."
    actually i am trying to add Cc field for email template.

    I have never come across the scenario to import the DTD file?
    For email , you have to modify the template to incorporate the cc field

  • Error on importing OpenTrans dtd

    Hi,
    I have some difficulties importing a dtd of the german OpenTrans standard.
    The part which seems to be a problem is:
    <b>  <!ELEMENT ORDER (ORDER_HEADER , ORDER_ITEM_LIST , ORDER_SUMMARY)>
        <!ATTLIST ORDER
                         version  CDATA  #FIXED "1.0"
                         xmlns    CDATA  #FIXED 'http://www.opentrans.org/opentrans/1.0/opentrans_order'
                         type     (standard | express | release | consignment )  'standard' ></b>
    The error is:
    <b>The name "xmlns" is not correct!</b>
    How can I fix this without removing xmlns from the dtd?

    Hi,
    I have the same problem with the DTD. Did any one find the solution ?
    Myr problem is that our partner demands that the xml file has the <!-- DOCTYPE ORDER SYSTEM "openTRANS_ORDER_1_0.dtd" --> tag .
    So I see 2 solution.
    1) use the DTD
    2) Use XSD an some how insert this tag with xslt. I could not solved this properly !

  • Pbm while importing a DTD

    Hi
    I have a strange pbm..XI throws a NULL Exception while activating an external DTD.
    The DTD simply contains
    [code]
    <!ENTITY % SEGMENTS SYSTEM "oagis_segments.dtd">
    %SEGMENTS;
    <!ENTITY % EXTENSIONS SYSTEM "oagis_extensions.dtd">
    %EXTENSIONS;
    [/code]
    The Error thrown in processing log is
    Activation of the change list canceled Check result for External Definition resources | http://xxxx.xx/xi/acc_invoice_receipt03: Document check found errors  Cause: Unable to recognize the loaded document as valid DTD  Error when parsing DTD document com.sap.aii.utilxi.dtd.api.DtdException: Wrong declaration: " %EXTENSIONS;"
    [code]
    Details
    Internal problem occurred (INTERNAL_PROBLEM)
    MESSAGE ID: com.sap.aii.utilxi.swing.framework.rb_exceptions.INTERNAL_PROBLEM
    STACKTRACE:
    com.sap.aii.utilxi.swing.framework.FrameworkException: Internal problem occurred
        at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.init(ExceptionDialog.java:116)
        at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.<init>(ExceptionDialog.java:93)
        at com.sap.aii.utilxi.swing.toolkit.Guitilities.showExceptionDialog(Guitilities.java:1137)
        at com.sap.aii.utilxi.swing.toolkit.Guitilities.showExceptionDialog(Guitilities.java:1125)
        at com.sap.aii.utilxi.swing.framework.Application.notifyFrameworkListeners(Application.java:412)
        at com.sap.aii.ib.gui.operations.SubmitCommand.revertChangelist(SubmitCommand.java:385)
        at com.sap.aii.ib.gui.operations.SubmitCommand.doMoveAndSubmit(SubmitCommand.java:374)
        at com.sap.aii.ib.gui.operations.SubmitCommand.doSubmitSingleOject(SubmitCommand.java:311)
        at com.sap.aii.ib.gui.operations.SubmitCommand.execute(SubmitCommand.java:169)
        at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)
        at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)
        at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:69)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at com.sap.plaf.frog.FrogMenuItemUI$MenuDragMouseHandler.menuDragMouseReleased(FrogMenuItemUI.java:906)
        at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)
        at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)
        at javax.swing.JMenuItem.processMouseEvent(Unknown Source)
        at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)
        at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:835)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
    java.lang.NullPointerException
    STACKTRACE:
    java.lang.NullPointerException
        at com.sap.aii.ibrep.gui.interfaces.ExternalDefinitionController.genericFrameworkEvent(ExternalDefinitionController.java:92)
        at com.sap.aii.ib.gui.operations.SubmitCommand$3.notify(SubmitCommand.java:387)
        at com.sap.aii.utilxi.swing.framework.Application.notifyFrameworkListeners(Application.java:408)
        at com.sap.aii.ib.gui.operations.SubmitCommand.revertChangelist(SubmitCommand.java:385)
        at com.sap.aii.ib.gui.operations.SubmitCommand.doMoveAndSubmit(SubmitCommand.java:374)
        at com.sap.aii.ib.gui.operations.SubmitCommand.doSubmitSingleOject(SubmitCommand.java:311)
        at com.sap.aii.ib.gui.operations.SubmitCommand.execute(SubmitCommand.java:169)
        at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)
        at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)
        at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:69)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at com.sap.plaf.frog.FrogMenuItemUI$MenuDragMouseHandler.menuDragMouseReleased(FrogMenuItemUI.java:906)
        at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)
        at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)
        at javax.swing.JMenuItem.processMouseEvent(Unknown Source)
        at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)
        at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:835)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
    [/code]
    I have already imported and activated the reference DTDs mentioned..
    Any Clues!! Is this an XI bug??

    HI Stephan
    Thanks for the update on the SP.. I see quite a lot of issues with DTD imports..I have put one more query in another msg!!..
    I was wondering if SAP should provide a list of issues to look for in a DTD before importing so that we can readily validate every DTD against this WAtch for list!!

  • Data Integrator import XSD / DTD error

    Hi experts,
    Really need your help here!  I am trying to import an XSD or DTD schema into BODI.  I have both the XSD and DTD which I generated from the XML source file, using Altova XMLSpy.  BODI is allowing me to select the root element, but when I run the import, the memory usage on my PC against the BODI service goes to 1.5Gb, after which the following error is returned:
    Unknown error when importing metadata. (BODI-1112416)
    When I clear this error and try any other operations in the DI Designer I get out of memory errors and I have to close down the application and restart.  I am running a 4Gb RAM, Intel Core Duo, Windows 7 laptop.  I suspect the XSD / DTD structure is simply to large for BODI to parse.  The XSD and DTD is about 500Kb in size and contain over 16000 rows when viewed in a text editor!
    Any suggestions on how to process this XML in BODI will be greatly appreciated.
    Regards,
    Johann

    Hi,
    replace choice with sequence
    <b><xsd:complexType>
         <xsd:choice>
              <xsd:element name = “A” type=”xsd:string” />
              <xsd:element name= B” type=”xsd:string” maxOccurs=”unbounded” />
         </xsd:choice>
    </xsd:complexType></b>
    is handled identical to
    <b><xsd:complexType>
         <xsd:sequence>
              <xsd:element name = “A” type=”xsd:string” minOccurs=”0” />
              <xsd:element name= B” type=”xsd:string”
    minOccurs=”0” maxOccurs=”unbounded” />
         </xsd:sequence>
    </xsd:complexType></b>
    Regards
    Tarun Telang

  • Import XML/DTD files into iStudio

    I am having Spect Generator files with extension .ecs files
    I need to import these files into iStudio to create commonview. iStudio accepts either XML or DTD formats
    How can I convert these files to XML or DTD files without losing the Structure layout or EDI format ?
    Let me know ASAP.

    Hi,
    I don't know what ".ecs" files are, but it sounds that you may need to create / use D3L dtd's.
    Please look at
    Oracle Application Server InterConnect User’s Guide 10 g (9.0.4)
    Part No. B10404-01
    and especially Appendix B for more information.
    You can download it from
    http://download-east.oracle.com/docs/cd/B10465_01/integrate.904/b10404.pdf

  • 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

  • Cxml (DTD) map to IDOC

    Hi,
    I am new to PI , I am able to create IDOC and File based mappings. I was given a project that needs to get the customers PO send via https through webservice and create IDOCs. I just dont knwo where to start, any step by step procedures would be helpful.
    Thanks,

    Once your entire scenario is done you can provide http link to customer with the following details
    http://host:port/sap/xi/adapter_plain?(caution:Normally for outside we provide https link)
    where the query string should contain all the ddetails like sender business system name,sender interface and sender namespace with QualityofService required and user and password name details
    for this info you can do test via testMessagatab in runtime Workbench
    For time being correct DTD and implement mapping and activate them in ESB and do the necessary configurations
    Dont be panic i have given just a overview for you to proceed you can always post to forum where you are stuck with will get definitely help from this
    Rajesh
    Edited by: Rajesh on Feb 10, 2009 11:15 PM

  • CXML PO posting on HTTPS url

    Hi,
    My scenario is to post an cXML PO document on HTTPS url using XI.
    I tried to import cXML DTD (standard) in XI, but it is of no use, as Vendor wants a customize cXML message. My approach is to create an underline xml structure in XI and then using Adapter Module programing add the additional cXML tag to the XML structure.
    Also, the credentials are passed through Ariba Network.
    Please let me know, whether my approach is right? or do I need to ask my Client to go buy an adapter from Seeburger or iWay?
    Please advise.
    Regards,
    Amit

    Thanks Prateek,
    I will create a base xml structure in IR, as per the Vendor's xml structure (excluding tag for cXML) and then using adapter Module program, I will add additional tag of cXML. Will it work?
    MY xml structure is like this:
    <cXML payloadID="111122222333335556667678889999999999=" timestamp="2007-03-12T13:13:59-04:00" version="1.2.011" xml:lang="en-US">
      <Header>
    </Header>
    <Request>
    </Request>
    </cXML>
    Header & Request structure will be created in IR and then using adapter module program add a tag for cXML.
    Regards,
    Amit

  • How to add dtd tag into cXML xsd

    HI All,
    I have a requirement in which I have to use cXML and as all of you know that we cannot directly import the cXML.dtd into SAP so I have converted the dtd into xsd.
    User is sending the data in this format.
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'no'?>
    <!-- Oracle eXtensible Markup Language Gateway Server  -->
    <!DOCTYPE cXML SYSTEM "cXML.dtd">
    <cXML version="1.2.007" payloadID="2010-11-09-12-07-21.60004397:0:4724.249819289270901871044542787156965720568@" timestamp="2010-11-09T12:07:21+01:00" xml:lang="en">
    As you can see they are sending <!DOCTYPE cXML SYSTEM "cXML.dtd"> in the xml and because of this PI is unable to process the message and generate the following error.
    <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_mm_cXML_Order_to_IDOC_ORDERS02_SGS_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Failed to load resource from the context classloader of the current thread! Loading from classloade~</SAP:Stack>
    Can any body please tell me how to resolve this issue.
    Thanks,
    Iqbal

    Please check this link
    XML issue
    Error log on http request from business connector (BC)

Maybe you are looking for