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

Kishanthan Thangarajah commented on AXIS2-5516:
-----------------------------------------------

Again that is no the correct way to define. I'm attaching the modified wsdl for 
reference.

If you have a operation called "echo" and the element mapped to this operation 
is "echoRequest", which takes an input parameter with the name "param", as i 
have described above in my comment, then the rest request would be like 

http://localhost:8080/axis2/services/TestService/echo?param=ping

And the response for this would be :

<ns1:echoResponse 
xmlns:ns1="http://www.example.com/test";>ping</ns1:echoResponse>
                
> 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: TestService-modified.wsdl, 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