cancel
Showing results for 
Search instead for 
Did you mean: 

Embed XSD in WSDL

Former Member
0 Kudos

Hi,

Vendor has provided a SDK which contains WSDL and XSD's .The set of operations which we need to access from PI is available in WSDL.But, The problem is when I have uploaded the wsdl, I am not able to access the methods/Operation in Message Mapping as the method description is available in XSD. Can you suggest a way to embed XSD along with WSDL?

Regards,

Kiran.

Accepted Solutions (1)

Accepted Solutions (1)

former_member192343
Active Contributor
0 Kudos

Hi,

just find in your wsdl file link to xsd file under <wsdl types>

something like:

<wsdl:types>

        <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

            <xs:import namespace="http://schemas.microsoft.com/exchange/services/2006/messages" schemaLocation="messages.xsd"/>

        </xs:schema>

    </wsdl:types>

and replace "<xs:import namespace="http://schemas.microsoft.com/exchange/services/2006/messages" schemaLocation="messages.xsd"/>" with content of your xsd file

Answers (3)

Answers (3)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello Kiran,

After importing your WSDL, there is a tab called references tab. What you can do is to import the xsds as external definition, then copy the path on the WSDL references tab and then paste it to the Source field in the xsd. If done correctly, once you go to the wsdl references tab, the entries there should point to the xsds imported as external definition.

Hope this helps,

Mark

Muniyappan
Active Contributor
0 Kudos

Hi Kiran,

create external definition with category as wsdl.

you can use external definition in message mapping as well as service interface.

check this http://scn.sap.com/thread/3230927

Regards,

Muniyappan.

monikandan_p
Active Participant
0 Kudos

Hi Kiran,

    Keep in mind

1.  If your client given a XSD file with values kindly remove the value from it and then import the structure in PI.

2. Also if you want change your structure to required format kindly follow the below link to convert your required format and then import in PI as Externel Definition.

Free Online XSD/XML Schema Generator From XML - FreeFormatter.com

Best Regards,

Monikandan.