I have a web service exposed by an external entity that is developed in java.
My client is a .Net client.
I am unable to create the proxy class for this webservice using WSDL tool it errors out when it tries to read the schema file referenced in the WSDL file as
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="uri:StateApiService.types"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
targetNamespace="uri:StateApiService.types">
<xsd:include schemaLocation="StateApiTypes.xsd"/>
</xsd:schema>
I have both my wsdl and xsd file locally in the same directory and I am trying to run the WSDL tool to generate the proxy.
Here is the beginning part of the schema file (XSD), just in case someone can tell me if there is anything wrong with the namespace or something:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="uri:StateApiService.types"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
targetNamespace="uri:StateApiService.types">
<xsd:element name="ServerException">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="code" type="xsd:string"/>
<xsd:element name="message" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
What I am looking for Is there a tool out there that will take the WSDL and its referenced schema XSD and put all the type definitions in the schema inline into the WSDL so that the WSDL.exe tool may have a better chance of success?
Thanks a lot in advance for looking up my problem.