This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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

Validating WSDL file against 2 xsd files

don lohith

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Validating WSDL file against 2 xsd files
It's not a secret anymore!