cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Nikhil_Makhija
Participant
0 Kudos

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

Former Member
0 Kudos

Hi Nikhil,

Its Async Call and it always return an empty tag since it doesnt expect any response..

Can you/anyone try this and guide me how if behaves in other version?

Regards

Ruchir