cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle SOAP fault ?

Former Member
0 Kudos

Hello Experts,

We are using CE SR5 and we are calling a web service from SR, which is implemented in ECC.

On wrong input it throws exception i.e SOAP fault.

Plz let me know how can we catch this in Web dynpro.

I receive WDWSModelExecuteException.

getSOAPFault() method returns NULL;

Thanks,

Yogesh

Accepted Solutions (1)

Accepted Solutions (1)

pravesh_verma
Active Contributor
0 Kudos

Hi Yogesh,

Please refer to these threads:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d076c662-8c0f-2b10-8ca4-e63c26e2...

I hope this gives you some help to figure out the how to handle such exceptions.

Also look to these links:-

http://www.addon-software.de/2008/03/how-to-handle-a-standard-soapfault-in-adaptive-web-services/

Thanks and Regards

Pravesh

Former Member
0 Kudos

Thanks Pravesh,

I get SoapFault as null. The Exception raised by ECC is not coming in dynpro.

How to catch it?

Thanks,

Yogesh

pravesh_verma
Active Contributor
0 Kudos

Hi Yogesh,

Have you gone thriught the link:

http://www.addon-software.de/2008/03/how-to-handle-a-standard-soapfault-in-adaptive-web-services/

I hope you will get the reference of how to catch the SoapFault Exception in this article.

Hope this helps!

Thanks and Regards

Pravesh

Answers (1)

Answers (1)

Former Member
0 Kudos

Resolved.

Applied sap note 1270688 to ECC.

It was a small bug in SAP ECC 7.0.

Now we are able to catch SOAP fault after

-apply sap-note

-retart server

-re-publisg web service

-recreate model.

Thanks all of you for your help.

Yogesh...