on 02-15-2008 8:57 AM
Hi there,
I've created a function module which calls a synchronous BAPI. I released this function module as a webservice.
When I call the web service it always gives a response although I don't need it in case of an async call.
Is it normal that even an async web service gives back a response?
Could it be that I have to change something in the definition of the function module to make it asynchronious? As far as I know, only a CALL of that function module can be sync/async, not a FM itself.
How can I achieve that the web service gives a response, or is it normal behaviour for sync and async calls?
THANKS in advance...
We have created an asynchronous interface in XI...
But nevertheless it gives aresponse message back.
@Swarup: How can we supress or redirect the response?
Should the BAPI be called in a background task?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It will give the response even if for Asynchronous call, as basically its by nature synchronous. Thus in Interface Mappping if you see even if the response is not available the Respose tab get activated.
You could either supress or redirect the resopnse if you will not require it.
The Function module to be called in background for Asynchronous call.
refer,
Send RFC to SAP XI Asynchronous
/people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Eddie,
every web service is synchronous and even when it returns no data, it returns at least empty SOAP message. But it's no problem. You can call web service asynchronously from XI by creating an asynchronous interface. This should solve your problem.
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Asyc WebService does not have response. It dependes on your WSDL for the Webservice. If you have input and output message defined in the WSDL operation you will always a response, because this kind of operation is request/response from WSDL primitive.
Nevertheless I does not known enough about FM to give you further adverise. I think in case you wrappe one sync BAPI FM into webservice, the generated description always has request/reponse in the WSDL operation.
regards,
Hai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.