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

Shameera Rathnayaka commented on AXIS2-5516:
--------------------------------------------

Allen if you are going to use REST then your schema should adhere to IRI style 
[1] which is a part of wsdl2 definition. Axis2 XFromUrilEncoder try to build 
the message with IRI style, this is the default builder for Rest requests. If 
you are not comfortable with changing the schema then what you can do is write 
your custom builder. 

[1] http://www.w3.org/TR/2006/CR-wsdl20-adjuncts-20060327/#_operation_iri_style 
  
                
> 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