on 01-24-2013 8:06 PM
Hi Experts,
I am trying to run a async web service to communicate to pi system. Even if pi system has communication channel (soap sender) turned off and i run a webservice call, I see a (in tracer)WebService.Success=1 .. Isnt it shd be =0? Please guide if I am missing something here.
When the same is run through SOAP UI and it try to communicate to PI ..I see the below..
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>ADAPTER.JAVA_EXCEPTION</code>
<text>com.sap.aii.af.service.administration.api.cpa.CPAChannelStoppedException: Channel stopped by administrative task.
I am trying to learn if we have something in MII so that we can also come to know like above and have logic build up appropriately.
All thoughts welcome..
Regards
Ruchir
Hi Ruchir,
Apart from the webservice Success flag you can also check XML node returns from webservice call and identify if that node has error or expected success message/output for error handling and route your logic accordingly.
Hope this helps.
Regards
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.