I am testing schema validation. When I send in a request to the web service I get this error back:
org.xml.sax.SAXParseException: s4s-elt-schema-ns: The namespace of element 'definitions' must be from the schema namespace, 'http://www.w3.org/2001/XMLSchema'.
Not true! The namespace of element 'definitions' is in fact "http://schemas.xmlsoap.org/wsdl/", and if I use the xml schema namespace then wsimport fails - I'm using top-down web service development. I confirmed that I am using namespaces exactly as they are being used in the schemavalidation demo http://jbossws.jboss.org/mediawiki/index.php?title=SchemaValidation_Demo
Does anybody have a recommendation? FYI here is the <definitions> tag:
<definitions name="Integrity_2010Service"
targetNamespace="http://webservice.mks.com/2010/Integrity"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:ns2="http://webservice.mks.com/2010/Integrity/fault"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://webservice.mks.com/2010/Integrity"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns3="http://www.w3.org/2005/05/xmlmime">