0 Replies Latest reply: Jan 11, 2013 5:03 AM by 984308 RSS

    Invalid URL in OnError using WSA

    984308
      Hi,

      I am trying to send an error reply from a web service that has been invoked asynchronous (initiate method has been called).
      The web service is called from SOAP UI using WS-Addressing. The soap header sent by SOAP UI looks like this:

      <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
           <wsa:Action>initiate</wsa:Action>
           <wsa:ReplyTo>
                <wsa:Address>http://localhost:8888/mock/SoapUIStub-OnResult</wsa:Address>
           </wsa:ReplyTo>
           <wsa:FaultTo>
                <wsa:Address>http://localhost:8888/mock/SoapUIStub-OnError</wsa:Address>
           </wsa:FaultTo>
           <wsa:MessageID>uuid:592bad77-bda0-4ea8-8b5d-556b69e85fe4</wsa:MessageID>
           <wsa:To>http://localhost:7001/soa-infra/services/default/ASync-WebService</wsa:To>
      </soapenv:Header>

      The error is sent using the following invoke statement:

      <invoke name="callbackOutput" partnerLink="async_client" portType="client:WebService_asyncCallback"
           operation="onError"
           inputVariable="IntegrationException"
           bpelx:invokeAsDetail="no"/>

      The wsdl (snipped) looks like this:

      <portType name="WebService_asyncCallback">
           <operation name="onResult">
                <input message="client:WebServiceResponseMessage"/>
           </operation>
           <operation name="onError">
                <input message="ie:IntegrationExceptionMessage"/>
           </operation>
      </portType>

      I receive the error message in SOAP UI on the URL http://localhost:8888/mock/SoapUIStub-OnResult.
      I expect the error on http://localhost:8888/mock/SoapUIStub-OnError.

      Is this a bug or am I missing something?

      Regards, Emiel