Need EDIFACT "DESADV" XSD Schema

Hi,
I need to map ASN IDOC (DELVRY) from SAP to EDI transaction type "DESADV". I need to import XSD for DESADV for mapping.
Please help where I can find/download XSD schema for "DESADV".
Thank you for your help,
MK

Hi Mallick,
What i understand from your requirement is that you are working in IDOC to EDIFACT file scenario. Correct me if i am wrong?
I am assuming you are using Seeburger to achieve this
Well when you install seeburger for any EDIFACT scenario it will give you 3 standard files: 2 xml and 1 xsd.
what you have to do, import the .xsd file in your Integration repository as target (if it is IDOC to EDI file scenario) and also import the IDOC (DELVRY) in your source and do 1:1 Pi mapping.
After that in BIC mapper you have to import XML files and create a X2E mapping(here X2E means xml to edi mapping) and later on you have to use this mapping name in your file adapter.
Note: BIC mapper is used to convert XML to EDI and vice versa.
Hope this information is helpful
Regards,
Shradha
Edited by: Shradha_thapliyal29 on Oct 11, 2010 8:52 AM
Edited by: Shradha_thapliyal29 on Oct 11, 2010 8:53 AM

Similar Messages

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • Based on an xsd schema create a table

    Hi all,
    i need a way that allow me to create a table having an xsd file, in others word i load the xsd schema and create a table accordingly to the element that the xsd schema has respecting also the datatype of every element.
    Is the some functionality that allow me to do a thing like that?
    thanks to every one
    Francesco
    Italy

    I should now give the following output
    Connected.
    SQL> set termout on
    SQL> set feed on
    SQL>
    SQL> drop user test cascade;
    User dropped.
    SQL>
    SQL> purge dba_recyclebin;
    DBA Recyclebin purged.
    SQL>
    SQL> create user test identified by test;
    User created.
    SQL>
    SQL> grant xdbadmin, dba to test;
    Grant succeeded.
    SQL>
    SQL>
    SQL> connect test/test
    Connected.
    SQL>
    SQL> set echo on
    SQL> set termout on
    SQL> set feed on
    SQL> set long 100000
    SQL> set pages 5000
    SQL>
    SQL> var schemaPath varchar2(256)
    SQL> var schemaURL  varchar2(256)
    SQL>
    SQL> pause
    SQL> ----------------------------------------------------------
    SQL>
    SQL> -- Create an XML Schema root.xsd in directory /public/
    SQL>
    SQL> ----------------------------------------------------------
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<?xml version="1.0" encoding="UTF-8"?>
      5   <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
      6              xmlns:xdb="http://xmlns.oracle.com/xdb"
      7              elementFormDefault="qualified"
      8              attributeFormDefault="unqualified"
      9              xdb:storeVarrayAsTable="true">
    10   <xs:element name="ROOT" xdb:defaultTable="ROOT_TABLE" xdb:maintainDOM="false">
    11    <xs:annotation>
    12     <xs:documentation>Example XML Schema</xs:documentation>
    13    </xs:annotation>
    14    <xs:complexType xdb:maintainDOM="false">
    15     <xs:sequence>
    16      <xs:element name="ID" type="xs:integer" xdb:SQLName="ID"/>
    17      <xs:element ref="INFO" xdb:SQLInline="false" />
    18     </xs:sequence>
    19    </xs:complexType>
    20   </xs:element>
    21   <xs:element name="INFO" xdb:SQLName="INFO_TYPE">
    22    <xs:complexType xdb:maintainDOM="false">
    23     <xs:sequence>
    24      <xs:element name="INFO_ID" type="xs:integer" xdb:SQLName="TYPE_INFO_ID"/>
    25      <xs:element name="INFO_CONTENT"
    26                  xdb:SQLName="TYPE_INFO_CONTENT" type="xs:string"/>
    27     </xs:sequence>
    28    </xs:complexType>
    29   </xs:element>
    30  </xs:schema>');
    31  begin
    32  if (dbms_xdb.existsResource(:schemaPath)) then
    33      dbms_xdb.deleteResource(:schemaPath);
    34  end if;
    35   res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    36  end;
    37  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> pause
    SQL> ----------------------------------------------------------
    SQL>
    SQL> -- Selecting repository files and folders via XDBUriType
    SQL>
    SQL> ----------------------------------------------------------
    SQL> select xdbURIType ('/public/root.xsd').getClob()
      2  from   dual;
    XDBURITYPE('/PUBLIC/ROOT.XSD').GETCLOB()
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.o
    racle.com/xdb" elementFormDefault="qualified" attributeFormDefault="unqualified"
    xdb:storeVarrayAsTable="true">
      <xs:element name="ROOT" xdb:defaultTable="ROOT_TABLE" xdb:maintainDOM="false">
        <xs:annotation>
          <xs:documentation>Example XML Schema</xs:documentation>
        </xs:annotation>
        <xs:complexType xdb:maintainDOM="false">
          <xs:sequence>
            <xs:element name="ID" type="xs:integer" xdb:SQLName="ID"/>
            <xs:element ref="INFO" xdb:SQLInline="false"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="INFO" xdb:SQLName="INFO_TYPE">
        <xs:complexType xdb:maintainDOM="false">
          <xs:sequence>
            <xs:element name="INFO_ID" type="xs:integer" xdb:SQLName="TYPE_INFO_ID"/
    >
            <xs:element name="INFO_CONTENT" xdb:SQLName="TYPE_INFO_CONTENT" type="xs
    :string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    1 row selected.
    SQL> pause
    SQL> ----------------------------------------------------------
    SQL>
    SQL> -- Create an XML Document root.xml in directory /public/
    SQL>
    SQL> ----------------------------------------------------------
    SQL> begin
      2    :schemaURL := 'http://www.myserver.com/root.xml';
      3    :schemaPath := '/public/root.xml';
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<?xml version="1.0" encoding="UTF-8"?>
      5  <ROOT xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xsi:noNamespaceSchemaLocation="root.xsd">
      6   <ID>0</ID>
      7   <INFO>
      8     <INFO_ID>0</INFO_ID>
      9     <INFO_CONTENT>Text</INFO_CONTENT>
    10   </INFO>
    11  </ROOT>');
    12  begin
    13  if (dbms_xdb.existsResource(:schemaPath)) then
    14      dbms_xdb.deleteResource(:schemaPath);
    15  end if;
    16   res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    17  end;
    18  /
    PL/SQL procedure successfully completed.
    SQL> pause
    SQL> ----------------------------------------------------------
    SQL>
    SQL> -- Selecting repository files and folders via XDBUriType
    SQL>
    SQL> ----------------------------------------------------------
    SQL> select xdbURIType ('/public/root.xml').getClob()
      2  from   dual;
    XDBURITYPE('/PUBLIC/ROOT.XML').GETCLOB()
    <?xml version="1.0" encoding="UTF-8"?>
    <ROOT xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchem
    aLocation="root.xsd">
      <ID>0</ID>
      <INFO>
        <INFO_ID>0</INFO_ID>
        <INFO_CONTENT>Text</INFO_CONTENT>
      </INFO>
    </ROOT>
    1 row selected.
    SQL> pause
    SQL> ----------------------------------------------------------
    SQL>
    SQL> -- Register the XML Schema and create the OR objects
    SQL>
    SQL> ----------------------------------------------------------
    SQL> select * from tab;
    no rows selected
    SQL> --
    SQL> alter session set events='31098 trace name context forever';
    Session altered.
    SQL> --
    SQL> BEGIN
      2   DBMS_XMLSCHEMA.registerSchema
      3   (SCHEMAURL => 'root.xsd',
      4    SCHEMADOC => xdbURIType('/public/root.xsd').getClob(),
      5    LOCAL     => FALSE, -- local
      6    GENTYPES  => TRUE,  -- generate object types
      7    GENBEAN   => FALSE, -- no java beans
      8    GENTABLES => TRUE,  -- generate object tables
      9    OWNER     => USER
    10   );
    11  END;
    12  /
    PL/SQL procedure successfully completed.
    SQL> select * from tab;
    TNAME                          TABTYPE  CLUSTERID
    INFO1902_TAB                   TABLE
    INFO1904_TAB                   TABLE
    ROOT_TABLE                     TABLE
    3 rows selected.
    SQL> pause
    SQL> ----------------------------------------------------------
    SQL>
    SQL> -- Insert some data with XDBURIType
    SQL>
    SQL> ----------------------------------------------------------
    SQL> DECLARE
      2     XMLData xmlType := xmlType(xdbURIType ('/public/root.xml').getClob());
      3  BEGIN
      4    for i in 1..10
      5    loop
      6        insert into ROOT_TABLE
      7        VALUES
      8        (XMLData);
      9    end loop;
    10  END;
    11  /
    PL/SQL procedure successfully completed.
    SQL> -- randomize the data a little
    SQL> update ROOT_TABLE
      2  set object_value = updateXML(object_value,
      3                              '/ROOT/ID/text()',
      4                              substr(round(dbms_random.value*100),0,2)
      5                              );
    10 rows updated.
    SQL> update ROOT_TABLE
      2  set object_value = updateXML(object_value,
      3                              '/ROOT/INFO/INFO_ID/text()',
      4                              substr(round(dbms_random.value*100),0,2)
      5                              );
    10 rows updated.
    SQL> pause
    SQL> ----------------------------------------------------------
    SQL>
    SQL> -- End Result
    SQL>
    SQL> ----------------------------------------------------------
    SQL> select count(*) from root_table;
      COUNT(*)
            10
    1 row selected.
    SQL> select * from root_table where rownum <= 2;
    SYS_NC_ROWINFO$
    <?xml version="1.0" encoding="US-ASCII"?>
    <ROOT>
      <ID>54</ID>
      <INFO>
        <INFO_ID>28</INFO_ID>
        <INFO_CONTENT>Text</INFO_CONTENT>
      </INFO>
    </ROOT>
    <?xml version="1.0" encoding="US-ASCII"?>
    <ROOT>
      <ID>33</ID>
      <INFO>
        <INFO_ID>35</INFO_ID>
        <INFO_CONTENT>Text</INFO_CONTENT>
      </INFO>
    </ROOT>
    2 rows selected.
    SQL>

  • How to Map XML data with XSD Schema in JAXB

    Hello,
    I am very much new to JAXB.
    I am in need of someone help to go further in my dev.
    I am having an XSD and i could able to do marshall and unmarshall using JAXB.
    My problem is...
    Consider followings are my Schema...
    - <person id="general" help="USER.DOM.HELP.GENERAL" label="USER.DOM.LABEL.GENERAL" access="READWRITE">
    <attribute id="Name" mandatory="true" type="STRING" access="READONLY" widget="NONE" />
    <attribute id="login" label="USER.LABEL.LOGIN" help="USER.HELP.LOGIN" regexp="[A-a]" type="STRING" summary="true" access="WCREATE_RUPDATE" widget="TEXTFIELD" />
    <attribute id="firstname" summary="true" label="USER.LABEL.FIRSTNAME" help="USER.HELP.FIRSTNAME" type="STRING" regexp="[A-a]" access="READWRITE" widget="TEXTFIELD" />
    In this example a person contains set of attributes... some are mandatory(Name)...
    In my application i will unmarshall the the schema file and show in GUI as a set of attributes when the operator want to create a person. And its very well working.
    Now say for example, i am requesting my server to show all the created persons and its showing. when i click on the particular person the GUI will place the request to the server to get the corresponding date for the selected person.
    But the response contains only the mandatory attribute.. i mean Name.... this may be because of the way my server working. So now i want to show the operator all the set of attributes for that person with the Name.
    I mean i need to merge the schema with me resultant data and show it in the GUI.
    My result is in the form of xml stream. And i will convert my schema also in the form of XML...
    Now i need to merge both of this XMl and need to present in the GUI...
    Any help please...
    Thank You!!!

    Still i am not getting any reply :(

  • How to read a file with data in Hierarchical Structure using XSD Schema

    Hi
    We have requirement in which we have to read a FIXED LENGTH file with FILE ADAPTER. File contains the data in hierarchical structure. Hierarchy in the file is identified by the first 3 characters of every line which could be any of these : 000,001,002,003 and 004. Rest files are followed after these. So structure is like:
    000 -- Header of File. Will come only once in file. Length of this line is 43 characters
    -- 001 -- Sub Header. Child for 000. Can repeat in file. Length of this line is 51 characters
    --- 002 -- Detail record. Child for 001. Can repeat multiple times in given 001. Length of this line is 43 characters 1353
    -- 003 -- Sub Footer record at same level of 001. Will always come once with 001 record. Child for 000. Length of this line is 48 characters
    004 -- Footer of file.At same level of 000. Will come only once in file. Length of this line is 48 characters
    Requirement is to create an XSD which should validate this Hierarchical Structure also i.e data should come in this hierarchy only else raise an error while parsing the file.
    Now while configuring the FILE ADAPTER to read this file we are using Native Schema UI to create the XSD to parse this structure using an example data file. But we are not able to create a valid XSD for this file which should validate the Hierarchy also on the file.
    Pls provide any pointers or solution for this.
    Link to download the file, file structure details and XSD that we have created:
    https://docs.google.com/file/d/0B9mCtbxc3m-oUmZuSWRlUTBIcUE/edit?usp=sharing
    Thanks
    Amit Rattan
    Edited by: user11207269 on May 28, 2013 10:16 PM
    Edited by: user11207269 on May 28, 2013 10:31 PM
    Edited by: user11207269 on May 28, 2013 10:33 PM

    Heloo.. Can anyone help me on this. I need to do Hierarchial read / validation while reading the file using File Adapter using Native XSD schema.

  • XSD schema to xml file generation using C#

    Hi fellow developers,
    I need small help with my current scenario.
    I have 2 xsd schemas one is input and other is output.
    Now my requirement is based on those xsd template or structure, i need to write a C# code that takes the 1 xsd template as input in xml format and then do some mapping and then set that values to 2 xsd template in xml format.
    Can you please guide or assist in this regards ??
    It would be helpful if we have the flexibility of configuring the schema properties.

    Hi
    Venky_Ferrari.
    Based on your description, your case related to XMLXSD, SO I will move your thread to
    Data Platform Development > XML, System.Xml, MSXML and XmlLite      
    forum for better support.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Mapping Issue- XSD (schema to BAPI)

    Hi XI Experts ,
    Scenario : XSD (Schema priovided by external partners ->XI-> SAP BAPI) of PO Creation (ZBAPI of :BAPI_PO_CREATE1)
    -When the Cost centre data is 100%   ,the GL ACCOUNT , Cost centre , Quantity , PO ITEM , Cost Area should come in one Item Node of : PO_ACCOUNT  of BAPI
    -When Cost Centre data is split into 60% , 40% in Source , thE values should occur in 2 item nodeS , 1Item with 60,00 Data
    2 item(SECOND ITEM)  with 40,00 data
    I have used Remove context , Split by value and target looks fine.
    But the Quanity , PO_ITEM value does't  spilt into both the items. The Quanity , PO_ITEM is only in the first item node.
    how do I get the values in both item node under :POACCOUNT
    Thsi is sample  Quanity xml (Part of Source structure):
    <TotalQuantity>
                <Quantity>
                  <QuantityValue>1.000</QuantityValue>
                  <UnitOfMeasurement>
                    <UOMCoded>EA</UOMCoded>
                  </UnitOfMeasurement>
                </Quantity>
              </TotalQuantity>
    Currently this is how traget looks like
    <POACCOUNT>
    <item>
    <PO_ITEM>00001</PO_ITEM><SERIAL_NO>0001</SERIAL_NO><QUANTITY>1.000</QUANTITY><DISTR_PERC>60.00</DISTR_PERC><GL_ACCOUNT>0005423100</GL_ACCOUNT><COSTCENTER>0000000313</COSTCENTER><CO_AREA>0510</CO_AREA>
    </item>
    <item>
    <SERIAL_NO>0002</SERIAL_NO><DISTR_PERC>40.00</DISTR_PERC><GL_ACCOUNT>0005423100</GL_ACCOUNT><COSTCENTER>0000000318</COSTCENTER><CO_AREA>0510</CO_AREA>
    </item>
    </POACCOUNT>
    Here  PO_ITEM(0001) , Qaunity is missing in second item node and this is needed for me to occur to create PO in SAP.
    You input is highly appreciated.
    Thank you ,
    Vara

    Hi Amit ,
    I tried  the logic :
    If ReferenceCoded Item|  EQUALS | Constant(Percent) |if without else   then  RefNum ( Substring extract 40.00%, 60.00%) | Remove Context | Split by Value(Each Value) | DISTR_PERC (Percentage field of BAPI)
    This worked if there are two cost centre purchase data which passed gets split into  2line items
    Thank you ,
    Best Regards,
    Varalakshmi

  • Need help with XSD

    Hi Folks,
    I'm having problems with this XSD
    http://www.tieto.com/binary.asp?GUID=1BCF9595-E204-4A73-8EDA-0CDED5230BF9&field=Document
    It will upload just fine as an external definition however when I try to create the interface
    XI asks me to chose the message and lists all fields individually which is not what I want. It appears XI needs
    a toplevel hiearchy node. I tried to wrap it in a ComplexType but it doesn't work at all
    (<simpleType> is not allowed at <<xsd:schema><xsd:complexType><xsd:complexContent><xsd:simpleType>>)
    Any suggestions?
    Regars, Sven
    Edited by: Sven Buttler on Jul 21, 2009 12:14 PM

    Hi ,
    After importing the XSD ,  While creating the Interface select the message you need it . b'coz the XSD will contain many messages which is no longer needed for us . So ask the Functional foks or the corresponding person that which message is needed for the scenario.
    And  choose that
    Regards,
    B.Jude

  • XML validation against XSD Schema in ABAP

    Hi colleagues,
    I'm looking for a way to validate a XML against a XSD schema in ABAP, without using java or command line or something like that. Is there any way to do this only with ABAP?
    Thanks in advance.
    Regards,
    Guenter

    Hi everyone,
    I'm currently facing the same problem. I need to validate a xml file with an existing xsd schema for some export/import functionality. I just found an ABAP program doing this with a Java fallback. But isn't there a way doing this wihtout using Java but only ABAP? There certainly is, anyone an idea?
    Thank you and regards
    Maximilian

  • Manipulating xsd schemas through java api

    Hi,
    I am working on an aplication that requires on-line creation of new xsd schemas. I am looking for a package that will allow me to create such schemas (i dont want to have to understand all the schema logic myself and create just a regular xml document).
    I also require a way to be able to easily extract restrcitions regarding certain elements in the schema (i need to be able to answer questions such as what restrictions does X node have).
    Does anyone happen to know of a package that may help me?
    thanks!
    shahar

    Hi,
    I am working on an aplication that requires on-line creation of new xsd schemas. I am looking for a package that will allow me to create such schemas (i dont want to have to understand all the schema logic myself and create just a regular xml document).
    I also require a way to be able to easily extract restrcitions regarding certain elements in the schema (i need to be able to answer questions such as what restrictions does X node have).
    Does anyone happen to know of a package that may help me?
    thanks!
    shahar

  • How to generate XSD schema based on xml instance

    Hi All,
      Am unable to generate valid Xsd schema,i have an XML instances am getting this instance from wcf service.please find the below XML instance file.please help me out its very urgent for me.
    <GetForOneCallResponse xmlns="http://www.abcservices.com/ReferralService">
    <GetForOneCallResult xmlns:a="http://schemas.datacontract.org/2004/07/abc.Services.Cms" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <a:Message i:nil="true" />
    <a:ResponseData xmlns:b="http://schemas.datacontract.org/2004/07/abc.Services.Cms.Data">
    <b:BaseEntity i:type="c:Referral" xmlns:c="http://schemas.datacontract.org/2004/07/abc.Services.Cms.Models">
    <c:CHReferralUniqId />
    <c:CaseData>
    <c:DatAttorneyName i:nil="true" />
    <c:EventDescription i:nil="true" />
    <c:PatAttorneyAddress i:nil="true" />
    <c:PatAttorneyCity i:nil="true" />
    <c:PatAttorneyEmail i:nil="true" />
    <c:PatAttorneyFax i:nil="true" />
    <c:PatAttorneyFirmName i:nil="true" />
    <c:PatAttorneyName i:nil="true" />
    <c:PatAttorneyPhone i:nil="true" />
    <c:PatAttorneyState i:nil="true" />
    <c:PatAttorneyZip i:nil="true" />
    <c:SpecialInstructions>GCC Diagnostic Study: MRI Scan</c:SpecialInstructions>
    <c:TreatingDocAddress1 i:nil="true" />
    <c:TreatingDocCity i:nil="true" />
    <c:TreatingDocFax i:nil="true" />
    <c:TreatingDocFirstName>Dr/ Richard</c:TreatingDocFirstName>
    <c:TreatingDocLastName>Islinger</c:TreatingDocLastName>
    <c:TreatingDocPhone>9</c:TreatingDocPhone>
    <c:TreatingDocState i:nil="true" />
    <c:TreatingDocZip i:nil="true" /></c:CaseData>
    <c:CaseObjective i:nil="true" />
    <c:Claimants>
    <c:Claimant>
    <c:Address>
    <c:AddressOne>313 Liverpool Avenue</c:AddressOne>
    <c:AddressTwo i:nil="true" />
    <c:CellPhone i:nil="true" />
    <c:City>Egg Harbor city</c:City>
    <c:Countrty i:nil="true" />
    <c:County i:nil="true" />
    <c:Email i:nil="true" />
    <c:Fax i:nil="true" />
    <c:HomePhone></c:HomePhone>
    <c:LocationId>7729811</c:LocationId>
    <c:State>NJ</c:State>
    <c:WorkPhone i:nil="true" />
    <c:ZipCode>08215</c:ZipCode>
    </c:Address>
    <c:ClaimantId>1474969</c:ClaimantId>
    <c:Claims>
    <c:Claim>
    <c:Adjuster>
    <c:AddressOne>PO Box 14151</c:AddressOne>
    <c:AddressTwo />
    <c:City>Lexington</c:City>
    <c:Email>[email protected]</c:Email>
    <c:Fax />
    <c:FirstName>Kathleen</c:FirstName>
    <c:LastName>Hand</c:LastName>
    <c:Phone></c:Phone>
    <c:State>KY</c:State>
    <c:Zip>40512-4151</c:Zip>
    </c:Adjuster>
    <c:ClaimId>1637073</c:ClaimId>
    <c:ClaimNumber>002456054730</c:ClaimNumber>
    <c:InjuryDate>2005-06-10T00:00:00</c:InjuryDate>
    <c:StateJurisdiction>NJ</c:StateJurisdiction>
    </c:Claim>
    </c:Claims>
    <c:DOB>1953-07-05T00:00:00</c:DOB>
    <c:FirstName>Joann</c:FirstName>
    <c:Language i:nil="true" />
    <c:LastName>Wise</c:LastName>
    <c:SocialSecurity>142469412</c:SocialSecurity>
    </c:Claimant>
    </c:Claimants>
    <c:Company>
    <c:CustomerName>Sedgwick Claims Management Services, Inc</c:CustomerName>
    <c:PrimaryContact>
    <c:Address>
    <c:AddressOne>800 Ridgelake Blvd</c:AddressOne>
    <c:AddressTwo i:nil="true" />
    <c:CellPhone i:nil="true" />
    <c:City>Memphis</c:City>
    <c:Countrty>US</c:Countrty>
    <c:County i:nil="true" />
    <c:Email i:nil="true" />
    <c:Fax i:nil="true" />
    <c:HomePhone i:nil="true" />
    <c:LocationId>5747510</c:LocationId>
    <c:State>TN</c:State>
    <c:WorkPhone i:nil="true" />
    <c:ZipCode>38120-9427</c:ZipCode>
    </c:Address>
    <c:ContactId>339835</c:ContactId>
    <c:Email i:nil="true" />
    <c:Fax i:nil="true" />
    <c:FirstName>David</c:FirstName>
    <c:LastName>Seay</c:LastName>
    <c:Phone i:nil="true" />
    <c:Title i:nil="true" /></c:PrimaryContact>
    </c:Company>
    <c:CreatedAt>2012-05-14T11:00:06.62</c:CreatedAt>
    <c:Employee>
    <c:Address>
    <c:AddressOne>5795 Widewater Parkway</c:AddressOne>
    <c:AddressTwo />
    <c:CellPhone i:nil="true" />
    <c:City>Dewitt</c:City>
    <c:Countrty i:nil="true" />
    <c:County />
    <c:Email>[email protected]</c:Email>
    <c:Fax />
    <c:HomePhone>gg</c:HomePhone>
    <c:LocationId>6001741</c:LocationId>
    <c:State>NY</c:State>
    <c:WorkPhone i:nil="true" />
    <c:ZipCode>13214</c:ZipCode>
    </c:Address>
    <c:Email></c:Email>
    <c:EmployeeId>11568</c:EmployeeId>
    <c:FirstName>Karlie</c:FirstName>
    <c:LastName>Jarvis</c:LastName>
    </c:Employee>
    <c:Employer i:nil="true" />
    <c:ModifiedAt>2012-05-14T11:33:34.29</c:ModifiedAt>
    <c:Notes />
    <c:ReferralDate i:nil="true" />
    <c:ReferralId>422</c:ReferralId>
    <c:ReferralSource>GCC</c:ReferralSource>
    <c:ReferralType /></b:BaseEntity>
    </a:ResponseData>
    <a:Status>Success</a:Status>
    </GetForOneCallResult>
    </GetForOneCallResponse>
    Regards
    Srinivas reddy

    Hi,
    Can you point out what the error is exactly??
    Also on a general note try the following:
    1)Right click on the project, go to Add> Add generated Items
    2)Select Generate Schemas
    3) Select the required document type and provide the path to the xml and click OK
    If you have not installed the WFX module, you will get below highlighted error.
    'WFX to XSD schema generation module is not installed. Execute 'C:\Program files (X86)\Microsoft Biztalk Server 2010\SDK\Utilities\Schema
    Generator\InstallWFX.vbs to install the WFX to XSD schema generation module.(Path to the Biztalk Installation folder may vary)
    So go ahead and register the module as it needs to be registered for the first time do remember to execute this vbs script as an
    Administrator  if the normal execution fails.
    I tried generating the xsd using your schema and I was successful(I tried it using the Well Formed XML as the document type).
    Hope this helps
    Regards,
    Mandar Dharmadhikari

  • Syndicator : Root identification for XSD (schema) file

    Dear MDM Pals,
    Scenario :XSD file (DEBMDM06) customization and Syndication set up in MDM Syndicator.
    Details: There is a need to customise  xsd file at one segment level. Only the names of elements in a segment are changed - XSD structure is untouched.When this is done , and used in syndicator , the root of xsd schema file is not getting recognized.As a result, not able to proceed with Syndication set up process.
    Please advise -
    a) What needs to be taken care in XSD schema file modification ?
    b) MDM syndicator set up (if any) to handle custom XSDs.
    Awaiting quick help on this please.
    Regards,
    Vinay M.S

    Hi Vinay,
    Make sure that the root element name as in the XSD exactly matches with the Repository Schema  main table name.
    This name should be exactly same in all respects.
    Also make sure you save and upload this newly customized schema in your MDM console correctly with a new name,and then try using this schema in your MDM syndicator.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Catch all error information while validating xml content with xsd schema

    Hi experts,
    I created a java mapping to validating the input xml content with xsd schema (schema validation). What I want is to catch all error message to the xml not just the first error. I used SAXParser in sapxmltoolkit.jar to do the schema validation. The below is a part of my java mapping.
    XMLReader parser = XMLReaderFactory.createXMLReader("com.sap.engine.lib.xml.parser.SAXParser");
    parser.setFeature( "http://xml.org/sax/features/validation" ,  true);
    parser.setFeature( "http://apache.org/xml/features/validation/schema" , true);
    parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");          parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource",this.getClass().getClassLoader().getResourceAsStream(schema)); // schema is my schema name
    parser.setErrorHandler(new ParseErrorHandler()); // ParseErrorHandler is my own ErrorHandler which extends DefaultHandler
    parser.parse(new InputSource(new ByteArrayInputStream(sinput.getBytes())));
    // In error handler, I comment all code so as not to throw any exception
    public class ParseErrorHandler extends DefaultHandler
         public void error(SAXParseException e) throws SAXException
              // sSystem.out.println("Error" + e.getMessage());
              // throw e;
         public void fatalError(SAXParseException e)
              // throw e;
              // System.out.println("SAP Fatal Error" + e.getMessage());
    Unfortunately the program always stopped while catching the first error. Check the below log.
    com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException:
    ERRORS :
    cvc-simple-type : information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' is not valid, because it's value does not satisfy the constraints of facet 'minLength' with value '1'.
    cvc-data : information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' is is not valid with respoct to the corresponding simple type definition.
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' is associated with invalid data.
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]' is not valid with respect to it's complex type definition..
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]' is not valid with respect to it's complex type definition..
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]/:To[1]' is not valid with respect to it's complex type definition..
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]' is not valid with respect to it's complex type definition..
    cvc-element : element information item '/:ShipNotice[1]' is not valid with respect to it's complex type definition..
    -> com.sap.engine.lib.xml.parser.ParserException:
    I tried using Xerces and JAXP to do validation, the same error happened. I have no idea on this. Does xi has its own error handler logic? Is there any body can make me get out of this?
    Thanks.

    <h6>Hi experts,
    <h6>
    <h6>I created a java mapping to validating the input xml content with xsd schema (schema validation). What I want is to catch all <h6>error message to the xml not just the first error. I used SAXParser in sapxmltoolkit.jar to do the schema validation. The below <h6>is a part of my java mapping.
    <h6>XMLReader parser = XMLReaderFactory.createXMLReader("com.sap.engine.lib.xml.parser.SAXParser");
    <h6>parser.setFeature( "http://xml.org/sax/features/validation" ,  true);
    <h6>parser.setFeature( "http://apache.org/xml/features/validation/schema" , true);
    <h6>parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");          <h6>parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource",this.getClass().getClassLoader().getResourceAsStream(schema)); <h6>// schema is my schema name
    <h6>parser.setErrorHandler(new ParseErrorHandler()); // ParseErrorHandler is my own ErrorHandler which extends Default Handler
    <h6>parser.parse(new InputSource(new ByteArrayInputStream(sinput.getBytes())));
    <h6>
    <h6>// In error handler, I comment all code so as not to throw any exception
    <h6>public class ParseErrorHandler extends DefaultHandler
    <h6>{
    <h6>     public void error(SAXParseException e) throws SAXException
    <h6>     {
    <h6>          // sSystem.out.println("Error" + e.getMessage());
    <h6>          // throw e;
    <h6>     }
    <h6>
    <h6>     public void fatalError(SAXParseException e)
    <h6>     {
    <h6>          // throw e;
    <h6>          // System.out.println("SAP Fatal Error" + e.getMessage());
    <h6>
    <h6>     }
    <h6>
    <h6>}
    <h6>
    <h6>Unfortunately the program always stopped while catching the first error. Check the below log.
    <h6>
    <h6>com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException:
    <h6>ERRORS :
    <h6>cvc-simple-type : information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' <h6>is not valid, because it's value does not satisfy the constraints of facet 'minLength' with value '1'.
    <h6>cvc-data : information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' <h6>is is not valid with respoct to the corresponding simple type definition.
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' <h6>is associated with invalid data.
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]' <h6>is not valid with respect to it's complex type definition..
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]' <h6>is not valid with respect to it's complex type definition..
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]' <h6>is not valid with respect to it's complex type definition..
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]' <h6>is not valid with respect to it's complex type definition..
    <h6>cvc-element : element information item '/:ShipNotice[1]' is not valid with <h6>respect to it's complex type definition..
    <h6> -> com.sap.engine.lib.xml.parser.ParserException:
    <h6>
    <h6>
    <h6>I tried using Xerces and JAXP to do validation, the same error happened. I have no idea on this. Does xi has its own error <h6>handler logic? Is there any body can make me get out of this?
    <h6>Thanks.

  • How to generate an XML file following a XSD schema

    hi, i have a XML Schema (.xsd) and i have to generate automatically the structure of the XML according to the XSD Schema.I have been searching on the internet and found some solutions using XMLBeans and JAXB, but that`s not exactly what i am looking for. I use JDOM to parse XML and i'd wish to use only Jdom to generate XML if it's possible....Thank's

    Dear All,
    Indeed the post by RamJaddu did not answer the question. I am having the same issue: I have been provided an .xsd file which contains a data schema, and I have all of the necessary
    data in a .mdf file in order to create the required .xml file. Having queried SQL Server and received my data in "myDataSet" I can use C# to create the .xml ignoring the schema using
    string strSchemaFile = @"F:\Documents\UserCost\VictorianDataCollection\VCDCSchema_v2.xsd";
    string strXmlFile = "testXmlExport.xml";
    myDataSet.WriteXmlSchema(strSchemaFile);
    myDataSet.WriteXml(strXmlFile, XmlWriteMode.IgnoreSchema);
    but how do I export the .xml file so that is conforms with the .xsd format?
    If any of you have worked this out the answer would be most appreciated.
    All the best,
    Nick
    "Everything should be made as simple as possible, but not simpler" - Einstein

  • Multiple Root elements in the XSD Schema

    Hi Dear MDM gurus,
    I have manually created an XSD Schema and I can import it in the Syndicator without any problem.
    I have 3 different Root elements in the schema that I want to use and map to the corresponding table of this type.
    In my Syndicator screen in the Rood dropdown box I can see all three of the Root elements that I have in the schema.
    If I select the first Root element - everything goes fine and I can do my mapping, save the map, etc.
    The problem is that if I select the second or third root element to do the mapping for them, the syndicator does not show the structure in the Item Mapping after that.
    I tried moving the Second root element of the schema and make it first and it works with it, but then the other two are not appearing and I have the same issue.
    Does MDM support only one Root element in the Schema? If that's the case, why does it show all three of them in the dropdown?
    Here is an example:
    1. If I have them in this order in my XSD
              <xs:element name="ManufacturerGroupNumber" type="ManufacturerGroupNumbers"/>
              <xs:element name="SupplierGroupNumber" type="SupplierGroupNumbers"/>
              <xs:element name="SupplierLocationNumber" type="Suppliers"/>
    I can only see the structure when I select the "ManufacturerGroupNumber".
    2. If I have them in the Schema in this order
              <xs:element name="SupplierLocationNumber" type="Suppliers"/>
              <xs:element name="SupplierGroupNumber" type="SupplierGroupNumbers"/>
              <xs:element name="ManufacturerGroupNumber" type="ManufacturerGroupNumbers"/>
    I can only see the structure when I select the first one again "SupplierLocationNumber" and I can only do the mapping for it.
    Any help would be appreciated.
    Thanks in advance,
    Boris

    Hello Satish,
    Thank you for your quick response.
    I read some of the architectural approaches and XML specifications and depending on your design, you may have only one Root element or in rare cases Several Root elements. In my case, I was advised by our PI experts to use Multiple Root elements and this gives me the following:
    Advantages:
    u2022 The reusability of the schema definition is available for all types and all elements defined in the global namespace.
    Disadvantages:
    u2022 Since there are many global elements, there are many valid XML documents.
    I initially had the schema as you suggested, but they didn't like it in PI and advised me to change it with having multiple roots.
    What I'm trying to figure out is if there is a bug in MDM that does not allow to use the rest of the root elements, so I can open an OSS message.
    Thanks,
    Boris

Maybe you are looking for

  • Web services Problem in SOA suite 10.1.3

    HI every body , I have particular web service which opens fine with 10.1.3 jdeveloper using the partener but when I try to deploy the application with that particular webservice I get this error BUILD FAILED D:\downloads\jdevstudio10131\jdev\mywork\K

  • Full screen/fill screen?

    Hello, Does anyone know how to make a button in Edge that will make the animation go "full screen"? And back to regular? Any help would be appreciated. Thanks!

  • Can't open up any pdf's

    Everytime i try to open a pdf file i get this error; this started happening after downloading the new adobe reader

  • Data base triggers

    number of data base triggers that we can use .plzz tell me about their event and name

  • BDOC Error : Partner function Sold-To Party occurs more often than specified in Customizing

    Hi, I am new to middleware and would like to know how to solve the below error. My scenario is I am trying to perform an initial download for equipment from ECC to CRM. Most of the blocks get successfully uploaded, but for a few cases I get this erro