Skip to Content
author's profile photo Former Member
Former Member

Can not generate one xsd file for message type in xi

Dear Experts.

I am not able to generate one XSD file from message type from XI 3.0, When i select message type and go to XSD tab then click on export xsd to file, it is generating two xsd files MainSchema.xsd, Schema1.xsd into one zip file, but i need only one xsd file to import it into MDM.

Could you please help

Thanks and Regards.

Sravya.

The following are the two files. MainSchema.xsd, Schema1.xsd .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 09, 2008 at 12:35 AM

    Dear Experts.

    How to combine both xsds into one xsd file into one xsd.

    Thanks and Regards.Sravya.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Harsha,

      Thanks lot for the immediate response. Appreciate it.

      Now I am able to generate the one xsd with your inputs , but i am not able to load it into mdm with out any changes in the generated XSD from Message Type. the below is only the original root tag, where modification required.

      Original Element : MDM_CUST_MASTER_FILE_REQUEST_MT

      ==============

      http://www.w3.org/2001/XMLSchema" xmlns="urn: abc.com:MDM_Customer_Master_ECC" targetNamespace="urn: abc.com:MDM_Customer_Master_ECC">

      <xsd:element name="MDM_CUST_MASTER_FILE_REQUEST_MT" type="MDM_CUST_MASTER_FILE_REQUEST_DT" />

      -


      -


      --

      etc.

      Case :.When i modify the above element as below with out xmlns, targetNamespace

      http://www.w3.org/2001/XMLSchema">

      <xsd:element name="MDM_CUST_MASTER_FILE_REQUEST_MT" type="MDM_CUST_MASTER_FILE_REQUEST_DT" />

      I can import xsd into mdm with the above modification.

      The generated XML out put File from mdm is having message type tag like below

      ?xml version="1.0" encoding="UTF-8"?>

      <MDM_CUST_MASTER_FILE_REQUEST_MT>

      <CUSTOMER> </customer> ...

      note: no namespace for message type

      Result:

      1.When i send this xml file into XI it is failing in message mapping because it doesn't have namespace attached to it and failing in message mapping.

      Finally i need your help to generate the xsd or data file like below to avoid mapping problem in xi.

      <?xml version="1.0" encoding="UTF-8" ?>

      - abc.com:MDM_Customer_Master_ECC>

      Appreciate your help.

      Thanks and Regards.

      Sravya.

  • author's profile photo Former Member
    Former Member
    Posted on Aug 09, 2008 at 02:14 AM

    Hi Sravya,

    Very nice small question but it made me to think and finally found the solution for this issue.

    If you want the XSD as a single file then you have to export the message type from the actual name space where is has created,

    If you copy that message type to another name space then while exporting it will create 2 XSD files as you mentioned.

    If you want to refer to actual message type, you find those details under the XSD tab of copied message type.

    Thank you

    Regards

    Harsha

    <removed by moderator>

    Edited by: Mike Pokraka on Aug 9, 2008 10:21 AM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.