cancel
Showing results for 
Search instead for 
Did you mean: 

WSDL with XSD

former_member10771
Active Participant
0 Kudos

Hi All,

I am on 7.4 version. I am facing issue when importing a WSDL which has reference to a few other XSD files. The WSDL when imported doesnt show the actual fields under the request and response tab. But the same WSDL is showing all the fields correctly when opened using SOAP UI. I have searched earlier blogs and also tried this blog but the same issue persists.

Can someone please help on this.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/07/18/importing-xsd-s-schema-with-exter...

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Amit,

Have you got the references to the local files?, you have to change your wsdl to do this references locals.

Regards.

former_member10771
Active Participant
0 Kudos

Hi Inaki,

Can you please tell me how to do this local referencing.

suman_saha
Contributor
0 Kudos

Hi Amit,

The link to xsd should look like:

<xsd:import schemaLocation="*XSD_NAME*.xsd" namespace="*XSD_NAMESPACE*" />

Also import that xsd to the same external definition as that of wsdl.

Regards,

Suman

former_member10771
Active Participant
0 Kudos

Thanks . I got the WSDL.

suman_saha
Contributor
0 Kudos

Can you please tell how did you achieve?

If helpful,mark my answer as helpful or correct please.

Answers (1)

Answers (1)

suman_saha
Contributor
0 Kudos

Hi Amit,

What is actually happening?

Is anything in red?

What is showing in External Reference tab?

Have you imported the XSD files into PI?

Suman

former_member10771
Active Participant
0 Kudos

Hi Suman,

Under external reference tab I can see the xsd under source tab. But I dont see anything under Name tab.

Actually the problem is there is in SOAP UI I can see this

<soapenv:Body>

      <v21:TestInformation v21:version="?">

         <v21:Code v1:Source="?">?</v21:Code>

         <v21:Num v21:Suffix="?">?</v21:Num>

But the same under WSDL is like this

p1:TestInformation

I dont see the elements code and num under this. This is just sample extract I pasted. Same is the case for other elements also.

suman_saha
Contributor
0 Kudos

Have you imported the xsd in external definition?

suman_saha
Contributor
0 Kudos

Hi Amit,

You may check

It may be useful for you.

If you have any url to link that xsd,you need to replace the url with local reference.

Thanks,

Suman