Skip to Content
Former Member
Oct 29, 2008 at 08:55 AM

How to use an ABAP exception as a web service fault


Hi experts,

I have created a web service out of an ABAP function module, using the SAP standard wizard for web services. The ABAP function has some exceptions defined. Now the question is: How can I "translate" these ABAP function exceptions to web service faults?

In the WSDL file I can see that the web service defines the faults, but they are not part of the web service operation (in the WSDL file). So when I load the definition into JDeveloper, the faults are not recognized.

Any ideas what I am missing here?

Thanks in advance!

Kind regards, Matthias