Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.94, 0.95
-
None
Description
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.