Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Capturing SOAP fault message in ECC client proxy

$
0
0

Hi All,

 

I am doing proxy to soap synchronous scenario. we got wsdl from web service. wsdl has request,response and fault message type. Fault message type is a custom one.

 

we are not using standard Fault Messages (SAP Library - Web Services).

 

Whenever  application error happens web service is sending the fault message to ECC. I am able to see the fault message payload in PI and ECC

 

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Exception>

<errorCode>1</errorCode>

<errorText>record does not exist</errorText>

</ns0::Exception>

 

For application error, we want to display errorText to user as a pop up message.But none of the exception methods is getting this errorText from Fault payload.

 

this Error Handling (SAP Library - Web Services) help link says that application errors can be handled for sync interface.

 

Can anyone help how to get the errorText value using proxy exception class? any code snippet?

 

i also tried using standard sap fault message in the sender side and did the mapping(web service fault message-->sap fault message). Still not able to get the value.

 

Thanks,

Muni


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>