SAP Knowledge Base Article - Preview

1958295 - SoapException functions getDetailMessage(), getFaultCode() and getFaultString() return empty strings


A PowerBuilder Web services client application using the .NET Web service engine calls a Web service.

There is an error in the call and the Web service server responses with a Soap exception with detailed error information.

In the client application the SoapException function getMessage() returns a general error message, but the functions getDetailMessage(), getFaultCode() and getFaultString() only return empty strings.


Example response from the server:

 <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S=""><S:Body><S:Fault xmlns:ns4=""><faultcode>S:Server</faultcode><faultstring>myfaultstring</faultstring><detail><ns2:myException xmlns:ns2=""><errorCode>my error</errorCode><message>my message</message></ns2:myException></detail></S:Fault></S:Body></S:Envelope>



  • PowerBuilder 12.5.1
  • .NET Web service engine


SAP PowerBuilder 12.5


PowerBuilder Web services SoapException getDetailMessage getFaultCode getFaultString   , KBA , BC-SYB-PB , PowerBuilder , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.