You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2006/11/29 07:43:21 UTC

[jira] Updated: (AXIS2C-432) Endpoint reference service URI truncated

     [ http://issues.apache.org/jira/browse/AXIS2C-432?page=all ]

Samisa Abeysinghe updated AXIS2C-432:
-------------------------------------

    Attachment: url.patch

I am not sure if it is legal to send pramaters in the resource path section of a POST request. Till we figure that out, I have provided a quick patch to fix your problem. Please apply this to util/src/url.c and see if it works

> Endpoint reference service URI truncated
> ----------------------------------------
>
>                 Key: AXIS2C-432
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-432
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport
>    Affects Versions: 0.94, 0.95
>            Reporter: Andrew Borley
>         Attachments: url.patch
>
>
> Axis2/C is truncating the query part of the URI I'm setting in the endpoint ref of my client.
> My code is something like:
> char* address = "http://server:port/path/to/services?servicename=Name";
> axis2_endpoint_ref_t* endpoint_ref = axis2_endpoint_ref_create(env, address);
> /* Set options */
> AXIS2_OPTIONS_SET_TO(options, env, endpoint_ref);
> ...
> axiom_node_t* ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client,env, payload);
> But using a TCP monitor, the first line of the HTTP header looks like:
> POST /path/to/services HTTP/1.1
> Should the path used in the HTTP call not be "/path/to/services?servicename=Name" ? 
> This currently causes calls to certain services (like the Amazon web services) to fail.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org