Axis2
  1. Axis2
  2. AXIS2-5043

Add a TransportListener to the Axis2 Local transport

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.4
    • Fix Version/s: 1.7.0
    • Component/s: transports
    • Labels:
      None
    1. AXIS2-5043-patch.diff
      2 kB
      Heshan Suriyaarachchi

      Issue Links

        Activity

        Hide
        Andreas Veithen added a comment -

        Confirmed. For the Echo service deployed by the unit test in local/test/org/apache/axis2/transport/local/LocalTransportTest.java the code would generate the following EPR:

        local://localhost/services/Echo

        However, if you use that as the EPR in LocalTransportTest, then the unit test will fail with "The service cannot be found for the endpoint reference (EPR) local://localhost/services/Echo".

        Show
        Andreas Veithen added a comment - Confirmed. For the Echo service deployed by the unit test in local/test/org/apache/axis2/transport/local/LocalTransportTest.java the code would generate the following EPR: local://localhost/services/Echo However, if you use that as the EPR in LocalTransportTest, then the unit test will fail with "The service cannot be found for the endpoint reference (EPR) local://localhost/services/Echo".
        Hide
        Andreas Veithen added a comment -

        Doesn't the hardcoded "/services/" in the EPR calculation break the dispatching logic if the user defines a non default servicePath?

        Show
        Andreas Veithen added a comment - Doesn't the hardcoded "/services/" in the EPR calculation break the dispatching logic if the user defines a non default servicePath?
        Hide
        Heshan Suriyaarachchi added a comment -

        LocalTransportListener can be used as a dummy TransportListener to register in the axis2.xml.

        When generating the WSDL for a particular service which is exposed through local transport, this is used to derive the endpoints for that particular service.

        Show
        Heshan Suriyaarachchi added a comment - LocalTransportListener can be used as a dummy TransportListener to register in the axis2.xml. When generating the WSDL for a particular service which is exposed through local transport, this is used to derive the endpoints for that particular service.

          People

          • Assignee:
            Unassigned
            Reporter:
            Heshan Suriyaarachchi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development