on 06-10-2009 1:00 PM
Hi all , plz provide ur valuable opinions on the following issue.
I want to trigger the exception from one of the methods of the service interface (to be caught from the soa ) , how to do that any soution. The method has got the Exception in its signature , but i am not aware of how to trigger the exception in the implementation of the method. Plz provide the solution.
Thanx
Hi,
If you generate a proxy for your service interface, you can see there the name of exception class generated.
You just need to raise an exception against that class in your proxy code and catch the same.
Before raising the exception, fill the data structure or exception class.
You search on SAP help for sample code for raising ABAP exception.
Regards,
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.