cancel
Showing results for 
Search instead for 
Did you mean: 

Schema location in PI generated Webservice

Former Member
0 Kudos

Hi ,

I have created a webservice in PI 7.0 and checked the generated WSDL for schema location as I wanted to see the structure of the data to be sent to a webservice but I could not find anything like SCHEMA LOCATION in my WSDL.

Can someone give me a hint on how to import the XSD definition into the WSDL ? Actually this is the requirement by the people developing the webservice client that they want to be able to see the structure to send the appropriate data.

Thanks & Regards,

Harish.

Accepted Solutions (0)

Answers (1)

Answers (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>Can someone give me a hint on how to import the XSD definition into the WSDL ?

Your WSDL must contains all the required information about your webservice including structure, port, address location. Just open the wsdl using XMLSPY or any XML editor. You see XSD definitions for all the specified fields.

Sample shown below

Former Member
0 Kudos

Hi Baskar,

May be I didn't put my question properly...in case of a 3rd party WSDL we can see the wsdl url like the one below

http://host:port/blablablaService/blablablaService.svc?wsdl

But our PI exposed service has no such URL instead we just give the host,port,service/channel name.So if somebody would like to see the WSDL like any 3rd party wsdl, is it possible for a SAP PI generated webservice ? or will it be only possible if we publish the service to UDDI ?

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You can publish sender service interface in service registry and provide URL to third party so that they can view, search and test the wsdl or manually send the wsdl to the third party so that they can use it for the development.

Publishing interface in service registry link as below.

http://www.riyaz.net/sap/pi-71-publishing-service-interface-as-a-webservice-in-sr/527/

http://scn.sap.com/people/daniel.graversen/blog/2008/02/27/publish-services-from-pi-71-to-the-servic...

Former Member
0 Kudos

Hi Harish,

You don't need to explicitly publish your service to a registry to get the WSDL URL.

It might look different on PI 7.0 and I can't quite remember exactly whether the option was there on 7.0 (or just called something else). Open your sender agreement on PI, select 'Sender Agreement' drop down menu --> Display WSDL.

When that opens up you will see the WSDL URL. It's similar to the 3rd party WSDL URL you mentioned above and you can open the PI WSDL in a browser using this URL. But like all nice-to-have things you will need a PI user and pass to view the WSDL so I'm not sure how workable this option is for a 3rd party.

Regards, Trevor