on 02-25-2008 12:05 PM
Hi,
I have an XI scenario Webservice - XI - ABAP Proxy. When I send a message from a SOAP Client (soapUI), message was successful all the way till ABAP Proxy and it also processed required custom logic in the proxy, then it's trying to send response back and dumping as there is no payload to send. In debugging I have seen mode as 'Synchronous' where as I have defined SOPA communication channel as 'Exactly once' which is Asynchronous.
Any inputs will be appreciated?
Regards,
Ram.
Hi,
Try and check your service definitons in the IR.
Looks like you have set the Interfaces as Synchornous in design and set the QoS as Async in ID.
In case not, please provide a little more detail about your scenario
Reward points if useful
Regards
Abhishek
Edited by: Abhishek Vinayaka on Feb 25, 2008 7:15 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rams,
wrong.. You need to create one sync outbound interface, one sync inbound. then generate proxy from the inbound interface and use it. Async interface has no return structure, co there is no way how you could send required data back to WS. But when you create sync interface, it will solve your problem.
Peter
Hi,
Async message processing with SOAP adapter is a little more complex.
You have to use the query String, also you need to pass the message GUID to the query string
http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=:party:service:channel
have a look at
link : [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79]
also have a look at the SAP help
link : [http://help.sap.com/saphelp_nw04s/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm ]
Without this it would not work
Just setting the QoS is not enough
Reward points if useful
Regard
Abhishek
Edited by: Abhishek Vinayaka on Feb 25, 2008 7:45 AM
hi
also in in the server you defined the proxy, go to SXI_MONITOR and check if response message is been generated. if the response is there modify the parameters that Abhishek said and in ID check the QoS is BE for your SOAP adapter.
let me know
Thanks
Rodrigo
Edited by: Rodrigo Pertierra on Feb 25, 2008 9:50 AM
Thanks for all your replies.
I have defined SOAP communication channel as 'Sender' and PROXY (HTTP destination) as receiver, is that correct?
Do I need to select 'Keep headers' & 'Use Query string' in the SOAP communication channel in ID?
And also I need to change QOS to Best Effort?
Do I need to use Sync communication for SOAP always?
Could you confirm?
Regards,
Ram.
1)I have defined SOAP communication channel as 'Sender' and PROXY (HTTP destination) as receiver, is that correct?
Thats correct. make sure, you defined them as sync.
if you have defined you proxy as async, you must modify it to sync, delete your previous proxy and created it again.
2)And also I need to change QOS to Best Effort?
yes, you must.you wont receive any response if QoS is EO.
3)Do I need to use Sync communication for SOAP always?
no, no ever a WS need a response.maybe only send data and nothing else.
generally a WS waits a response to confirm data was received ok.
Thanks
Rodrigo
ideally yes..SOAP is under majority Scenarios Synchronous.
But it can be made Asynchronous also.
Please read through the Links i have put in my previous message.
They would help you to determine which conversion paramters you should use
use query string etc.
Also note that in cas of async scenario, the QoS is always EO or EOIO ( mention the queue name in case in the query string )
Regards
Abhishek
Thanks a lot for your replies. I have changed my interface to Synchronous now and now there is no dump after proxy. But i am not sure what are all the settings required for response message, as I need to give output message. I did following but sitll getting errors.
Created message types response & response1 in both the name spaces. And mapped them as Source and target messages in Response Tab? Is this correct and sufficient?
Do I need to something else?
Regards,
Ram
Hi,
I think you almost have done with all required steps
Just refer below link for the steps
Proxy Generation- For ABAP and Java proxy, create a Message Interface and then generate a proxy for that message interface.
http://help.sap.com/saphelp_nw2004s/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
XI: RFC or ABAP Proxy ? ....ABAP Proxies with attachments
/people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
ABAP Proxy outbound program - purchase order send
ABAP Proxy inbound program - sales order creation - Community Profiles - Wiki
Thanks
Swarup
I don't have response (message type) in message mapping is that correct?
I have defined two messages in the source and target names spaces added them as output messages.
Then interface mapping automatically picked up these two under response tab. I have given program name and name space and avtivated.
I am getting below error in the SXMB_MONI
RuntimeException in Message-Mapping transformatio~
Thanks a lot for your replies.
Ram
this error refer to and logical mapping transformation or a mandatory field is empty.
get the source message from sxi_monitoring.
go to IR-->message mapping and check if the structure you receive is same you define. no red field must exist.
check if namespaces comes or not in structure in sxi_monitor and compare it MT
Edited by: Rodrigo Pertierra on Feb 26, 2008 9:09 AM
CHeck the Meaage Interface in the Design..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Confirm that for ABAP proxy either you have used EXECUTE_ASYNCHRONOUS or not.
EXECUTE_ASYNCHRONOUS --is for Async communication and
EXECUTE_SYNCHRONOUS -- is for sync communication
Refer
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Thanks
swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try SOAP adapter with QOS as BE( Best Effort)
--Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.