cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Lookup udf not working

mandar
Explorer
0 Kudos

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.

Accepted Solutions (0)

Answers (5)

Answers (5)

mandar
Explorer
0 Kudos

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

former_member182412
Active Contributor
0 Kudos

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)

mandar
Explorer
0 Kudos

Hello Evgeniy,

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

former_member182412
Active Contributor
0 Kudos

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.

former_member190293
Active Contributor
0 Kudos

Hi Mandar!

Wouldn't you please provide your UDF code?

Regards, Evgeniy.

mandar
Explorer
0 Kudos

Hello Raghuraman

Thanks for your reply.

Soap action is maintained in the soap channel.

former_member186851
Active Contributor
0 Kudos

Hello Mandar,

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