Proxy class for an Axis Web Service

S

sing

Hello All

I am trying to develop the proxy class for an Axis Web Service which is based on Document/Literal binding. I have hand coded my WSDL and tried generating the proxy class using WSDL.exe but was not successful.

I am using an external XSD file to validate the SOAP messages in my WSDL. I am getting the following errors

--------------------
Error: There was an error processing 'http://......./XXX/NS2We
Service/DSHelloWorld.wsdl'
- The document at the url http://....../XXX//NS2WebService/D
HelloWorld.wsdl was not recognized as a known document type
The error message from each known type may help you fix the problem
- Report from 'WSDL Document' is 'There is an error in XML document (38, 1).'
- There are multiple root elements. Line 38, position 2
- Report from 'DISCO Document' is 'Discovery document at the URL http://..../XXX/NS2WebService/DSHelloWorld.wsdl could not be found.'
- The document format is not recognized
- Report from 'XML Schema' is 'Expected Schema root. Make sure that the root el
ment is <schema> and the namespace is 'http://www.w3.org/2001/XMLSchema' for a
XSD schema or 'urn:schemas-microsoft-com:xml-data' for an XDR schema. An error
ccurred at (2, 2).'

Any pointers

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top