2006 May 31 5:02 PM
Hi,
I'm trying to call a proxy interface (outbound) by calling the class behind the proxy.
everything works... the XML gets created from the proxy and is shown in SXMB_MONI, but unfortunately the XML gets not send to the corresponding Inbound Interface (which is configured in XI)
if I use SPROXY for testing the Outbound proxy the XML will be sent to the Inbound interface, but not with my class-call
so what needs to be done before or after calling the class to ensure that the XML gets sent to Inbound Interface?
I debugged the test in SPROXY and came to class CL_AI_RUNTIME_TEST maybe the following coding needs to be added before calling the proxy class:
CREATE OBJECT l_proxy TYPE (r3object_sender-class).
TRY.
l_routing_prot ?= l_proxy->get_protocol( if_wsprotocol=>routing ).
DATA:
l_routing_prot_local TYPE REF TO cl_wsprotocol_routing.
l_routing_prot_local ?= l_routing_prot.
l_routing_prot_local->set_sender( selections->sender-address ).but I'm not sure about that... (cannot try this atm)
2006 Jun 01 7:37 AM