Adding Webservices VS2005 beta2 problem
Error: There was an error processing 'http://sj-barsoap:8080/jboss-net/services/BaanDataRetrieval?wsdl'.
- The document at the url http://sj-barsoap:8080/jboss-net/services/BaanDataRetrieval?wsdl was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'system.web.services.discovery.discoverydocumentreference' is 'Discovery document at the URL http://sj-barsoap:8080/jboss-net/services/BaanDataRetrieval?wsdl could not be found.'.
- The document format is not recognized.
- Report from 'system.web.services.discovery.contractreference' is 'There is an error in the XML document.'.
- The element is not supported in this context: <sequence xmlns="http://www.w3
.org/2001/XMLSchema"><element name="value" nillable="true" type="xsd:anyType" />
</sequence>.
- Report from 'system.web.services.discovery.schemareference' is 'Expected Schema root. Make sure the root element is <schema> and the namespace is 'http://www.w3.org/2001/XMLSchema' for an XSD schema or 'urn:schemas-microsoft-com:xml-data' for an XDR schema.'.
Now if I just knew what it meant...
The only place that the wsdl has a element named value is in the following schema that I don't have any control over (yea jboss!)
<schema targetNamespace="http://net.jboss.org/jmx">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="ObjectNameType">
<simpleContent>
<extension base="string"/>
</simpleContent>
</complexType>
<complexType name="AttributeType">
<attribute name="name" type="xsd:string"/>
<complexContent>
<sequence>
<element name="value" nillable="true" type="xsd:anyType"/>
</sequence>
</complexContent>
</complexType>
</schema>

