javaweb-servicessoaposb

Getting error while calling a soap service in OSB via service callout


I am getting below error when calling a soap service in OSB via service callout.

" General runtime error: no top level SOAP body element found! "

Can anyone please tell me the root cause of this error?


Solution

  • I found the problem and resolved it.

    Actually, the variable name for the 'Body' in Service Callout >> Configuration >> Configure Body >> Body* was different from the name of body variable which I was using in 'replace' action.

    After I changed the body variable name in service callout, and gave Body* = body and used 'body', then it is working fine.