Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Validating WSDL file against 2 xsd files

 
don lohith
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic