cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.1 import wsdl that uses paths not working

0 Kudos

Hello SDN!!!

I have a question. Our company is using wsdl's that have external http links to xsd documents. This is a valid wsdl per XML SPY and Soap Util.

A snapshot of the wsdl looks like so

<xs:import namespace="urlToA.xsd"/>

<xs:import namespace="http://schemas/shared/EMFSchemaV1" schemaLocation="http://url_TO_A_.xsd"/>

<xs:import namespace="http://schemas/shared/EMFSoapFaultV1" schemaLocation="http://anotherurlTOA.xsd"/>

<xs:element name="request">

<xs:complexType>

<xs:sequence>

<xs:element ref="init:Project" xmlns:init="http://schemasdefinedabove" minOccurs="0" maxOccurs="1"/>

</xs:sequence>

</xs:complexType>

Basically it makes a reference to schemas defined in links, it seems the wsdl being generated as an external definition in SAP doesn't follow the links to fill in the xsd definition.

Is there a method to have sap import the xsd's in the location they are being referenced?

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Thank you for your responses, I awarded points. I am surprised it can't do a full look up based on an external url. Our work is enforcing us to pull in external wsdl's they define by referencing the definitions via url. This is going to make alot of work happen per wsdl

Former Member
0 Kudos

Hi Devlin,

As if like WSDL you need to import the corresponding .xsd's in to external definitions. You can view in

.XSD tab in external definition tab. you need to import the same .xsd in to your external definition to make the .WSDL work and also you can see all the message structures in the messages tab of ED.

Regards

Praveen

henrique_pinto
Active Contributor
0 Kudos

Yeah, you also need to import these remote xsd's in XI. Download them and create an external definition for each one of them.

Then, within each external definition, fill the "Source" field with the schema Location that the wsdl is waiting for. For example, in the external definition for the 1st xsd, fill its Source field with the value

http://url_TO_A_.xsd

.

Check in the wsdl's References tab whether it found the references correctly (for each expected location, you should see the corresponding external definition).

Regards,

Henrique.