Skip to Content

No Response from SOAP LookUp in message mapping

Hello Experts,

I am working on SAP PO 7.5 and trying to use SOAP lookup functionality in message mapping. I followed the following blog to create a UDF for this:

https://blogs.sap.com/2013/08/07/how-to-soap-lookup/

https://blogs.sap.com/2006/11/20/webservice-calls-from-a-user-defined-function/

I created a BRM Decision table with single input and output, created a wsdl for same, tested the web service created in Single Service Administration in NWA and it works fine.

For SOAP Lookup I created a SOAP Receiver channel referring to the created web service url, but when I test/execute the mapping, I do not get any output from the UDF.

The SOAP Channel shows the error attached.

I have tried testing it from SOAP UI and it works perfectly fine there. I have also tried setting up the trace but dont see anything in the popup.

Also, I have created a dummy ICO using the SOAP Receiver channel but that too does not helps.

Any suggestion on what could be done to resolve this? please help!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Jul 13, 2017 at 10:27 AM

    Hi Faisal!

    First, try to send the request message prepared for SOAP lookup using SOAP UI to be sure that your request structure is correct.

    If it works as axpected, try to set operation name before performing lookup.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Faisal!

      First, from SOAP UI you take just message part, without SOAP Envelope tags since the message wrapped with SOAP Envelope by default.

      Second, In your examples I see different messages types. So please take exactly the message part from exactly the same request and put it in your UDF.

      Regards, Evgeniy.

  • Jul 13, 2017 at 08:07 AM

    can you check the endpoint maintained in the soap receiver channel.

    Even you can check the BRM using SOAP UI and see if its fetching correct values.

    One more suggestion instead of Soap look, you can follow the below approach which will take less time for calling the BRM.

    https://blogs.sap.com/2017/05/10/access-brm-decision-table-from-pi-message-mapping/

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 14, 2017 at 09:19 AM

    Hello Evgeniy,

    This has finally worked. :)

    The below segment was missing from my Request xml(as compared to request in SOAP UI):

    <sap:Request-demo.sap.com-prftcntr-prftcntr-prftcntr>

    I changed my xml accordingly and now I can see the output now.

    Thank you very much everyone for all your help and guidance!

    Regards,

    Faisal Jamal

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 14, 2017 at 07:57 AM

    Ur checking add soap enevelope option in soap chjannel?

    Add comment
    10|10000 characters needed characters exceeded