ABAP Proxy synchronous call to webservices

Hi,
      I have the following synchronous scenario.
  SAP R/3 outbound proxy <-> SAP XI <--> Webservices.
When I try to execute the proxy Execute synchronous,I am getting the following exception caught.
CX_AI_SYSTEM_FAULT.
What could be the possible reason for the exception to be thrown?
Thanks,
Leo

Hi,
This exception is thrown when there is an error in XI in a sync call.
What does your message display show in SXMB_MONI in XI ?
Kind regards
Colin.

Similar Messages

  • Web Service u0096 ABAP proxy  synchronous interface

    hi experts,
    can you suggest me how to do this scenario?
    <i><b>Web Service – ABAP proxy  synchronous interface.</b></i>

    hi,
    you can create a web service on XI
    which will call ABAP proxy (on ERP, SRM etc)
    in a synchronous way (you just need to generate the proxy class
    in TCODE SPROXY)
    then you can fill the method of your generated proxy class
    and you will have WS - ABAP proxy interface
    have a look at this to undrstand server proxy:
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • SAP PI 7.4 SOAP - ABAP Proxy Synchronous Webservice

    Hi Everyone,
    I am developing the following scenario:
    3rd party makes a SOAP call to SAP (via PI) to determine whether a vendor exists or not in the SAP system. The link for the call is provided by us from the Integrated Configuration.
    The request comes in, calls an ABAP Proxy to check if a vendor exists and sends a response back to the SOAP call with a 'Y' or an 'N'.
    I've read a lot about various scenarios but I'm having trouble connecting the dots as I'm fairly new to PI. I'd appreciate any help.
    I've made the following set-up based on assuming I need separate Service Interfaces for the SOAP Request & Proxy Response
    ESR
    1. Message Types
         SOAP (MT_SOAP_REQ & MT_SOAP_RESP) - PROXY (MT_PRXY_REQ & MT_PRXY_REQ)
    2.  Message Mappings
         MM_REQUEST    which maps MT_SOAP_REQ   to  MT_PRXY_REQ)
         MM_RESPONSE which maps MT_PRXY_RESP   to MT_SOAP_RESP)
    3. Service Interfaces (Synchronous)
        (SOAP Request)
        SI_IN (Inbound Interface)       with Request = MT_SOAP_REQ and Response = MT_SOAP_RESP
       (Proxy Response)
        SI_OUT (Outbound Interface) with Request = MT_PRXY_REQ and Response  = MT_PRXY_RESP 
    4. Operation Mapping
        OM_LOOKUP which maps SI_IN to SI_OUT with Request    (MT_SOAP_REQ  to MT_PRXY_REQ)
                                                                        and  Response (MT_SOAP_RESP to MT_PRXY_RESP)
    I create the ABAP Proxies for each Service Interface. SI_IN contains the required coded method to check if there is a vendor.
    I create the webservice and binding for SI_IN in SOAMANAGER
    At this point I'm somewhat unsure - what do I need to do for SI_OUT ? Do I need to create a logical port ? how is SI_OUT associated to SI_IN (apart from the Operation)  to get the response.
    ID
    In the Integration Directory I've created a SOAP_SENDER communication channel for System A and SOAP_RECEIVER channel for SAP.  For the SOAP Receiver I need to specify a URL - what should this be ? Is it meant to point to the web service for SI_IN in SICF or just to the generic http://host:8000/sap/xi/engine?type=entry 
    Do I need to use the HTTP_AAE adapter for the receiver instead of SOAP ?
    I created an Integrated Configuration for the SI_IN Service Interface with comm channel SOAP_SENDER from System A and SOAP_RECEIVER for SAP backend.  I then got the WSDL for this to provide to the 3rd Party to test (via SOAP UI)  . Again my concern is how is the SI_IN linked to the SI_OUT to achieve the response ?
    I appreciate you taking the time to go through this .  Any help is greatly appreciated.
    Thanks very much
    Gary

    I create the webservice and binding for SI_IN in SOAMANAGER
    At this point I'm somewhat unsure - what do I need to do for SI_OUT ? Do I need to create a logical port ? how is SI_OUT associated to SI_IN (apart from the Operation)  to get the response.
    >>>>No need to do anything in SOAMANAGER
    Do I need to use the HTTP_AAE adapter for the receiver instead of SOAP ?
    >>> No. Soap adapter is fine. Configure your receiver channel as explianed in the below blog (section 4.3)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70066f78-7794-2c10-2e8c-cb967cef407b?overridelayout=t…
    Again my concern is how is the SI_IN linked to the SI_OUT to achieve the response ?
    >>>>Your receiver determination and interface determination takes care of this.(receiver interface  & outbound processing tabs in ICo)

  • Calling abap proxy synchronous ...

    Hi everyone.
    I have this scenario.
    abap proxy (request) -
    > XI (BPM) -
    > abap proxy (response).
    I'm able to send async the data using the proxy and i would like to send the response to other proxy.
    The best scenario for me would be if the proxy in sync, the BPM do some checks and finally, sender proxy returns the values.
    any idea of how to do this two scenarios?
    Regards,
    Inigo.

    Hi,
    >>>abap proxy (request) -
    > XI (BPM) -
    > abap proxy (response).
    are you sure that processing inside the BPM will take less then 30 sec?
    if not why do you want a syn call ? do you use this sync proxy call
    from an online report in r3 ?
    if you don't need a sync report do it in an async way:
    proxy - BPM - proxy (which writes the results to a table)
    and then from your report you can read from that table...
    one of the possibilities
    Regards,
    michal

  • Abap proxy client  and https webservice

    Hi, I have a problem with an abap proxy client.
    This proxy works perfectyl when I call the test webservice (via HTTP protocol) but it does not work if I try to call the productive webservice (via HTTPS protocol).  Of course I have configured LPCONFIG in order to let the proxy point to the correct web site.
    I'm pretty sure that problkem is caused by different protocols HTTP vs HTTPS.
    I thought the problem could be the web site certificate, so I added it into the PSE (transaction STRUST) but nothing happnes.
    Your help is really appreciated.
    Edited by: robcom69 on Feb 22, 2010 3:34 PM
    Edited by: robcom69 on Feb 22, 2010 3:35 PM
    Edited by: robcom69 on Feb 22, 2010 3:49 PM

    I have loaded the certificate in the TRUST transaction.
    Anyway, in our system we do not have the SAPCRIPTOLIB libraries and I do not underastand if they are necessary or not.
    I mean, I need these libraries only if I expose an HTTPS server from SAP or even if SAP is the client and it need to access an external https webservice ?
    Please help.

  • Message flow in SAP PI 7.31 JAVA only for ABAP Proxy synchronous scenario with Oracle DB

    Dear Experts,
    I am working on a synchronous scenario Sender ABAP Proxy <===> SAP PI 7.31 JAVA only <===> Oracle Database.I have successfully
    configured all the proxy configurations as well both Sender SOAP and JDBC receiver channels are showing no error when pinged from
    Cc monitoring in NWA.
    1.During testing at Tx SPROXY , I am triggering a message and after 5 minutes I receive an PARSING error message with 2 messages in ECC
    local IE i.e. Tx SXMB_MONI.
    Note : In NWA , I can see only 1 message that too in cancelled status.
    2.Seeing the trace of the messages I assume that the messages have not moved from sender ECC system. I am still confused with flow of message
    from the Message Audit log. Audit log of error messages.Could any one share the full Audit log of a successful message generated in SAP PI 7.31 JAVA only.
    3.I observed that the QIN Scheduler status in ECC is in INACTIVE status. There is no queue id for 2 messages generated in ECC. Does
    it should in ACTIVE status in Tx SMQR..
    Regards
    Rebecca

    Hi Thomas,
    Valuable inputs..
    1. Since I don't have any audit log for successful message, would you be able to share referring to the
    below screenshot whether the message was put into receiver JDBC adapter and JDBC adapter tried to retrieve the Select response from Oracle Database.
    2.I have done some setting in Advance mode of the receiver JDBC to increase the time out and other parameters as per SAP note but still the issue is same. If you perhaps have some experience in such scenarios, please share some input so that I can ask the Oracle Database administrator exactly what is required from our side.
    3.Regarding the slow response from Oracle , there was some suggestion that the datatype of the request and response should match the column name of the Oracle database. I did that.. Do you have any more suggestion that may be hampering the generation of the response message from the Oracle like SAP note or document.
    Regards
    Rebecca

  • ABAP Proxy: Error calling Proxy

    Hi guys,
    Here I am with another amazing mistake.....
    After searching the forum, reading some suggestions, notes, I'm a little bit lost on how to figure out what is wrong...
    I've created a receiver ABAP Proxy. XI should call this proxy and receive the consequent response.....
    I've tested the ABAP Proxy, everything is working fine...I've encountered some errors but was able to bypass them... But this one is getting hard...I've found one or two similar threads, or with the same error description but I had no luck in overcoming the error....
    So, what is the problem....:
    When XI is calling the ABAP Proxy I get:
    <SAP:Category>XIServer</SAP:Category>
    <SAP:Code area="INTERNAL">EXCHANGE_PROFILE_ACCESS</SAP:Code>
    <SAP:Stack>Error while reading exchange profile for system DEV and client 100</SAP:Stack>
    I've searched the exchange profile but everything seems ok...
    The user has all (and more) the authorizations needed....
    Can you guys give me some hints? Or suggest any attempt....?

    Kumar,
    as I said before, in SPROXY i can test the interface with no errors....
    In the Application System the sldcheck returns no errors and the RFC Destinations return no errors on the connection tests...
    I really can't understand what this problem might be...
    Problem solved
    What was it? Well, I'm really not sure...Like most of the threads related to this topic it's quite an awkward problem....I've tested some RFC connections which were created, changed some parameters, restarted the system and voila....
    Thanks
    Message was edited by:
            Gonçalo Mouro Vaz

  • ABAP Proxy synchronous interface - access to payload

    Hi,
    I have a scenario from ABAP Proxy -> XI -> Web Service.
    On occassion, there is an issue with calling the Web Service (unavailable for instance) and an exception is returned to the ABAP Proxy for a SystemError.
    I am able to catch this exception in the proxy and output the error - for example HTTP.Exception.HTTP.Adapter.
    However, I also want to use information in the response payload to output on the error as the payload contain infrmation on why the error was thrown in the target application - for example - Format of data xxx is incorrect.
    I can get access to the request payload using interface/class IF_WSPROTOCOL_PAYLOAD=>GET_SENT_REQUEST_PAYLOAD but there does not seem to be an equivalent for GET_RECEIVED_RESPONSE_PAYLOAD !
    Have anyone done this before - use payload information in an ABAP proxy from the response payload ?
    Kind regards
    Colin.

    Hi,
    I will need the actual payload info not the status.
    I will have to debug SXI_MONITOR in CRM to see how it is obtained.
    Thanks
    Colin

  • Synchronous call to webservice for retrieving values

    Hi
    I am making webservice synchronous call from bpm,I want to retrieve data doing lookup in webservice,
    Can uplease tell me how we will achieve this.SOAP Lookup we can use?
    Thanks
    Best Regards,
    Harleen Kaur Chadha

    Hi,
    check this links
    Webservice Calls From a User Defined Function.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    regards
    srinivas

  • ABAP Proxy to XI to webservice scenario

    Dear all,
    Can anyone guide me the steps required to configure this kind of scenario?
    ABAP proxy sends some PO data thru SAP ECC system to XI . Then XI has to invoke some webservice of third party tool.
    Can anyone provide me the detailed steps to configure this kind of scenario?
    Thanks,
    Sonal

    Proxy - /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Configure your WS
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    use those blogs to help configure the scenario.
    Also do some search in SDN and you will surely get more links.

  • ABAP proxy client call PI with new client 120 in old business system

    Hi all
    We have a requirement to call PI from ABAP client proxy in synchronous mode via a CRM client 120.
    CRM client 100 is already configured in the Business system talked above but now we need the same business system to be configured for client 120 as well.
    My question is If we go to the SLD and
    |-> Click on Business System
    |-> Add new client 120
    Will it work or we need to do some extra configuration for communication channel.
    Also please let me know how to configure Integration Directory for sender agreement, Receiver Agreement and the communication channel.
    Thanks in Advance.

    Hi Naina ,
    We have a requirement to call PI from ABAP client proxy in synchronous mode via a CRM client 120.
    CRM client 100 is already configured in the Business system talked above but now we need the same business system to be configured for client 120 as well.
    My question is If we go to the SLD and
    |-> Click on Business System
    |-> Add new client 120
    > hope the technical entry of CRM is already in SLD . So you just need to make a business system entry . point the business sytem to the technical system entry with the right client here 120 .
    Will it work or we need to do some extra configuration for communication channel.
    > since sender is client proxy you don't need to do anything in case of receiver proxy you will be needing reciver communication channel of XI adapter type .
    for proxy based communication your application system(other than PI/XI) should be able to make a proxy call to XI or receive a call from XI .for this purpose you need to make some settings at R/3( or CRM level)
    For this check blog  : /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Abap proxies ( Client and Server proxies)
    Other steps i.e Interface determination/receiver determination are as usual .
    Regards ,

  • Invoking Webservice using ABAP Proxy

    Hi,
        I have a synchronous scenario with ABAP proxy invoking the external webservice.In the SOAP receiver target URL confiuration,do I need to give the operation(method)name in the webservice? I have read in the forum that we need to give the target URL with .asmx extension.What is the meaning of .asmx extension?
    Thanks,
    Leo

    Hi Teresa,
    We meet again !!
    Right, we have a simple solution for this without using BPM.
    In the proxy, set a field on the outbound data structure from the proxy to indicate to XI which receiver determination in XI can use to send the message to the right interface.
    We have exactly the scenario you are talking about and it works like a treat.
    Send me an e-mail @ [email protected] and I will send you a screenshot of how simple this is without using BPM.
    Cheers
    Colin.

  • Timeout Error in Call Transaction on Asynchronous Abap Proxy

    Hi Gurus!!
    We have a problem with a Call Transaction on Asynchronous Abap Proxy. When the process of Call Transaction (transaction CO02) takes more than 10 minutes, the process is cancelled with sy-subrc 1001 and the Abap Proxy continues with the execution. Strangely, there is a short dump in ST22 on transaction CO02, although on the ABAP Proxy we don't get any dump.
    When this process is called from a Background Job no dumps are get.
    Somebody knows if there is a problem with the Asynchronous ABAP Proxy executing CALL TRANSACTION statementent?
    Thanks and regards,
    Manuel.

    and the message after recording is
    Number               1
    Transaction          F-22
    SY-SUBRC             0
    Messages
    FB01                SAPMF05A                                0301WEZ001                066
    FB01                SAPMF05A                                0300WEZ001                066
    FB01                SAPMF05A                                0300EEZ001                073
    I F5 573                   Correct the error reported before on the next screen
    FB01                SAPMF05A                                0300WEZ001                066
    FB01                SAPMF05A                                0300EEZ001                073
    I F5 573                   Correct the error reported before on the next screen
    FB01                SAPMF05A                                0330WEZ001                066
    FB01                SAPMF05A                                0301WEZ001                066
    FB01                SAPMF05A                                0301WEZ001                066
    FB01                SAPMF05A                                0301WEZ001                066
    S F5 312                   Document 100001677 was posted in company code 3100

  • How to make an ABAP Proxy public as an asynchronous WebService

    Hello together,
    i have made an ABAP-Proxy public as an WebService by generating the WSDL from the directory for my asynchronous <b>outbound interface</b>. This outbound interface is mapped to the ABAP-inbound interface and so on. This works fine.
    But actually i don't need any mapping. So i'm thinking about to how to send the WebService <i>directly</i> and to the ABAP-Inbound-Interface <u>asynchron</u>.
    1. Is this possible at all (and how), and if so
    2. does it makes sense in order to improve the performace (there is a mass-processing in behind)?
    Gunnar

    Gunnar,
    I guess its simple...go for SOAP to Proxy scenario.
    If ur source and target structure is same ..u need not require mapping.u can execute the scenario without mapping also.
    I have done same scenario 2 months ago.....
    following things u need to do.
    1)create outbound message interface
    2)create inbound message interface
    3)No need of message mapping and interface mapping(if u dont require any transformation of source structure)
    4)create WSDL for outbound message interfce
    5)create proxy for inbound MI
    6)write the necessare code in ur proxy
    7)using any SOAP editor like XML spy send data to proxy...
    u have done the work!!!!
    All the best
    regards
    biplab

  • ABAP proxy to Stored procedure on MySQL sync

    Hi,
    I have one question regarding above scenario. Scenario is like this: user will run sync scenario from some ABAP report, which will connect to PI through ABAP proxy, execute some stored procedure on MySQL server, get data back and update some Z-table in SAP.
    My concern is beacuse of stored procedure and some weird situations. Stor.procedure selects data and immediately after does update on same data. What I happend in my situation. I ran it for the first time, with debugger, ABAP proxy made call and returned data, but because of compiling and debugging, I lost connection and I LOST DATA, because stored procedure made select and update and I don't have this data anymore. Is there any chance to restart this kind of process? I know this will not happend usually, but want to be sure.
    thx
    Edited by: Mario Slopar on Sep 6, 2011 10:58 AM

    I lost connection and I LOST DATA, because stored procedure made select and update and I don't have this data anymore. Is there any chance to restart this kind of process?
    Mario - Try the tcode - SXMB_MONI to check the message that was sent from SAP to PI, as you say you lost the connection in between while debugging the failed message will be listed after you run the above Tcode. You will be able to restart the message from the same screen.
    Also, i presume that the scenario is a synchronous one - SAP<->PI<->SQL, i would suggest you try and decouple the systems involved by making calls Asynchronous(depending on the business needs ofcourse)
    Regards,
    Chen

Maybe you are looking for

  • Error While updating Process form data Using Scheduler

    Hi All, I am trying to update Process form data (ex : lastname) using a scheduled task Code. I am getting Error while updating Field. Code : HashMap<String, String> map = new HashMap<String, String>(); map.put("UD_EBS_PF_LASTNAME", "lastname"); formi

  • All My Files no longer in Finder

    Hi, While backing up my system, I transferred "All My Files" from the Finder to the external drive. I thought it would copy the "All My Files" tab to the ED and simultaneoulsy keep the original in the Finder, but it is not the case. Can anyone explai

  • T61p 6460 74M - Client Security Solution Problem

    I am having problems with the Client Security Solution running under Vista I am able to log in OK using the fingerprint reader or password however after the system boots the CSS widow appears asking for password, I enter the password but it does not

  • Can't edit hyperlink in RoboHTML 10

    When I click on an existing hyperlink and launch the Hyperlink dialog, I can make whatever changes I want, but regardless of whether I make changes or not, when I click "Ok" I get an error beep.  The only way to get of the dialog is the press Cancel

  • Taking cluster disk offline made all other resources in the group to go offline.

    Hi, We have three node windows 2008 R2 failover cluster. When we tried to take one of the cluster disk offline from a application and services, it made all other resources in that application and services to go offline even though there was no depend