You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Sudhir <su...@infolead.com> on 2002/08/21 22:14:34 UTC
doclit
I have a WSDL with the following WSDL elements. WSDL2Java is failing on this with the exception
java.io.IOException: Error: Message part Body of operation or fault
GetResult has no element or type attribute.
Doesnt the WSDL2Java support doclit type?
If i write the client by hand, how will it look like?
Thanks
Type element :
<s:element name="GetResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetResult">
<s:complexType mixed="true">
<s:sequence>
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
Message:
<message name="GetResponseSoapOut">
<part name="parameters" element="s0:GetResponse" />
</message>
Porttype:
<portType name="XXXServiceSoap">
<operation name="XXXGet">
<input message="s0:XXXSoapIn" />
<output message="s0:GetResponseSoapOut" />
</operation>
Binding:
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<operation name="XXXGet">
<soap:operation soapAction="http://mysoapaction" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
Hiroshima..45........Tjernobil..86........Windows..95....