[ http://issues.apache.org/jira/browse/AXIS2C-432?page=comments#action_12454300 ] Andrew Borley commented on AXIS2C-432: --------------------------------------
The patch looks like it is producing the right HTTP messages, but something is failing at the server so I can't validate the fix right now... > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
