Skip to Content
avatar image
Former Member

Router issue in SAP HCI with multiple receivers scenario

Hello Experts,

I am trying to Route the input to 3 different receivers depending upon a field value "FromCurrency" in SAP HCI. Source comes as wsdl to Router. So to achieve this I am using a Gateway.

Below is the condition which I am providing in

When I trigger this using SOAP UI, the iflow executes successfully but instead of taking the proper route it takes the default value all the time (irrespective of the value provided in "FromCurrency" field in SOAPUI) and ends.

Can anyone suggest any solution to this issue? Looking forward to your help.

Note: I have already looked at the only available similar issue that I could find but the solution didn't work for me.

https://archive.sap.com/discussions/thread/3728355

Thanks in advance.

Shikha

8gvn5.png (4.0 kB)
capture.jpg (19.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 02, 2017 at 02:00 PM

    Hello Shikha.

    I guess you are using CurrencyConversionRate WSDL from webservicex.You need to check the incoming XML first ,if its fully qualified like below you need to consider those also.

    For Ex below is the XML i am getting which is fully qualified.

    <web:ConversionRate xmlns:web="http://www.webserviceX.NET/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    	<web:FromCurrency>USD</web:FromCurrency>
    	<web:ToCurrency>INR</web:ToCurrency>
    </web:ConversionRate>
    

    So my condition would be like below

    /web:ConversionRate/web:FromCurrency = 'USD'

    Also make sue namespace is added in Run time Configuration.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded