cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI as web service error

Former Member
0 Kudos

Hi all,

I am trying to building a web service through SAP XI exposes the function module SAP_WAPI_START_WORKFLOW as a web service, which when executed starts the WS20000391 (Schedule Manager) workflow to start a job. But, i get this error:

The SOAP response indicates that an error occurred:

Server Error

<detail>

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context>XIAdapter</context>

<code>RecoverableException</code>

<text><![CDATA[

com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:

at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:456)

at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:131)

at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:848)

at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

]]></text>

</s:SystemError>

</detail>

Plz help me out.

Thanks,

Srinivas

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

Hi Srinivas,

Check this out

Also u may try this,

Create ur own response message which is exact replica of the response msg in wsdl and with the same namespace as received in response. And try to run it again

Regards,

Prateek

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

1. Test the web service through using test tool like XMLSpy.And observe

whether you are getting back the response. And you should deploy the

XMLspy on the same network where your XI box is present.

2. If the response is coming back then you can try increasing the time

out value for the receiver adapter and test it.

Please refer to the Note: 856597[FAQ XI 3.0 SOAP Adapter]

How i can configure the time out value of my receiver adapter.

A: Yes. The default timeout value for outbound calls is 5

minutes. You can increase this value by setting parameter

XMBWS.Timeout in the module parameter table of the SOAP adapter.

The value must be given in milliseconds. For example, value

600000 represents the timeout value of 10 minutes. This parameter

is not recognized in systems prior to SP13.

Check it out,

regards,

Jaime

Former Member
0 Kudos

hi ,

Can u make ur scenario more clear

Regards,

AshwinM