Skip to Content
avatar image
Former Member

SOAP Lookup udf not working

Hello,

I have followed below blog and successfully deployed the code on PO server.

How to persist custome data in sap pi

I am able to do insert, update, delete and fetch operations on this custome table via ICO and wsnavigator. However if i try to do the same via SOAP Lookup udf in message mapping then i dont receive any response and receiver soap channel shows error as "Error in response". Attach herewith error log for more information.

Can anyone please suggest.

error.txt (5.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Oct 18, 2016 at 03:37 AM

    Hello Mandar,

    check and ensure any Soap action need to be maintained in the soap channel.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 18, 2016 at 07:32 AM

    Hello Raghuraman

    Thanks for your reply.

    Soap action is maintained in the soap channel.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 21, 2016 at 02:58 AM

    Hi Mandar!

    Wouldn't you please provide your UDF code?

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 28, 2016 at 11:31 AM

    Hello Evgeniy,

    The format of the soap xml was not correct. It is resolved now. Anyways thanks for your help.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Can you explain more? what was the problem and how did you resolved and make your answer as the correct answer so that it will be helpful for others in future.

  • avatar image
    Former Member
    Oct 28, 2016 at 02:21 PM

    Hello Praveen,

    In the udf, the soap xml format was not correct. I havent added the namespace for the root node while building the xml and due to which PI was not able to find the correct soap action at runtime.

    For ex:

    The root node was: <po:addticket>, instead it should be like: <po:addticket xmlns:po="http://po.sap.com/">

    I hope it is clear now.

    Regards,

    Mandar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      You can mark this as correct answer so that it can appear on top instead of the bottom, you can find the option when you click on actions (Actions->Correct Answer)