Axis2
  1. Axis2
  2. AXIS2-4264

Empty action not applied in CommonsHTTPTransportSender

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3, 1.4, 1.4.1, 1.5
    • Fix Version/s: 1.6.0
    • Component/s: transports
    • Labels:
      None

      Description

      Hello there,

      I'm invoking a service using a ServiceClient, the wsdl operation declares an empty soapAction.
      However the soapActiuon actually sent is "urn:anonOutInOp" which the server refuses. This action is the action the anonymous operation "urn:anonOutInOp" and is set by the ServiceClient.

      Later when CommonsHTTPTransportSender#findSOAPAction [1] is invoked, if the action of the MessageContext is null or empty, the operation action is used. The empty case seems like a bug, because this is the action set in the wsdl and it is not applied.
      This opinion is strengthened by the fact that other senders do not have this behavior.

      The right behavior would be:
      if null ; use the operation action as a default
      if empty ; send an empty soapAction

      Could you confirm please?

      Alexis

      [1] http://is.gd/m0Mt

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Rich Scheuerle
            Reporter:
            Alexis Midon
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development