Skip to Content
0
Former Member
Aug 14, 2015 at 08:22 AM

Synchronous Webservice Exception not being read ABAP Method

22 Views

Hi,

We have synchronous PROXY - HTTP scenario. Our response is OK and working fine but we have problem when we want to return error message. Receiver system sends back fault message when there is error. This is then read by sender system. We have 5 different fault types, all these are generated by proxy correctly. However, ABAP method:

IF_MESSAGE~GET_LONGTEXT cannot get error message.

IF_MESSAGE~GET_TEXT can get message but only two words, and it is getting error from the 'ERROR' segment of the SOAP payload rather than the response.

Any thoughts on this?

Regards,

Raye