axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Sprat <>
Subject [Axis2] REST web service
Date Tue, 24 Jan 2012 17:01:06 GMT
I have a WSDL 1.1 web service with 2 operations.  One is a simple echo that I am trying to
invoke via REST.  The echo operation should giove back the request string in the response. 
I can access the operation but cannot pass the data in the single element in the inbound request. 
I thought it should work like this:
I get a response but there is nothing in the response element.  It works fine when invoked
via SOAP with soapUI.
The pertinent parts of the WSDL are shown below.
<wsdl:types><xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="" xmlns:xsd="">pe><xsd:simpleType
name="EchoRequestType"><xsd:restriction base="xsd:string"><xsd:maxLength value="100"/></xsd:restriction></xsd:simpleType> <!--
Echo Request Type --><xsd:element name="echoRequest" type="tns:EchoRequestType"/><!--
Echo Response Type --><xsd:element name="echoResponse" type="xsd:string"/></xsd:schema></wsdl:types><!--
Define SOAP message names. --><wsdl:message name="echoRequestMsg"><wsdl:part name="echoRequest"
element="tns:echoRequest"></wsdl:part></wsdl:message><wsdl:message name="echoResponseMsg"><wsdl:part
name="echoResponse" element="tns:echoResponse"></wsdl:part></wsdl:message>
Any tips are appreciated.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message