[
https://issues.apache.org/jira/browse/AXIS2C-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591982#action_12591982
]
Damitha Kumarage commented on AXIS2C-1120:
------------------------------------------
Yes.
The problem here is it seems that ServiceClient is not designed to work taking
url with parameters for GET operations. It expects an xml payload.
I have fixed this issue by doing little chnage to service client code so that
now I can do
/echo_rest -mGET
http://localhost:9090/axis2/services/echo/echoString?text='Hello World'
without creating a om payload by the client application. I'll commit this after
the code freeze.
> echo_rest sample does not work with mGET options
> -------------------------------------------------
>
> Key: AXIS2C-1120
> URL: https://issues.apache.org/jira/browse/AXIS2C-1120
> Project: Axis2-C
> Issue Type: Bug
> Reporter: Damitha Kumarage
>
> When I invoked it as
> ./echo_rest -mGET
> http://localhost:9090/axis2/services/echo/echoString?text='Hello World'
> it worked. But when I went into the code and commented line
> *payload = build_om_payload_for_echo_svc(env);
> it did not work. So it seems that GET request is constructed not from url
> parameters but from payload xml.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]