on ‎2011 Jun 17 8:08 PM
Hi,
The *synchronous* scenario is as shown below
SAP CRM - ABAP Proxy -> SAP PI -- webservice-call --> External Partner
The requirement is that, SAP CRM needs to set a time-out in one of the screen incase the synchronous call takes more than 'n' seconds.
1st case: What if the web-service takes 'n' seconds to return a response
Resolution: The external partner has agreed that if the web-service takes 'n' seconds, then they would set a generic status and send a response message back to SAP PI
2nd case: What if the web service URL is not reachable. How do we achieve the time-out requirement at SAP CRM.
In this case, since this is a synchronous scenario, a auto-generated technical error message would be sent back by SAP PI to SAP CRM. Now the question is
- Will SAP CRM be able to read/parse that technical error message in their system (since it is not in the expected response format)?
- Does SAP CRM have the ability to set a time-out parameter at their end itself instead of depending on the web-service response or SAP PI's technical response?
Need you inputs in the 2nd case. And also any suggestion to achieve the requirement is welcome.
Regards,
Prajeet
Request clarification before answering.
Now the question is
> - Will SAP CRM be able to read/parse that technical error message in their system (since it is not in the expected response format)?
the proxy will go into a system fault/application fault.
you will need to handle this and then throw a readable message back to CRM user.
> - Does SAP CRM have the ability to set a time-out parameter at their end itself instead of depending on the web-service response or SAP PI's technical response?
>
> Need you inputs in the 2nd case. And also any suggestion to achieve the requirement is welcome.
>
> Regards,
> Prajeet
you can set a timeout at SOAP adapter. Check the SOAP FAQ OSS note for the parameter. this will again raise an exception in ABAP proxy which you should be able to handle
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.