on 09-13-2012 7:57 AM
Hi PI Gurus,
We have a secnario, proxy to SOAP (WS) sync interface. Where we are sending some information to a webservice using clinet proxy and we are getting the response back from the webservice.
Now the issue is, if it is not success at webservice then also it is success in PI as we are getting some response and because of this its very hard to track the errors.
Now we are planning to change the status of the message from success to error if it contains some error response.
How can we achive this from PI or using any ABAP code?
Regards,
Krishna Chauhan
Hi,
I found one solution is to change the status in DB table by writing a ABAP code.
Regards,
Krishna Chauhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>>Now we are planning to change the status of the message from success to error if it contains some error response.
this is a very bad idea for a design - really for many reasons - desc below
>>>>if it is not success at webservice then also it is success in PI as we are getting some response and because of this its very hard to track the errors.
come on... if the WS is not successfull then you can see it in the proxy call (no or wrong response)
so you can always call it once more to the response,
further more - in case of sync interfaces you will not be logging it in on the PRD as sync interfaces are not logged on any production server,
so what you should do is:
1) make sure the WS will return a normal error or
2) reprocess the call from proxy in case you get a wrong response
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Now we are planning to change the status of the message from success to error if it contains some error response.
In your case the external ws returning the response for error with some structure .For PI it is success only .
If you want change/stop at PI level then response wont be reached to Consumer .
better develop fault Message type and map to Response structure and handle in SAP system .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.