Skip to Content
avatar image
Former Member

wsdl that references xsd's

Hello experts,

My wsdl has reference to a xsd. The problem is, when I try to import the wsdl, I do not see the entire request structure which is required while doing the mapping.

I have both the wsdl and xsdu2019s in the same folder.

I did go through the forum and tried what was suggested.

I have changed the parameter in the wsdl:

<xs:import schemaLocation="Distance.xsd"

Earlier schemaLocation was pointing to a url. Now I am pointing it to the xsd file name.

I have uploaded the wsdl and the xsd as external definition's under the same namespace. I can see the xsd name under "External Reference" tab of the wsdl as well. But the wsdl does not show the entire structure while doing the mapping.

Could you please advise if I need to change any other parameters as well.

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 14, 2010 at 02:52 PM

    Hi Radha,

    Under External References tab in WSDL ,there are two columns, Source and Name:

    Source should have xsd name and Name should have the name of External Definition which uses this xsd

    Can you see values populated for both Source and Name?

    If not,you have to go to the External Definition for your referenced xsd,there are two entries ,File and Source

    In File ,you must have given XSD name.

    Copy the same XSD name and enter it in source.

    Basically value of this Source and value of Source under External Regerences tab in wsdl should be same.

    Kindly let us know if this resolves your problem.




    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you Shweta...

      I changed the reference of the xsd in the wsdl.

      <xs:import schemaLocation="../Lookup.xsd"

      And I specified the same under Source of the XSD in ESR. ( ../Lookup.xsd )

      Thank you.