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 Christoph Miksovic <ch...@ch.ibm.com> on 2006/05/18 17:34:07 UTC
Axis2: REST-Style with HTTP-GET - how to add parameters?
Hello everybody,
I have problems acessing the Axis2SampleDocLitService Sample using
REST-Style with HTTP-GET.
Can you please tell me what is the correct way to set the parameter?
The operation signature is echoString(String echoStringParam) (see WSDL
File below).
I tried several things like for instance
http://localhost:8080/axis2/rest/Axis2SampleDocLitService/echoString?echoStringParam=hello
But I always get an error as follows:
org.apache.axis2.AxisFault: Data binding error; nested exception is:
java.lang.RuntimeException: Data binding error; nested exception is:
org.apache.axis2.AxisFault: Data binding error; nested exception is:
java.lang.RuntimeException: Data binding error
org.apache.axis2.transport.http.util.RESTUtil.processGetRequest(RESTUtil.java:141)
org.apache.axis2.transport.http.AxisRESTServlet.doGet(AxisRESTServlet.java:36)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Thanks a lot for any help!
Cheers,
Christoph
_________________________________________________________________________________
WSDL File, generated by Axis2 Engine:
<wsdl:definitions targetNamespace="
http://userguide.axis2.apache.org/Axis2SampleDocLit">
-
<wsdl:types>
-
<schema targetNamespace="http://userguide.axis2.apache.org/xsd"
elementFormDefault="qualified" attributeFormDefault="unqualified">
-
<complexType name="ArrayOfstring_literal">
-
<sequence>
<element type="string" name="string" maxOccurs="unbounded"/>
</sequence>
</complexType>
-
<complexType name="SOAPStruct">
-
<all>
<element type="float" name="varFloat"/>
<element type="int" name="varInt"/>
<element type="string" name="varString"/>
</all>
</complexType>
<element type="string" name="echoStringParam"/>
<element type="int" name="echoIntParam"/>
<element type="string" name="echoStringReturn"/>
<element type="xsd1:ArrayOfstring_literal" name="echoStringArrayParam"/>
<element type="xsd1:ArrayOfstring_literal" name="echoStringArrayReturn"/>
<element type="xsd1:SOAPStruct" name="echoStructParam"/>
<element type="xsd1:SOAPStruct" name="echoStructReturn"/>
</schema>
</wsdl:types>
-
<wsdl:message name="echoStringArray">
<wsdl:part element="xsd1:echoStringArrayParam" name="part1"/>
</wsdl:message>
-
<wsdl:message name="echoStringArrayResponse">
<wsdl:part element="xsd1:echoStringArrayReturn" name="part1"/>
</wsdl:message>
-
<wsdl:message name="echoString">
<wsdl:part element="xsd1:echoStringParam" name="part1"/>
</wsdl:message>
-
<wsdl:message name="echoStringResponse">
<wsdl:part element="xsd1:echoStringReturn" name="part1"/>
</wsdl:message>
-
<wsdl:message name="echoStruct">
<wsdl:part element="xsd1:echoStructParam" name="part1"/>
</wsdl:message>
-
<wsdl:message name="echoStructResponse">
<wsdl:part element="xsd1:echoStructReturn" name="part1"/>
</wsdl:message>
-
<wsdl:portType name="Axis2SampleDocLitServicePortType">
-
<wsdl:operation name="echoStringArray">
<wsdl:input message="tns:echoStringArray"/>
<wsdl:output message="tns:echoStringArrayResponse"/>
</wsdl:operation>
-
<wsdl:operation name="echoString">
<wsdl:input message="tns:echoString"/>
<wsdl:output message="tns:echoStringResponse"/>
</wsdl:operation>
-
<wsdl:operation name="echoStruct">
<wsdl:input message="tns:echoStruct"/>
<wsdl:output message="tns:echoStructResponse"/>
</wsdl:operation>
</wsdl:portType>
-
<wsdl:binding type="tns:Axis2SampleDocLitServicePortType"
name="Axis2SampleDocLitServiceSOAP11Binding">
<soap:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http"/>
-
<wsdl:operation name="echoStringArray">
<soap:operation style="document" soapAction="echoStringArray"/>
-
<wsdl:input>
<soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
use="literal"/>
</wsdl:input>
-
<wsdl:output>
<soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
use="literal"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="echoString">
<soap:operation style="document" soapAction="echoString"/>
-
<wsdl:input>
<soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
use="literal"/>
</wsdl:input>
-
<wsdl:output>
<soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
use="literal"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="echoStruct">
<soap:operation style="document" soapAction="echoStruct"/>
-
<wsdl:input>
<soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
use="literal"/>
</wsdl:input>
-
<wsdl:output>
<soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
-
<wsdl:binding type="tns:Axis2SampleDocLitServicePortType"
name="Axis2SampleDocLitServiceSOAP12Binding">
<soap12:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http"/>
-
<wsdl:operation name="echoStringArray">
<soap12:operation style="document" soapAction="echoStringArray"/>
-
<wsdl:input>
<soap12:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit
" use="literal"/>
</wsdl:input>
-
<wsdl:output>
<soap12:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit
" use="literal"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="echoString">
<soap12:operation style="document" soapAction="echoString"/>
-
<wsdl:input>
<soap12:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit
" use="literal"/>
</wsdl:input>
-
<wsdl:output>
<soap12:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit
" use="literal"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="echoStruct">
<soap12:operation style="document" soapAction="echoStruct"/>
-
<wsdl:input>
<soap12:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit
" use="literal"/>
</wsdl:input>
-
<wsdl:output>
<soap12:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit
" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
-
<wsdl:binding type="tns:Axis2SampleDocLitServicePortType"
name="Axis2SampleDocLitServiceHttpBinding">
<http:binding verb="POST"/>
-
<wsdl:operation name="echoStringArray">
<http:operation location="echoStringArray"/>
-
<wsdl:input>
<mime:content type="text/xml"/>
</wsdl:input>
-
<wsdl:output>
<mime:content type="text/xml"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="echoString">
<http:operation location="echoString"/>
-
<wsdl:input>
<mime:content type="text/xml"/>
</wsdl:input>
-
<wsdl:output>
<mime:content type="text/xml"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="echoStruct">
<http:operation location="echoStruct"/>
-
<wsdl:input>
<mime:content type="text/xml"/>
</wsdl:input>
-
<wsdl:output>
<mime:content type="text/xml"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
-
<wsdl:service name="Axis2SampleDocLitService">
-
<wsdl:port binding="tns:Axis2SampleDocLitServiceSOAP11Binding"
name="Axis2SampleDocLitServiceSOAP11port0">
<soap:address location="
http://localhost:8080/axis2/services/Axis2SampleDocLitService"/>
</wsdl:port>
-
<wsdl:port binding="tns:Axis2SampleDocLitServiceSOAP12Binding"
name="Axis2SampleDocLitServiceSOAP12port0">
<soap12:address location="
http://localhost:8080/axis2/services/Axis2SampleDocLitService"/>
</wsdl:port>
-
<wsdl:port binding="tns:Axis2SampleDocLitServiceHttpBinding"
name="Axis2SampleDocLitServiceHttpport0">
<http:address location="
http://localhost:8080/axis2/rest/Axis2SampleDocLitService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Best regards,
Christoph Miksovic
IT Architect
Enterprise Application Development
IBM Global Business Services
Vulkanstrasse 106, Postfach
8010 Zürich
Phone: +41 (0)58 333-5197
Mobile phone +41 (0)79 500-8747
Fax: +41 (0)58 333-5781
mailto:christoph.miksovic@ch.ibm.com
Enterprise Application Development (EAD)
http://www-5.ibm.com/services/ch/bcs_ead.html
Enterprise Application Integration (EAI)
http://www-5.ibm.com/services/ch/bcs_eai.html
.NET Solutions http://www-5.ibm.com/services/ch/bcs_net.html
Re: Axis2: REST-Style with HTTP-GET - how to add parameters?
Posted by Christoph Miksovic <ch...@ch.ibm.com>.
Thank you for your help!
But how can I configure Axis2 to generate a WSDL that does have a GET
binding?
Thank you very much.
Cheers,
Christoph
"Anne Thomas
Manes"
<atmanes@gmail.co To
m> axis-user@ws.apache.org
cc
19.05.2006 21:44
Subject
Re: Axis2: REST-Style with HTTP-GET
Please respond to - how to add parameters?
axis-user
Your WSDL doesn't have a GET binding (just POST).
On 5/18/06, Christoph Miksovic <christoph.miksovic@ch.ibm.com > wrote:
Hello everybody,
I have problems acessing the Axis2SampleDocLitService Sample using
REST-Style with HTTP-GET.
Can you please tell me what is the correct way to set the parameter?
The operation signature is echoString(String echoStringParam) (see WSDL
File below).
I tried several things like for instance
http://localhost:8080/axis2/rest/Axis2SampleDocLitService/echoString?echoStringParam=hello
But I always get an error as follows:
org.apache.axis2.AxisFault: Data binding error; nested exception is:
java.lang.RuntimeException: Data binding error; nested exception
is:
org.apache.axis2.AxisFault: Data binding error; nested exception
is:
java.lang.RuntimeException: Data binding error
org.apache.axis2.transport.http.util.RESTUtil.processGetRequest(RESTUtil.java:141)
org.apache.axis2.transport.http.AxisRESTServlet.doGet(AxisRESTServlet.java
:36)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Thanks a lot for any help!
Cheers,
Christoph
_________________________________________________________________________________
WSDL File, generated by Axis2 Engine:
<wsdl:definitions targetNamespace="
http://userguide.axis2.apache.org/Axis2SampleDocLit">
-
<wsdl:types>
-
<schema targetNamespace="http://userguide.axis2.apache.org/xsd"
elementFormDefault="qualified" attributeFormDefault="unqualified">
-
<complexType name="ArrayOfstring_literal">
-
<sequence>
<element type="string" name="string" maxOccurs="unbounded"/>
</sequence>
</complexType>
-
<complexType name="SOAPStruct">
-
<all>
<element type="float" name="varFloat"/>
<element type="int" name="varInt"/>
<element type="string" name="varString"/>
</all>
</complexType>
<element type="string" name="echoStringParam"/>
<element type="int" name="echoIntParam"/>
<element type="string" name="echoStringReturn"/>
<element type="xsd1:ArrayOfstring_literal" name="echoStringArrayParam"/>
<element type="xsd1:ArrayOfstring_literal" name="echoStringArrayReturn"/>
<element type="xsd1:SOAPStruct" name="echoStructParam"/>
<element type="xsd1:SOAPStruct" name="echoStructReturn"/>
</schema>
</wsdl:types>
-
<wsdl:message name="echoStringArray">
<wsdl:part element="xsd1:echoStringArrayParam" name="part1"/>
</wsdl:message>
-
<wsdl:message name="echoStringArrayResponse">
<wsdl:part element="xsd1:echoStringArrayReturn" name="part1"/>
</wsdl:message>
-
<wsdl:message name="echoString">
<wsdl:part element="xsd1:echoStringParam" name="part1"/>
</wsdl:message>
-
<wsdl:message name="echoStringResponse">
<wsdl:part element="xsd1:echoStringReturn" name="part1"/>
</wsdl:message>
-
<wsdl:message name="echoStruct">
<wsdl:part element="xsd1:echoStructParam" name="part1"/>
</wsdl:message>
-
<wsdl:message name="echoStructResponse">
<wsdl:part element="xsd1:echoStructReturn" name="part1"/>
</wsdl:message>
-
<wsdl:portType name="Axis2SampleDocLitServicePortType">
-
<wsdl:operation name="echoStringArray">
<wsdl:input message="tns:echoStringArray"/>
<wsdl:output message="tns:echoStringArrayResponse"/>
</wsdl:operation>
-
<wsdl:operation name="echoString">
<wsdl:input message="tns:echoString"/>
<wsdl:output message="tns:echoStringResponse"/>
</wsdl:operation>
-
<wsdl:operation name="echoStruct">
<wsdl:input message="tns:echoStruct"/>
<wsdl:output message="tns:echoStructResponse"/>
</wsdl:operation>
</wsdl:portType>
-
<wsdl:binding type="tns:Axis2SampleDocLitServicePortType"
name="Axis2SampleDocLitServiceSOAP11Binding">
<soap:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http"/>
-
<wsdl:operation name="echoStringArray">
<soap:operation style="document" soapAction="echoStringArray"/>
-
<wsdl:input>
<soap:body namespace="
http://userguide.axis2.apache.org/Axis2SampleDocLit"
use="literal"/>
</wsdl:input>
-
<wsdl:output>
<soap:body namespace="
http://userguide.axis2.apache.org/Axis2SampleDocLit"
use="literal"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="echoString">
<soap:operation style="document" soapAction="echoString"/>
-
<wsdl:input>
<soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit
"
use="literal"/>
</wsdl:input>
-
<wsdl:output>
<soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit
"
use="literal"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="echoStruct">
<soap:operation style="document" soapAction="echoStruct"/>
-
<wsdl:input>
<soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit
"
use="literal"/>
</wsdl:input>
-
<wsdl:output>
<soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit
"
use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
-
<wsdl:binding type="tns:Axis2SampleDocLitServicePortType"
name="Axis2SampleDocLitServiceSOAP12Binding">
<soap12:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http"/>
-
<wsdl:operation name="echoStringArray">
<soap12:operation style="document" soapAction="echoStringArray"/>
-
<wsdl:input>
<soap12:body namespace="
http://userguide.axis2.apache.org/Axis2SampleDocLit
" use="literal"/>
</wsdl:input>
-
<wsdl:output>
<soap12:body namespace="
http://userguide.axis2.apache.org/Axis2SampleDocLit
" use="literal"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="echoString">
<soap12:operation style="document" soapAction="echoString"/>
-
<wsdl:input>
<soap12:body namespace="
http://userguide.axis2.apache.org/Axis2SampleDocLit
" use="literal"/>
</wsdl:input>
-
<wsdl:output>
<soap12:body namespace="
http://userguide.axis2.apache.org/Axis2SampleDocLit
" use="literal"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="echoStruct">
<soap12:operation style="document" soapAction="echoStruct"/>
-
<wsdl:input>
<soap12:body namespace="
http://userguide.axis2.apache.org/Axis2SampleDocLit
" use="literal"/>
</wsdl:input>
-
<wsdl:output>
<soap12:body namespace="
http://userguide.axis2.apache.org/Axis2SampleDocLit
" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
-
<wsdl:binding type="tns:Axis2SampleDocLitServicePortType"
name="Axis2SampleDocLitServiceHttpBinding">
<http:binding verb="POST"/>
-
<wsdl:operation name="echoStringArray">
<http:operation location="echoStringArray"/>
-
<wsdl:input>
<mime:content type="text/xml"/>
</wsdl:input>
-
<wsdl:output>
<mime:content type="text/xml"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="echoString">
<http:operation location="echoString"/>
-
<wsdl:input>
<mime:content type="text/xml"/>
</wsdl:input>
-
<wsdl:output>
<mime:content type="text/xml"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="echoStruct">
<http:operation location="echoStruct"/>
-
<wsdl:input>
<mime:content type="text/xml"/>
</wsdl:input>
-
<wsdl:output>
<mime:content type="text/xml"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
-
<wsdl:service name="Axis2SampleDocLitService">
-
<wsdl:port binding="tns:Axis2SampleDocLitServiceSOAP11Binding"
name="Axis2SampleDocLitServiceSOAP11port0">
<soap:address location="
http://localhost:8080/axis2/services/Axis2SampleDocLitService"/>
</wsdl:port>
-
<wsdl:port binding="tns:Axis2SampleDocLitServiceSOAP12Binding"
name="Axis2SampleDocLitServiceSOAP12port0">
<soap12:address location="
http://localhost:8080/axis2/services/Axis2SampleDocLitService"/>
</wsdl:port>
-
<wsdl:port binding="tns:Axis2SampleDocLitServiceHttpBinding"
name="Axis2SampleDocLitServiceHttpport0">
<http:address location="
http://localhost:8080/axis2/rest/Axis2SampleDocLitService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Best regards,
Christoph Miksovic
IT Architect
Enterprise Application Development
IBM Global Business Services
Vulkanstrasse 106, Postfach
8010 Zürich
Phone: +41 (0)58 333-5197
Mobile phone +41 (0)79 500-8747
Fax: +41 (0)58 333-5781
mailto: christoph.miksovic@ch.ibm.com
Enterprise Application Development (EAD)
http://www-5.ibm.com/services/ch/bcs_ead.html
Enterprise Application Integration (EAI)
http://www-5.ibm.com/services/ch/bcs_eai.html
.NET Solutions http://www-5.ibm.com/services/ch/bcs_net.html
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2: REST-Style with HTTP-GET - how to add parameters?
Posted by Anne Thomas Manes <at...@gmail.com>.
Your WSDL doesn't have a GET binding (just POST).
On 5/18/06, Christoph Miksovic <ch...@ch.ibm.com> wrote:
>
> Hello everybody,
>
> I have problems acessing the Axis2SampleDocLitService Sample using
> REST-Style with HTTP-GET.
> Can you please tell me what is the correct way to set the parameter?
>
> The operation signature is echoString(String echoStringParam) (see WSDL
> File below).
>
> I tried several things like for instance
>
>
> http://localhost:8080/axis2/rest/Axis2SampleDocLitService/echoString?echoStringParam=hello
>
> But I always get an error as follows:
> org.apache.axis2.AxisFault: Data binding error; nested exception is:
> java.lang.RuntimeException: Data binding error; nested exception is:
> org.apache.axis2.AxisFault: Data binding error; nested exception is:
> java.lang.RuntimeException: Data binding error
>
> org.apache.axis2.transport.http.util.RESTUtil.processGetRequest(
> RESTUtil.java:141)
>
> org.apache.axis2.transport.http.AxisRESTServlet.doGet(AxisRESTServlet.java
> :36)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> Thanks a lot for any help!
> Cheers,
> Christoph
>
>
>
> _________________________________________________________________________________
> WSDL File, generated by Axis2 Engine:
> <wsdl:definitions targetNamespace="
> http://userguide.axis2.apache.org/Axis2SampleDocLit">
> -
> <wsdl:types>
> -
> <schema targetNamespace="http://userguide.axis2.apache.org/xsd"
> elementFormDefault="qualified" attributeFormDefault="unqualified">
> -
> <complexType name="ArrayOfstring_literal">
> -
> <sequence>
> <element type="string" name="string" maxOccurs="unbounded"/>
> </sequence>
> </complexType>
> -
> <complexType name="SOAPStruct">
> -
> <all>
> <element type="float" name="varFloat"/>
> <element type="int" name="varInt"/>
> <element type="string" name="varString"/>
> </all>
> </complexType>
> <element type="string" name="echoStringParam"/>
> <element type="int" name="echoIntParam"/>
> <element type="string" name="echoStringReturn"/>
> <element type="xsd1:ArrayOfstring_literal" name="echoStringArrayParam"/>
> <element type="xsd1:ArrayOfstring_literal" name="echoStringArrayReturn"/>
> <element type="xsd1:SOAPStruct" name="echoStructParam"/>
> <element type="xsd1:SOAPStruct" name="echoStructReturn"/>
> </schema>
> </wsdl:types>
> -
> <wsdl:message name="echoStringArray">
> <wsdl:part element="xsd1:echoStringArrayParam" name="part1"/>
> </wsdl:message>
> -
> <wsdl:message name="echoStringArrayResponse">
> <wsdl:part element="xsd1:echoStringArrayReturn" name="part1"/>
> </wsdl:message>
> -
> <wsdl:message name="echoString">
> <wsdl:part element="xsd1:echoStringParam" name="part1"/>
> </wsdl:message>
> -
> <wsdl:message name="echoStringResponse">
> <wsdl:part element="xsd1:echoStringReturn" name="part1"/>
> </wsdl:message>
> -
> <wsdl:message name="echoStruct">
> <wsdl:part element="xsd1:echoStructParam" name="part1"/>
> </wsdl:message>
> -
> <wsdl:message name="echoStructResponse">
> <wsdl:part element="xsd1:echoStructReturn" name="part1"/>
> </wsdl:message>
> -
> <wsdl:portType name="Axis2SampleDocLitServicePortType">
> -
> <wsdl:operation name="echoStringArray">
> <wsdl:input message="tns:echoStringArray"/>
> <wsdl:output message="tns:echoStringArrayResponse"/>
> </wsdl:operation>
> -
> <wsdl:operation name="echoString">
> <wsdl:input message="tns:echoString"/>
> <wsdl:output message="tns:echoStringResponse"/>
> </wsdl:operation>
> -
> <wsdl:operation name="echoStruct">
> <wsdl:input message="tns:echoStruct"/>
> <wsdl:output message="tns:echoStructResponse"/>
> </wsdl:operation>
> </wsdl:portType>
> -
> <wsdl:binding type="tns:Axis2SampleDocLitServicePortType"
> name="Axis2SampleDocLitServiceSOAP11Binding">
> <soap:binding style="document" transport="
> http://schemas.xmlsoap.org/soap/http"/>
> -
> <wsdl:operation name="echoStringArray">
> <soap:operation style="document" soapAction="echoStringArray"/>
> -
> <wsdl:input>
> <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
> use="literal"/>
> </wsdl:input>
> -
> <wsdl:output>
> <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
> use="literal"/>
> </wsdl:output>
> </wsdl:operation>
> -
> <wsdl:operation name="echoString">
> <soap:operation style="document" soapAction="echoString"/>
> -
> <wsdl:input>
> <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
> use="literal"/>
> </wsdl:input>
> -
> <wsdl:output>
> <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
> use="literal"/>
> </wsdl:output>
> </wsdl:operation>
> -
> <wsdl:operation name="echoStruct">
> <soap:operation style="document" soapAction="echoStruct"/>
> -
> <wsdl:input>
> <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
> use="literal"/>
> </wsdl:input>
> -
> <wsdl:output>
> <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
> use="literal"/>
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> -
> <wsdl:binding type="tns:Axis2SampleDocLitServicePortType"
> name="Axis2SampleDocLitServiceSOAP12Binding">
> <soap12:binding style="document" transport="
> http://schemas.xmlsoap.org/soap/http"/>
> -
> <wsdl:operation name="echoStringArray">
> <soap12:operation style="document" soapAction="echoStringArray"/>
> -
> <wsdl:input>
> <soap12:body namespace="
> http://userguide.axis2.apache.org/Axis2SampleDocLit
> " use="literal"/>
> </wsdl:input>
> -
> <wsdl:output>
> <soap12:body namespace="
> http://userguide.axis2.apache.org/Axis2SampleDocLit
> " use="literal"/>
> </wsdl:output>
> </wsdl:operation>
> -
> <wsdl:operation name="echoString">
> <soap12:operation style="document" soapAction="echoString"/>
> -
> <wsdl:input>
> <soap12:body namespace="
> http://userguide.axis2.apache.org/Axis2SampleDocLit
> " use="literal"/>
> </wsdl:input>
> -
> <wsdl:output>
> <soap12:body namespace="
> http://userguide.axis2.apache.org/Axis2SampleDocLit
> " use="literal"/>
> </wsdl:output>
> </wsdl:operation>
> -
> <wsdl:operation name="echoStruct">
> <soap12:operation style="document" soapAction="echoStruct"/>
> -
> <wsdl:input>
> <soap12:body namespace="
> http://userguide.axis2.apache.org/Axis2SampleDocLit
> " use="literal"/>
> </wsdl:input>
> -
> <wsdl:output>
> <soap12:body namespace="
> http://userguide.axis2.apache.org/Axis2SampleDocLit
> " use="literal"/>
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> -
> <wsdl:binding type="tns:Axis2SampleDocLitServicePortType"
> name="Axis2SampleDocLitServiceHttpBinding">
> <http:binding verb="POST"/>
> -
> <wsdl:operation name="echoStringArray">
> <http:operation location="echoStringArray"/>
> -
> <wsdl:input>
> <mime:content type="text/xml"/>
> </wsdl:input>
> -
> <wsdl:output>
> <mime:content type="text/xml"/>
> </wsdl:output>
> </wsdl:operation>
> -
> <wsdl:operation name="echoString">
> <http:operation location="echoString"/>
> -
> <wsdl:input>
> <mime:content type="text/xml"/>
> </wsdl:input>
> -
> <wsdl:output>
> <mime:content type="text/xml"/>
> </wsdl:output>
> </wsdl:operation>
> -
> <wsdl:operation name="echoStruct">
> <http:operation location="echoStruct"/>
> -
> <wsdl:input>
> <mime:content type="text/xml"/>
> </wsdl:input>
> -
> <wsdl:output>
> <mime:content type="text/xml"/>
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> -
> <wsdl:service name="Axis2SampleDocLitService">
> -
> <wsdl:port binding="tns:Axis2SampleDocLitServiceSOAP11Binding"
> name="Axis2SampleDocLitServiceSOAP11port0">
> <soap:address location="
> http://localhost:8080/axis2/services/Axis2SampleDocLitService"/>
> </wsdl:port>
> -
> <wsdl:port binding="tns:Axis2SampleDocLitServiceSOAP12Binding"
> name="Axis2SampleDocLitServiceSOAP12port0">
> <soap12:address location="
> http://localhost:8080/axis2/services/Axis2SampleDocLitService"/>
> </wsdl:port>
> -
> <wsdl:port binding="tns:Axis2SampleDocLitServiceHttpBinding"
> name="Axis2SampleDocLitServiceHttpport0">
> <http:address location="
> http://localhost:8080/axis2/rest/Axis2SampleDocLitService"/>
> </wsdl:port>
> </wsdl:service>
> </wsdl:definitions>
>
>
> Best regards,
>
> Christoph Miksovic
> IT Architect
> Enterprise Application Development
>
> IBM Global Business Services
> Vulkanstrasse 106, Postfach
> 8010 Zürich
> Phone: +41 (0)58 333-5197
> Mobile phone +41 (0)79 500-8747
> Fax: +41 (0)58 333-5781
> mailto:christoph.miksovic@ch.ibm.com
>
> Enterprise Application Development (EAD)
> http://www-5.ibm.com/services/ch/bcs_ead.html
> Enterprise Application Integration (EAI)
> http://www-5.ibm.com/services/ch/bcs_eai.html
> .NET Solutions http://www-5.ibm.com/services/ch/bcs_net.html
>
>