Hi All,
I ahve the following WSDL file and it has a schema defined with name "ConcatS", which is further referenced as a part of a message.
But when I try to generate the sourcecode, i get following error
java.io.IOException: Type {http://www.example.org/WSDLFile/}ConcatS is referenced but not defined.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/WSDLFile/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WSDLFile" targetNamespace="http://www.example.org/WSDLFile/" xmlns:p="http://schemas.xmlsoap.org/wsdl/http/">
<wsdl:types>
<xsd:schema targetNamespace="http://www.example.org/WSDLFile/">
<xsd:element name="ConcatS">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="String4" type="xsd:string"></xsd:element>
<xsd:element name="String2" type="xsd:string"></xsd:element>
<xsd:element name="String3" type="xsd:string"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="NewOperationRequest">
<wsdl:part name="NewOperationRequest" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="NewOperationResponse">
<wsdl:part name="NewOperationResponse" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="ConcatRequest">
<wsdl:part name="testPart" type="tns:ConcatS"></wsdl:part>
</wsdl:message>
<wsdl:message name="ConcatResponse">
<wsdl:part name="ConcatResponse" type="xsd:string"></wsdl:part>
</wsdl:message>
<wsdl:portType name="WSDLFile">
<wsdl:operation name="NewOperation">
<wsdl:input message="tns:NewOperationRequest"/>
<wsdl:output message="tns:NewOperationResponse"/>
</wsdl:operation>
<wsdl:operation name="Concat">
<wsdl:input message="tns:ConcatRequest"></wsdl:input>
<wsdl:output message="tns:ConcatResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="WSDLFileSOAP" type="tns:WSDLFile">
<
soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="NewOperation">
<soap:operation soapAction="http://www.example.org/WSDLFile/NewOperation"/>
<wsdl:input>
<soap:body namespace="http://www.example.org/WSDLFile/" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body namespace="http://www.example.org/WSDLFile/" use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Concat">
<soap:operation soapAction="http://www.example.org/WSDLFile/Concat"/>
<wsdl:input>
<soap:body namespace="http://www.example.org/WSDLFile/" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body namespace="http://www.example.org/WSDLFile/" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WSDLFile">
<wsdl:port binding="tns:WSDLFileSOAP" name="WSDLFileSOAP">
<soap:address location="http://www.example.org/"/>
</wsdl:port>
<p:address location="http://127.0.0.1:8080/SimpleWebService"></p:address></wsdl:service>
</wsdl:definitions>