<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Call ABAP Proxy in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-proxy/m-p/1323342#M166149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to call a proxy interface (outbound) by calling the class behind the proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I use SPROXY for testing the Outbound proxy the XML will be sent to the Inbound interface, but not with my class-call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what needs to be done before or after calling the class to ensure that the XML gets sent to Inbound Interface?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;        CREATE OBJECT l_proxy TYPE (r3object_sender-class).

        TRY.

            l_routing_prot ?= l_proxy-&amp;gt;get_protocol( if_wsprotocol=&amp;gt;routing ).
            DATA:
              l_routing_prot_local TYPE REF TO cl_wsprotocol_routing.
            l_routing_prot_local ?= l_routing_prot.
            l_routing_prot_local-&amp;gt;set_sender( selections-&amp;gt;sender-address ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;but I'm not sure about that... (cannot try this atm)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 May 2006 16:02:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-31T16:02:07Z</dc:date>
    <item>
      <title>Call ABAP Proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-proxy/m-p/1323342#M166149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to call a proxy interface (outbound) by calling the class behind the proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I use SPROXY for testing the Outbound proxy the XML will be sent to the Inbound interface, but not with my class-call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what needs to be done before or after calling the class to ensure that the XML gets sent to Inbound Interface?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;        CREATE OBJECT l_proxy TYPE (r3object_sender-class).

        TRY.

            l_routing_prot ?= l_proxy-&amp;gt;get_protocol( if_wsprotocol=&amp;gt;routing ).
            DATA:
              l_routing_prot_local TYPE REF TO cl_wsprotocol_routing.
            l_routing_prot_local ?= l_routing_prot.
            l_routing_prot_local-&amp;gt;set_sender( selections-&amp;gt;sender-address ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;but I'm not sure about that... (cannot try this atm)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 16:02:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-proxy/m-p/1323342#M166149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T16:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Call ABAP Proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-proxy/m-p/1323343#M166150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved... COMMIT WORK was needed &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 06:37:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-abap-proxy/m-p/1323343#M166150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T06:37:47Z</dc:date>
    </item>
  </channel>
</rss>

