Skip to Content
avatar image
Former Member

Schema location in PI generated Webservice

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 27, 2012 at 02:32 PM

    >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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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