[ 
https://issues.apache.org/jira/browse/AXIS2-5516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645995#comment-13645995
 ] 

J. Allen commented on AXIS2-5516:
---------------------------------

The WSDL was changed to use a string as the request parameter.  The code stubs 
were regenerated using the wsdl2java command.  Below is the new echoRequest 
element in the WSDL:

<!-- Echo Request Type -->
<xsd:element name="echoRequest" type="xsd:string"/>

The same request still returns a blank response.  Here is the request:

http://localhost:9082/test/services/TestService/echo?echoRequest=ping

                
> ReST request always returns blank response
> ------------------------------------------
>
>                 Key: AXIS2-5516
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5516
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.6.1
>         Environment: Windows + IBM Rational Application Developer (RAD) + 
> Websphere Application Server (WAS) 6.1;
> IBMi + WAS 6.1
>            Reporter: J. Allen
>              Labels: rest, wsdl, xmlbeans
>         Attachments: TestServiceSkeleton.java, TestService.wsdl
>
>
> A version 1.1 WSDL was created and the wsdl2java command run to generate code 
> stubs. The WSDL has 1 operation - echo - to return the string in the request. 
>  The service class was implemented to return the request string.
> All ReST requests to the WSDL 1.1 web service return a blank response. SOAP 
> requests work fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to