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 Thu, 05 Jul 2012 21:09:05 GMT
I have a WSDL 1.1 web service with 2 operations.  The service was generated from the WSDL
with Axis2 1.6.1.  One operation is a simple echo that I am trying to invoke via REST.  The
echo operation should return the request string in the response.  I can access the operation
but nothing comes back in the response.  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 response I get is:
<ship:echoResponse xmlns:ship=; />

The pertinent parts of the WSDL are shown below.

<xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace=";
xmlns:xsd=" name="EchoRequestType">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="100"/>
<!-- Echo Request Type -->
<xsd:element name="echoRequest" type="tns:EchoRequestType"/>
<!-- Echo Response Type --><xsd:element name="echoResponse" type="xsd:string"/>
<!-- 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 help is appreciated.


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

View raw message