cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle fault message when getting error HTTP 500.

Former Member
0 Kudos

Hi Experts

I am working with a XI to SOAP scenario I use "do not use SOAP Envelope" because I need authentic for soap header, for do it, I use java mapping.

when I put the user or password wrong the service get fault message with error HTTP 500.

I need to know how to handle this error.

I used modules in soap receiver channel, but I do not get a solution for mi problem.

I need that error can be handler from abap proxy.

Thank you

Regards

Johan Calderon

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Mark

I used this module, but the problem is that PI disregards the error then I need to make javamapping in response message, I need that message be treaty like fault message.

I think that is not possible.

Thank you

Regards

Johan Calderon

Former Member
0 Kudos

Thank you for you answers.

when the service response with fault message the code http is 500, SAP PI receivers this as system error, but I need convert to application error. when PI receivers applications error it can user maps fault message.

In soapUI this service works.

Thank you

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Johan,

Try adding this in your receiver module:

Hope this helps,

Mark

Former Member
0 Kudos

Hi Johan,

This is happening because your request message is not liked by the soap application. you can test it with soapUI, get it working there and then compare the request message from soapui with PI. Try to make it identical and it should work.

rhviana
Active Contributor
0 Kudos

It´s happening when the EndPoint - Webservice Receiver doesnt asnwer or there is error, if the call is syncronous do not receive any asnwer back, you got this error 500.

Regards,

BR.

Ricardo Viana.

Message was edited by: Ricardo Viana

Former Member
0 Kudos

Hi Johan,

I think there is no default way to handle this, but the following thread could be helpful:

or this

Best Regards

Harald