on 01-15-2009 12:51 AM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.