on 12-02-2008 1:24 PM
Techies
working on FILE-WS-RFC ...BPM
Once WS is failed,Exception to be mapped to RFC.
How to catch the exception?
...
Derick
Hi Derick,
When you creat Synchronous Message interface (Inbound/OutBound/Abstract) you will alyas find an option to mention the fault message. To catch Application Error you have to mention Fault Message Type in MI.
As soon as you Mention the Fault Message Type and Assign this message Interface To your send step (In u r case it is Synchronous) you will Find another Option of Application Exception along with System Exception (System Exception Apperas by default while Application Exception only appears when u select Fault Message Type). Assign Error Message to the Application Exception And if required to System Exception
Now You would have defined the min 2 Exception for a block under which your Synch Step Resides.
Just Right Click on the Send step ->Insert->Add Exception Branch -> and assign it the Error Message you assigned to the Application Exception.
Now in Added Exception Branch which corresponds to the Application Exception you add one Trensformation Step which will convert the Web Service Fault to RFC REquest and then use Synch Send to Send it to RFC.
Thanks
Sunil Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Have a look into these links.
http://help.sap.com/saphelp_nw04s/helpdata/en/56/b46c3c8bb3d73ee10000000a114084/frameset.htm
Regards
Aashish Sinha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have a different Idea,
In one of the BPM patterns under Namespace: http://sap.com/xi/XI/System/Patterns , IP: BpmPatternReqTimeOut.
In Exception block Transformation and Send step is used,i feel we can use the same.
But in mapping y dont we use UDF(DynamicConfiguration) and get the Error message from WS/SOAP-Adapter and pass to tha target.
In proceeding Send Step use the RFC which u need to send the error message.
Note: I didn't implement this,just thought in mind.Please correcct me if am wrong.
Thanks
Prabhakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use Fault message. Fault message types are designed for application-specific errors that occur on the inbound side and that are reported back to the sender or persisted in monitoring.
look document to implement fault message
http://help.sap.com/saphelp_nw04/helpdata/en/dd/b7623c6369f454e10000000a114084/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Derick
Use the Fault message type. When WS failed map the exception to RFC through this.
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Refer these blogs
take a look at this blog for RFC sender adapter.
Is this what you have done?
if you are on WAS6.40 check the following weblog on how to consume webservice using the wsdl file.
lower version of WAS use class cl_http_client.
if this case you have to manually build the soap message.
regards,
suryanarayana.M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.