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 "Frydl, Josef" <Jo...@troweprice.com> on 2002/02/27 20:15:34 UTC
document or message style SOAP
Is there any utility line wsdl2java which can be used to generate stubs and
skeletons for document style SOAP. That is when I specify in wsdl:
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
Thanks
Josef Frydl
Josef_Frydl@troweprice.com
410-345-8511
Re: document or message style SOAP
Posted by Stan Jordan <sk...@worldnet.att.net>.
Josef...
Since early Feb, there is a message example in the nightly download. You
can create a WSDL file (pasted below) for this example in the usual way. An
interesting "feature" is that this WSDL file says style="rpc" even though
it's doing messaging (see below). Frankly, I am puzzled.
Cheers.
Stan
---------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://localhost:8080/axis/services/MessageService"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:impl="http://localhost:8080/axis/services/MessageService-impl"
xmlns:intf="http://localhost:8080/axis/services/MessageService"
xmlns:tns1="http://xml.apache.org/xml-soap"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><types><schema
targetNamespace="http://xml.apache.org/xml-soap"
xmlns="http://www.w3.org/2001/XMLSchema"><complexType
name="Vector"><complexContent><extension
base="SOAP-ENC:Array"><all/></extension></complexContent></complexType><elem
ent name="Vector" nillable="true" type="tns1:Vector"/></schema><schema
targetNamespace="http://localhost:8080/axis/services/MessageService"
xmlns="http://www.w3.org/2001/XMLSchema"><complexType
name="ArrayOf_tns1_Element"><complexContent><restriction
base="SOAP-ENC:Array"><attribute ref="SOAP-ENC:arrayType"
wsdl:arrayType="tns1:Element[]"/></restriction></complexContent></complexTyp
e><element name="ArrayOf_tns1_Element" nillable="true"
type="intf:ArrayOf_tns1_Element"/></schema></types>
<wsdl:message name="echoElementsResponse">
<wsdl:part name="return" type="intf:ArrayOf_tns1_Element"/>
</wsdl:message>
<wsdl:message name="echoElementsRequest">
<wsdl:part name="in1" type="tns1:Vector"/>
</wsdl:message>
<wsdl:portType name="MessageService">
<wsdl:operation name="echoElements" parameterOrder="in1">
<wsdl:input message="intf:echoElementsRequest"/>
<wsdl:output message="intf:echoElementsResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="MessageServiceSoapBinding" type="intf:MessageService">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="echoElements">
<wsdlsoap:operation soapAction="" style="rpc"/>
<wsdl:input>
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8080/axis/services/MessageService"
use="encoded"/>
</wsdl:input>
<wsdl:output>
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8080/axis/services/MessageService"
use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="MessageServiceService">
<wsdl:port binding="intf:MessageServiceSoapBinding"
name="MessageService">
<wsdlsoap:address
location="http://localhost:8080/axis/services/MessageService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
---------------------------------------------------
----- Original Message -----
From: "Frydl, Josef" <Jo...@troweprice.com>
To: <ax...@xml.apache.org>
Sent: Wednesday, February 27, 2002 12:15 PM
Subject: document or message style SOAP
> Is there any utility line wsdl2java which can be used to generate stubs
and
> skeletons for document style SOAP. That is when I specify in wsdl:
> <soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
>
> Thanks
> Josef Frydl
> Josef_Frydl@troweprice.com
> 410-345-8511
>
>