Mule
  1. Mule
  2. MULE-5857

<all> router incorrectly calls a jax-ws endpoint

    Details

    • User impact:
      Medium
    • Migration Impact:
      This used to work in 3.1.2
    • Similar Issues:
      MULE-6167It is not possible to configure Cxf/Jaxws property publishedEndpointUrl on cxf inbound endpoint.
      MULE-7309JAX-WS client, JAXBElement does not have a no-arg default constructor
      MULE-2801Not test for single-response-router with endpoint
      MULE-2255Make setting of endpoints on routers, router collections and exception strategies type-safe.
      MULE-6795Throw "Invalidated calling setPayload" exception when data flow past from <All> router to java component
      MULE-3644Expections thrown from nested router are incorrectly unwrapped
      MULE-2078inbound endpoints within <router> tags do not get registered as listeners
      MULE-5515Multicasting router (<ALL>) does not work with XA transactions
      MULE-5768Injecting resources into JAX-WS service does not work with flows
      MULE-5227Unable to set namespace, service and endpoint name because MuleServiceConfiguration has no effect

      Description

      When using
      <all>
      ...
      <http:outbound-endpoint address="http://localhost:8081/united" exchange-pattern="request-response" >
      <cxf:jaxws-client serviceClass="com.mulesoft.ticketing.TicketPriceService" operation="getPrice" />
      </http:outbound-endpoint>

      ...
      </all>

      The service is called incorrectly and has XML errors in the SOAP envelope. However when you use a VM endpoint to call a flow with the exact same http:outbound-endpoint it works just fine

      so the example would be

      <all>
      ...
      <vm:outbound-endpoint path="FrontierRequest" exchange-pattern="request-response" />

      ...
      </all>

      <flow name="xyzflow">
      <vm:inbound-endpoint path="FrontierRequest" exchange-pattern="request-response" />
      <http:outbound-endpoint address="http://localhost:8081/united" exchange-pattern="request-response" >
      <cxf:jaxws-client serviceClass="com.mulesoft.ticketing.TicketPriceService" operation="getPrice" />
      </http:outbound-endpoint>
      </flow>

      <flow name="unitedFlow">
      <http:inbound-endpoint exchange-pattern="request-response"
      address="http://localhost:8081/united" >
      <cxf:jaxws-service serviceClass="com.mulesoft.ticketing.TicketPriceService" />
      </http:inbound-endpoint>
      <component class="com.mulesoft.ticketing.TicketPriceServiceImpl"></component>
      <response>
      <append-string-transformer message=" United"/>
      </response>
      </flow>

        Activity

        Hide
        Mike Schilling added a comment -

        Please construct a test case and attach it to the bug.

        Show
        Mike Schilling added a comment - Please construct a test case and attach it to the bug.
        Hide
        Daniel Feist added a comment -

        Any chance you can attach a test case Jameson?

        Show
        Daniel Feist added a comment - Any chance you can attach a test case Jameson?
        Hide
        Evangelina Martinez Ruiz Moreno added a comment -

        Cannot reproduce in Mule 3.2.3 or 3.3.0. Please reopen and attach a test case if the problem persists.

        Show
        Evangelina Martinez Ruiz Moreno added a comment - Cannot reproduce in Mule 3.2.3 or 3.3.0. Please reopen and attach a test case if the problem persists.

          People

          • Assignee:
            Evangelina Martinez Ruiz Moreno
            Reporter:
            Jameson Triplett
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development