File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Validating WSDL file against 2 xsd files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Validating WSDL file against 2 xsd files" Watch "Validating WSDL file against 2 xsd files" New topic
Author

Validating WSDL file against 2 xsd files

don lohith
Greenhorn

Joined: Oct 24, 2007
Posts: 16
Hello all, i am trying to validate my wsdl file against xsd(wsdl.xsd and soap.xsd) and it gives me an error Attribute "location" must be declared for element type "soap:address". The wsdl.xsd does not declare this(soap:address) element but the soap.xsd does declare it, both are having the same namespaces, and i have included the soap.xsd in the wsdl.xsd. Even then it is giving the same error. Can anyone kindly help me out???

And i am using a DOMParser for my validation.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Validating WSDL file against 2 xsd files
 
Similar Threads
client code to connect to Web services
Get webservice location using wsdl4j api
validation soap:body contents against wsdl
XML Schema Help
Unknown root element SAX error