Synchronous client/outbound proxy

Hi,
I generated a class on my SAP ECC 6.0 system (via transaction SPROXY) based on my SAP PI 7.1 outbound synchronous service interface.
I've read a lot of blogs here and they all state that EXECUTE_SYNCHRONOUS must be used when calling the method via an ABAP report.
But when I check my generated class, the only method I see is my Service Interface name.
Please advice.
Thanks a lot
Dimitri

Hi Ravi,
When I check transaction SPROXY on the back-end system, I see a green light for my service interface.
The only thing I see is that the "state" is set to "not released".
When I double-click on the proxy name, I see status implemented/active for the class.
On the properties tab, I see the following:
instantiation: public
final: blank, not ticked
released internally: blank, not ticked
Shared Memory-Enabled: blank, not ticked
Then I start the SOAMANAGER transaction from the back-end system.
I create a nex logical port.
URL for WSDL access (got from Sender Agreement): http://scxxidci.securex.erp:50000/dir/wsdl?p=1_a64303ebbecf3c4c81a86337a7853c3e_portTypeBindingService
When I apply the changes --> same error.
What about the logical port name? Can it be chosen freely?
Thanks
Dimitri

Similar Messages

  • ABAP client (outbound) proxy - issue

    Scenario - ECC to R3 4.6C system
    RFC is developed on R3 system and is imported onto XI. The imported RFC is exported as XSD and imported as External definition for the messaage type on the ECC system.
    There is an outbound sync interface on ECC system. We have developed and configured.
    Idea is to send message from ECC via client proxy. I have generated the proxy in SPROXY of ECC.
    I am trying to understand the different sections of generated proxy.
    I am looking at sproxy screen of ECC 6.0 system
    reg

    Hi,
    Please see below link
    http://www.****************/Tutorials/XI/ABAPClientProxy/page1.htm
    You will get required things.
    Thanks,
    Vijay Kumar T.

  • Exception handling in synchronous client proxy

    Hi, I have a synchronous outbound proxy-web service scenario. If our Post request (unknown data in the receiver) fails, the receiver system returns a 404 error that results in application error in PI. Now, I want know how to handle CX_AI_APPLICATION_FAULT using the standard fault message type (ExchangeFaultData). I couldn't find any reference for synchronous client proxies using this. I hope you can help me out. Thank you.

    Hi Mark,
    You have a link here How to handle CX_AI_SYSTEM_FAULT in RFC - Code Gallery - SCN Wiki or here https://help.sap.com/saphelp_nw04/helpdata/en/75/a55c3cff8ca92be10000000a114084/content.htm
    I dont know what is your exact problem, you can retrieve certain information in the ABAP code but i usually set a generic message like "Connection unsuccessful" because if you debbug the object the information is so technical to be showed to a client.
    Hope this helps.
    Regards.

  • Synchronous outbound proxy

    Hi all,
    I need a synchronous outbound proxy in SAP BW from XI. I do not know how to get it or how to implement it. I do not really know how the proxy works.....
    I am thankful for every little help or explanation.
    Thanks in forward
    Peter

    Hello Peter,
    Proxy Generation 
    Purpose
    Proxy generation converts non-language-specific interface descriptions in WSDL into executable interfaces known as Proxies.
    Depending on the target programming language, you choose one of the following:
    u2022        ABAP proxy generation is part of the SAP Web AS 6.40. ABAP proxy generation enables you to generate proxies to communicate by using the Web service infrastructure and by using SAP Exchange Infrastructure. ABAP proxies that were generated from message interfaces in the Integration Repository (IR) can be used in both infrastructures. This means that if none of the Integration Server services are required for a proxy-to-proxy communication scenario in ABAP, you can use a point-to-point connection using the Web service infrastructure instead.
    u2022        Java proxy generation in the Integration Builder (Design) generates proxies from message interfaces in the Integration Repository. Java proxy generation packs the proxy objects in a Jar file, which you can save locally. You use the generated classes in J2EE applications on the SAP J2EE Engine.
    How to create proxy.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    How to Activate Proxy.
    How do you activate ABAP Proxies?
    ABAP Server Proxies (Inbound Proxy)
    ABAP Server Proxies
    OutBound Proxy (Client Proxy)
    Smarter Approach for coding ABAP Proxies
    ABAP Proxies in XI(Client Proxy)
    File to R/3 via ABAP Proxy with good example
    File to R/3 via ABAP Proxy
    Debug your inbound ABAP Proxy implementation
    XI: Debug your inbound ABAP Proxy implementation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    Synchronous Proxies:
    Outbound Synchronous Proxy
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
    Hope this info is very useful to you,
    Thanks,
    Satya Kumar
    Edited by: SATYA KUMAR AKKARABOYANA on Dec 17, 2008 3:49 PM

  • Synchronous Client Proxy to JDBC !!

    Hi,
    My scenario is like this:
    I am working on a synchronous scneario where SAP is sending
    using synchronous client proxy to a database and after uploading
    of data on JDBC side, the response(Success/Failure) flag has to be
    sent back to SAP.
    Please let me know how this scneario can be designed and if BPM is required here.
    Thanks...

    Hi,
    Go thru  this
    http://help.sap.com/saphelp_nw70/helpdata/en/45/20d251c20a0732e10000000a155369/content.htm
    https://forums.sdn.sap.com/click.jspa?searchID=8242639&messageID=4482651
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    JDBC Synchronous call  using BPM
    Regards
    Agasthuri Doss

  • RFC calls & Synchronous Client Proxy

    If I want to execute a Synchronous Client Proxy, sending request to XI and waiting for response from XI, do I HAVE TO define and import a RFC structure ?
    My doubt is whether implementing RFC is a must in this case, or we can just define a equivalent structure (to the RFC structure: request & response), define all the mapping and create the proxy accordingly and it will work?
    Your help is appreciated.

    Hi!
    No, you don't need to do that. Simply define your interface and generate proxies.
    Peter

  • Doubt in Synchronous outbound Proxy.

    Hi,
    I am an abaper & new to Proxies.
    In My system there is an outbound synchronous proxy.
    Proxy Name : ZCO_DUPLICATE_CHECK_SEND_OUT_S
    Method name: DUPLICATE_CHECK_SEND_OUT_SYN
    Method Parameters: INPUT & OUTPUT.
    Can i create a report using this proxy by calling
    DATA : CL_DUPLICATE_CHECK_DATA TYPE REF TO ZCO_DUPLICATE_CHECK_SEND_OUT_S .
    TRY.
        CREATE OBJECT CL_DUPLICATE_CHECK_DATA.
        CATCH CX_AI_SYSTEM_FAULT.
      ENDTRY.
    TRY .
    CALL METHOD CL_DUPLICATE_CHECK_DATA->DUPLICATE_CHECK_SEND_OUT_SYN
          EXPORTING
            output = gto1
         IMPORTING
            input  = gti1
    CATCH cx_ai_system_fault.
    ENDTRY.
    Now my doubt is
    Will the input parameter give me exact structure i.e. returned table contents or i need to write inbound method for that?
    How can i check that the proxy is working fine? i.e. Data is being sent to PI?
    TIA
    vikash

    Hi Vikash,
    As others mentioned please check sxmb_moni and see what are you getting out from SAP. Also worth looking at this thread:
    Asychronous outbound Proxy test with SPROXY
    Regards,
    ---Satish

  • 7.1 Client ABAP proxy code sample (outbound)

    Hi guys,
    has somebody implemented new 7.0(7.1) abap proxies using ws runtime?
    Could you please post some sample code of client abap proxy?
    The 3. proxies were quite easy, but I'm a little bit confused in 7.0 and it's ws-rm.
    Thanks a lot, Olian

    Create a client proxy (for eg. the name would be like ZCO_MI_EMP_OUT_SYNC).
    Create a report program for the client proxy.
    report  yh_proxyclient.
    *  tables: ZEMP_DTLS_COPY.
       data: input type zmt_emp_tar1 .
       data: output type zmt_emp_src1 .
       data: client type ref to zco_mi_emp_out_sync .
      output-mt_emp_src-dept_id = 'SAP EP'.
      data wa_emp type zdt_emp_tar_employee.
      data wa_empinsert type zemp_dtls_copy. "ZDT_EMP_TAR_EMPLOYEE.
    try.
        create object client
    *  EXPORTING
    *    logical_port_name  =
      catch cx_ai_system_fault .
    endtry.
    try.
    call method client->execute_synchronous
      exporting
        output = output
      importing
        input  = input
    catch cx_ai_system_fault .
    catch cx_ai_application_fault .
    endtry.
    loop at input-mt_emp_tar-employee into wa_emp.
      write: / wa_emp-emp_id, wa_emp-dept_id, wa_emp-emp_name, wa_emp-emp_address.
    endloop.
      commit work.
    endmethod
    the above code is taken fron this wiki  (step by step guide using an example)
    [https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/abapClientProxytoABAPServerProxy+Scenario]

  • Outbound Proxy - No XML message seen !!!!!!!!!!

    Hi All
    I am trying to use outbound ABAP proxy from an R/3 system . I have written  a Z program to triger the execute_asynchronous method of the proxy generated. Now when i go to see the SXMB_MONI txn to see any XML message flow i dont see anything .
    Any pointers so to what need to be perfect to see a XML message is the monitor for an outbound proxy??
    Thanks in advance for your help
    rohan

    Hi,
    Generally the message goes in the schedule mode when the target system is not available or the connection to target system is broken. Pl check the target system.
    You can use this weblog as checklist.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy
    Thanks,
    Prateek
    Message was edited by: Prateek Shah

  • Sync Async using proxies ( Calling Outbound proxy from Inbound proxy )

    I'm trying to generate Asynchronous Outbound message from the Synchronous Inbound message message  due to a requirement. My question is : is it really possible to develop such a scenario?. I'm getting weird error such as Kernal exception etc. Please let me know if you have developed such scenario and what should we do dfifferently in such scenarios?. Thank you for any suggestions.

    Hi,
    This error has has nothing to do with Calling Outbound Proxy from from Inbound Proxy. The scenario which you are telling is very much possible.
    It looks like there is some problem in your proxy code while calling RFC from within there or something like that. Try catching the exception and see what is the exact error or put in debug mode and see the step where exactly your code is failing.
    Use the following links for Catching Exception in Proxy
    Inbound ABAP Proxy Trace and error handling
    Handling Exceptions
    ABAP Server Proxies - Fault Handling
    Exception handling in integration processes
    ABAP Proxy and fault messages
    /people/bhanu.thirumala/blog/2006/02/07/abap-proxy--xml-to-abap-transformation
    Thanks
    Amit
    Reward point if answer is helpful

  • Error while triggering Synchrous outbound proxy

    Hi,
    While triggering synchronous outbound proxy from a abap program,it is throwing an system fault message. the system fault message is "Application Integration system error".
    Please help me how to avoid this error.
    My code is as below.
      TRY.
        CALL METHOD proxy=>execute_synchronous
          EXPORTING
            output     = op_message
          IMPORTING
            input      = ip_message.
        CATCH cx_ai_system_fault into LO_SYS_EXCEPTION.
          CALL METHOD LO_SYS_EXCEPTION->IF_MESSAGE~GET_TEXT
            RECEIVING
              RESULT = TECHNICAL_EXCP_MESSAGE.
        CATCH cx_ai_application_fault .
      ENDTRY.

    Hi Ashwini,
    Quite possible, there is something missing in the partner profile. There are several threads already in SCN with the same problem. Please refer below and see if it is helpful:
    http://scn.sap.com/thread/319852
    Entry in outbound table not found: Error Status... | SCN
    Idoc Error Status "Entry in outbound table not found "
    Regards,
    Abhishek

  • Sync abap outbound proxy steps

    Hi friends,
    Could you please help me to send the sync abap outbound proxy creation blogs.
    advanced thanks
    Rao

    hi
    check this
    Outbound Synchronous Proxy
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
    rgds
    Arun

  • Client java proxy as standalone java

    hi,
    i am coming from ABAPer, i have read inside story part 1 and 2, this seems J2EE Application.
    i am not clear on standalone java as client java proxy with xi.
    i have ClassProxy.zip generated by IR and some aii_***.jar.
    could you tell me what the step by step is?
    any helpful comments will be apprecidated.
    thanks
    venjamin

    Hi Venjamin,
    I thought I will give u a few links which might help you….
    First go through these articles……
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    For java server proxies...go through the following blogs….
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    Java Proxy Inside Story Part I
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/java%20proxies%20and%20sap%20xi%20-%20the%20inside%20story,%20Part%201.pdf
    Java Proxy Inside Story Part II
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/java%20proxies%20and%20sap%20xi%20-%20the%20inside%20story,%20Part%20II.pdf
    Here you can download code samples for inbound and outbound Java Proxies which you can use together with the Flight Booking Scenario.
    http://de.geocities.com/stefan_grube/JavaProxyExample.zip
    I hope it helps.
    Regards,
    Abhy

  • Client Java Proxy

    Hi,
    I have a Java Proxy to BAPI scenario.
    On the sender side I have "ExchangeRates_Out" Outbound Service Interface. I have created a client java proxy for this and deployed it.
    I dont know how to test this proxy or run the interface end to end.
    Please help.
    Thanks,
    Aravind

    Check some links on proxies.
    Concepts and examples for Proxy, Abap Client Proxy and Abap server Proxy
    JAVA Proxies:
    Asynchronous inbpund java Proxies
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    More on Java Proxy-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    SAP Exchange Infrastructure 3.0: Java Proxy Runtime 3.0 - J2EE Integration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30572c6a-d311-2a10-99ab-f646ec3b5b12
    How to Work with Java Proxies
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    SAP Network Blog: Pre requisites for Client Java Proxies
    /people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies

  • ABAP Outbound Proxy: some messages stuck in CRM system

    Hi all,
    we've a strange issue with a ABAP Outbound proxy we've generated in our CRM 5.0 system (asynchronous interface).
    Sometimes messages stuck in the CRM system. They are in status 'Scheduled' (green flag) in SXMB_MONI in the CRM system. When I have a look at the corresponding queue, there's no message within. Status in SMQ1 and SMQ2 is fine, too. All queues are registered. When I reprocess such a message manually in SXMB_MONI in CRM with the restart button, they're sent fine to XI.
    Please note: it's NOT a general issue with that outbound proxy. In most cases the messages are sent immediately, just in some cases the messages stuck and I don't know why.
    Is it possible to restart such messages automatically? I just know the report RSXMB_RESTART_MESSAGES, but that one just restarts messages in Error status. But the ones we have aren't in error status so they cannot be selected with that report.
    Any idea where could be the problem / we should check?
    BR
    Holger

    On which SP r u working correctly. May be an SP upgrade could help.
    Regards,
    Prateek

Maybe you are looking for