aspose 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 Soft Skills this week in the Jobs Discussion 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validating WSDL file against 2 xsd files