Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-432

Endpoint reference service URI truncated

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.94, 0.95
    • 0.96
    • core/transport
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            samisa Don Samisa Abeysinghe
            ajborley Andrew Borley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment