Problems in synchronous scenario

Hi,
I am woking on a synchronous SOAP- PROXY scenario. The XI outbound interface has been exposed as web service which is invoked by .NET application to send the request. The inbound interface is ABAP proxy which is retrieving the data from R3 tables based on the selection criteria in request and sending back the same as response. While testing the scenario i am getting the following error in SXMB_MONI:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--
Call Inbound Proxy
  -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <SAP:Category>XIProxy</SAP:Category>
  <SAP:Code area="ABAP">INTERFACE_REGISTRATION_ERROR</SAP:Code>
  <SAP:P1>ifmmessif</SAP:P1>
  <SAP:P2>MI_DSSRes_SAP_Equipment</SAP:P2>
  <SAP:P3>urn://DSS_SAP_02/GetEquipment</SAP:P3>
  <SAP:P4 />
  <SAP:AdditionalText />
  <SAP:ApplicationFaultMessage namespace="" />
  <SAP:Stack>No implementing class registered for the interface (ABAP interface, request message MI_DSSRes_SAP_Equipment, request message, namespace urn://DSS_SAP_02/GetEquipment)</SAP:Stack>
  <SAP:Retry>N</SAP:Retry>
  </SAP:Error>
Can you help me as I am not able to resolve this error.
Also I need the steps for IR configurations for a synchronous scenario.
Thanks in advance.

>
sriparna1 wrote:
> It has been reactivated. But still not working.
>
> We have defined the incoming message from .Net application as Inbound  Interface Sync . the message received from r/3 via proxy is defined as outbound sync .We have developed A server proxy on inbound interface and the error we are getting is it is trying to search for the implementation of the outbound Interface. It should actually look for the Inbound proxy implementation as this proxy in its output parmeter sends back the output structure.
Since it is SOAP_to_PROXY .... the MI from .NET should be OUTBOUND Synchronous and that going into SAP should be INBOUND Synchronous.
Regards,
Abhishek.

Similar Messages

  • Problem with Synchronous Scenario

    Hello Experts,
    Right now i am working on a synchronous scenario RFC <-> 3rd party.
    RFC, with other data, passing one table to XI and 3rd party, but in response RFC will require the same table back.
    Now here in XI we are not storing synchronous messages in success case. So can anyone tell me that if i want that table in reply also, what should i do?
    I was thinking of option that while i communicate with 3rd party, we will create file also in which i will store that table data with the message Id, and while i will get reply back from 3rd party i will read this data from the file and then will pass it back to RFC.
    But m not sure that in response how i will read that file? and will i be able to delete that file or not?
    Please reply me as soon as possible as i have to give this option to my client.
    Hope the question is clear.
    Thanks and Regards,
    Hetal

    Hey,
      you can do this in a couple of ways.
    Fisrt, you can create a file as already mentioned and access the file from your server.
    second, you can create an internal table and access it via hash map.
    for both the solutions you need to create a udf.
    regards,
    Milan.

  • Java Proxy - XI - RFC Synchronous Scenario OUTBINDING Problem.

    Java Proxy -> XI -> RFC Synchronous Scenario. Problem
    Hi,
         I'm doing a Java Proxy -> XI -> RFC Syncronous Scenario.
         A Java Server Socket is running as a Demon. When a client make a request to the Java Server Socket, this one call Java Proxy Client and set up the parameters.
         The first time that execute the scenario it works perfectly but no the next one and so on.
         The error when I check the monitor (TCODE: SXMB_MONI) is in PLSRV_OUTBOUND_BINDING.
    <Trace level="1" type="B" name="CL_XMS_PLSRV_OUTBINDING-ENTER_PLSRV">
      <Trace level="1" type="T">no outbound binding found.</Trace>
      <Trace level="1" type="T">No standard agreement found for , DES210_DEV, , JPX_DEV, urn:servipago:SERVIPAGO_SAP_02, mi_os_t1</Trace>
    </Trace>
    <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    And it has sense, because my scenario doesn't begin with the execution of FM (RFC).
    A Hint, my services in the first try are:
         <b>Sender Service:</b>          JPX_DEV (Java Proxy Client)
         <b>Receiver Service:</b>     DES210_DEV (R/3 4.6C)
    But the second try and so on the services that I saw in the monitor are:
         <b>Sender Service:</b>          DES210_DEV (R/3 4.6C)
         <b>Receiver Service:</b>     JPX_DEV (Java Proxy Client)
    I can't understand why they swich each other.
    Any idea?

    Hi,
    Outbound binding problem is because of Reciever Determination/Agreement is not activated or refreshed correctly.
    Try to recreate or refresh and activate it. Then check it.
    also do the cache refresh in SXI_CACHE.
    Also in go to Integration Builder(XI home page)->Administration->Cache Overview and do all the cache refresh.
    Hope this helps
    Regards,
    Moorthy

  • SOAP to Proxy synchronous scenario

    Hi,
    Hope you are all doing well.
    I have a SOAP to Proxy synchronous scenario. As part of this scenario, the data structure of the response sent by SAP is different from the response sent back to the SOAP requester. Hence I have used request message mapping between the SOAP request sent by requester and the one passed on to SAP and response message mapping between the response sent by SAP and the one passed on to the requester. Both the message mappings are incorporated in a single Interface mapping.
    The problem is that the interface is behaving like a asynchronous one, i.e., request is passing over to SAP but though the proxy is giving a response back, the same is not coming over to XI.
    It would be really helpful if you can let me know what might have gone wrong.
    regards
    Debansu

    Hi,
    you should have that:
    1. Two Message Mapping:
    1.1. a Message Mapping for request    (called MM_request)    , from MT_SOAP_request     to   MT_Proxy_request.
    1.2. a Message Mapping for response (called MM_response) , from MT_Proxy_response   to   MT_SOAP_response.
    2. One Operation Mapping (in PI 7.1) or Interface Mapping (in PI 7.0) from SI_SOAP to SI_ Proxy with:
    2.1 in the tab "request", so from MT_SOAP_request     to   MT_Proxy_request    , give your Message Mapping "MM_request".
    2.2 in tab "response"   , so from MT_Proxy_response   to   MT_SOAP_response, give your Message Mapping "MM_response".
    3. In you Directory, you define a flow like that:
    from SI_SOAP to SI_ Proxy by using your Operation Mapping.
    If I missed nothing, that's all.
    MT = Message Type
    MM = Message Mapping
    SI =Service Interface in PI 7.1  or Message Interface in PI 7.0.
    regards.
    Mickael
    Edited by: Mickael Huchet on Oct 19, 2011 4:07 PM

  • ERROR During call of SOAP with a SOAP- RFC- SOAP Synchronous scenario

    Hello Experts,
    I've recently created a SOAP->RFC->SOAP synchronous scenario but every time I'm invoking the SOAP via XMLSpy then i will hang and send a timeout error. Also a log in XI was generated as shown below.
    I hope you could help me on this one.
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
    Date and Time          28.09.2010 09:31:23
    Short text
         SQL error in the database when accessing a table.
    What happened?
         The database system detected a deadlock and avoided it by rolling back
         your transaction.
    What can you do?
         If possible (and necessary), repeat the last database transaction in the
          hope that locking the object will not result in another deadlock.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
          in
         procedure "DELETE_LUW_PACKET" "(FORM)", nor was it propagated by a RAISING
          clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         The database system recognized that your last operation on the database
         would have led to a deadlock.
         Therefore, your transaction was rolled back
         to avoid this.
         ORACLE always terminates any transaction that would result in deadlock.
         The other transactions involved in this potential deadlock
         are not affected by the termination.
    Regards,
    Alfred

    Normally such an error comes when the DB of SAP PI is full.
    Contact your BASIS or ADMIN team and ask them to free the DB space.
    Regards,
    Abhishek.

  • HTTP to RFC synchronous scenario Issue

    Hi Folks,
        Currently I'm working on a HTTP to RFC synchronous scenario.  Everything went well till i triggered the message. While triggering the message i'M GETTING IS AS BELOW
    Result:
    http-Status:  500 Internal Server Error
    Payload:
    <SAP:Error>
    <SAP:Category>Application</SAP:Category>
    <SAP:Code>MAPPING.EXCEPTION_DURING_EXECUTE</SAP:Code>
    <SAP:P1>com/sap/xi/tf/_MM_Comcode_</SAP:P1>
    <SAP:P2>java.lang.NullPointerException</SAP:P2>
    <SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_MM_Comcode_: </SAP:Stack>
    </SAP:Error>
    I also tried executting the message testing tool to see the trace and the below result I got
      <?xml version="1.0" encoding="iso-8859-1" ?>
    - <Top>
      <First>BeginTrace</First>
      <Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
      <Trace level="2" type="T">......attachment XI_Context not found</Trace>
      <Trace level="3" type="T">Mapping is determined</Trace>
      <Trace level="1" type="T">Interface Mapping http://www.http-rfc.com IM_Comdet</Trace>
      <Trace level="3" type="T">Object ID of Interface Mapping CA9DBC0BCB27311FBAA3C4CE387CEC3B</Trace>
      <Trace level="3" type="T">Version ID of Interface Mapping 226C2EB123A711DFC0F4FAEBC0A80020</Trace>
      <Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_MM_Comcode_</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="2" type="T">Mode 3</Trace>
      <Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_Comcode_.</Trace>
      <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_Comcode_</Trace>
      <Trace level="2" type="T">Java mapping com/sap/xi/tf/_MM_Comcode_ completed. (executeStep() of com.sap.xi.tf._MM_Comcode_</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="1" type="E">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
      </Top>
    But still I'm not able resolve this issue kindly help.
    Regards,
      Santosh

    Looks like there is some mapping problems ,may be the RFC connection is not properly configured .Here is the link to configure the connection between ECC and PI :
    http://wiki.sdn.sap.com/wiki/display/XI/ConnectionSettingsbetweenECCandPIsystem
    May be there is no value retrieved from the ECC system so it is saying null value.
    For proper configuration check you can refer the following blog:
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    I am a beginner so not the full answer is there but may be this would help you.
    Regards
    Ravi Anand

  • Passing binary information in a synchronous scenario

    Hi All,
    I am working on a synchronous scenario where I am sending an HTTP request to third party and I am getting back the response. My requirement is that I need to pass through this response as it is from XI, no transformation is required.
    This happens twice:
    1) In first case, I receive the html data which is ok
    2) in second case, I receive PDF data which is getting corrupted and I cant view that pdf data after my message mapping.
    I am  using below code in response mapping (java mapping)....
    public void transform(TransformationInput in, TransformationOutput out) throws StreamTransformationException {
        try {
        String sourceString = "";String line ="";
        String append ="";
        InputStream ins = in.getInputPayload().getInputStream();
        BufferedReader br = new BufferedReader(new InputStreamReader(ins, "UTF-8"));
    while ((line = br.readLine()) != null){
         sourceString = sourceString + line;
        br.close();
        out.getOutputPayload().getOutputStream().write(sourceString.getBytes("UTF-8"));
        catch (Exception e) {
               throw new StreamTransformationException(e.getMessage());
    Problem is that this code is working for case 1) when I receive HTML data but in case 2) the data gets corrupted.I think I would need to pass the response as binary data (as it is) for both the cases.
    Do not forget that it is a synchronous interface so I do not have the option to bypass the IR development since I am making some transformation in the request mapping.
    Can anyone suggest.
    Thanks,
    Ravi.

    Hello Ravi,
    You are reading inputstream in character mode. i.e., BufferedReader
    You should read the content in byte mode
    Try with this code:
    byte[] buffer = new byte[1024]; 
    public void transform(TransformationInput in, TransformationOutput out) throws StreamTransformationException {
        try {
      InputStream is = (InputStream) in.getInputPayload().getInputStream(); 
      OutputStream os = (OutputStream) out.getOutputPayload().getOutputStream();
      while ((int len = is.read(buffer)) > 0) 
      os..write(buffer, 0, len);                                                    
      } catch (Exception e) {
               throw new StreamTransformationException(e.getMessage());
    Regards,
    Praveen Gujjeti
    Message was edited by: PRAVEEN GUJJETI

  • Problem in the scenario SOAP to RFC Syn

    Hello All,
    i developed one scenario for our client and development is same like below link.
    http://www.riyaz.net/blog/xipi-consuming-xi-web-services-using-web-dynpro-part-i/technology/sap/6/
    when i test the interface iam getting below error, Please tell me do i need to install any patch in Xi server or do i need to implement any note.
    My SAP XI server version 3.0 and Service pack:19
    2010-07-19 07:24:57     Operation performed     The message has been received by the mail system. Profile: XI URL: http://xxxxxxxxx:50000/MessagingSystem/receive/AFW/XI credential (User): XIISUSER
    2010-07-19 07:24:57     Operation performed     With the connection RFC_http: / / sap.com / xi / XI / System. Attempted placement of the message in the queue of requests.
    2010-07-19 07:24:57     Operation performed     Message queued dCaution
    2010-07-19 07:24:57     Operation performed     The message has been retrieved from the queue dCaution queries.
    2010-07-19 07:24:57     Operation performed     The status of the message has been activated on DLNG
    2010-07-19 07:24:58     Operation performed     Paper channel: CC_R_RFC
    2010-07-19 07:24:58     Operation performed     MP: entering
    2010-07-19 07:24:58     Operation performed     MP: processing local module localejbs/RfcAFBean
    2010-07-19 07:24:58     Error     MP: exception caught with cause com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method process.
    2010-07-19 07:24:58     Error     Exceptions occurred for Adapter Framework: Exception in method process.
    2010-07-19 07:24:58     Error     The dissemination of the message to the application via RFC_http: / / sap.com / xi / XI / System failed due to com.sap.aii.af.ra.ms.api.RecoverableException: Exception in method process.:
    com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method Process .. Enabled message "Failed".
    2010-07-19 07:24:58     Error     The status of the message has been activated on FAIL
    2010-07-19 07:24:58     Error     Return of the synchronous error message to the calling application: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in method process.: Com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception method in process ..
    Thanks and Regards,
    Chinna
    Edited by: chinnasapxi on Jul 19, 2010 10:55 AM
    Edited by: chinnasapxi on Jul 19, 2010 10:56 AM

    Hi Cinna,
    >just now i checked the RFC it is working
    this together with the header "Problem in the scenario SOAP to RFC Syn" is missunderstoobable. But ok, the error is inside RFC adapter: may be it cannot create the DIAG RFC call with the XML what you provided in RTW.
    To be shure to have sent the right XML send a message but use a Message Mapping with RFC module as target.
    Regards,
    Udo

  • Problem in Synchronos Scenario

    Hi Experts,
       I have a scenario SAP>XI->EXP this is a synchronous scenario. From i client proxy SSN number will be exported to EXP system as request and as aresponse i will get some set of records from EXP system along with SSN no.
    Problem is as  response i will 500,000  records along with SSN number and i will have to wait for 5-10 sec. for this response.
    I want to know that weather Xi can handle this huge ammount of records or Not?? being an synchronous scenario what are the time limits under which it is necessary to get the response (Because in  my case i will get response in 5-10 sec so there are possibilites for the time outs also.)
    Please help me

    HI,
    In PI7.1 the problem to deal with huge data files si resolved with using the advacned adapter engine.
    But in PI 7.0 or below you need to increase the heap size as well as the capacity to handle volume of data etc.
    You have to either increase the timeout values in XI or do a BPM. There is no other way to achive what you desire.
    For sender SOAP based then please set syncMessageDeliveryTimeoutMsec to a desired value.
    Timeouts can be tricky in synchronous cases with all the various components of XI. In your case, you've implied that the RFC receiver adapter is being used to talk to SAP and it's taking a long time for SAP to process this request and send back a response. Are you getting a '...MessageExpiredException'? If so, the parameter 'xiadapter.inbound.timeout.default' in the 'SAP XI Adapter: XI' J2EE service would be relevant (see Note 791379 for details). The 'syncMessageDeliveryTimeoutMsec' parameter of the 'SAP XI Adapter: RFC' J2EE service is only relevant if you're using the RFC sender adapter.
    Other timeout settings may come into play. The XI Troubleshooting guide has some good information on this.
    http://service.sap.com/~sapidb/011000358700005909032005E/XI30XI70_TroubleGuide.pdf
    Also, if this scenario is required to be synchronous, there's no way to split the request without using BPM as synchronous requests cannot be sent to multiple receivers.
    Talk abt large files and nightmares....We have been seeing some of those lately although we are running only 300 mb file....We set the recordset per message to 1000 , though it improve the performance, it brought down the running time from month to days...:)...
    File Adapter - Large file
    Processing/Splitting of large file
    Thanks
    Swarup

  • Response structure empty for HTTP to RFC synchronous scenario

    Hi experts,
    I have a HTTP to RFC synchronous scenario.
    The request is given to Price List ZBAPI.
    The input to the BAPI is date, material no, customer no and condition type.
    The output I am fetcching from access sequence table into the table FINAL  type structure ZFINAL which is
    then sent back to source as a response.
    But the problem is that I get this table as empty although BAPI returns data
    Regards,
    Mozila

    Dear Mozila,
    How did you check that BAPI returns data? Did you use an exact message sent from PI to the receiver business system? If not, I would suggest to take the message which was sent by PI to the receiver business system and use it when performing BAPI test.
    Are table contents received by RFC adapter on PI side (can you see BAPI execution results in message contents for response message received by RFC adapter)?
    Can you see any errors in RFC communication channel?
    Did you check message monitor in Integration Server for the particular message? Are there any errors?
    Please also check your message mapping - this may also cause the error in case RFC adapter receives correct results, but HTT client receives empty table.
    My regards,
    Vadim

  • JDBC- RFC- JDBC Synchronous scenario (Can't see the response message)

    Hello Experts,
    I tried this step in creating a synchronous scenario by using steps found in this site -> [http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29|http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29] I just changes File to JDBC. But problem is I see the sent XML message in SXMB_MONI but to response message. I also can't see the Sender interface name for the response message when I tried to use F4 in the Interface Name portion.
    Do someone encountered this before? Please help
    Regards,
    Alfred

    Hello,
    I hope someone could guide me on how to set this up cause I only see the sent message but there's no response message in SXMB_MONI. Note that interface was successful, I just want to see what was sent by the response.
    Regards,
    Alfred

  • PI BPM synchronous scenario

    Hi,
    I'm new to PI and have a question about synchronous scenario in PI using BPM.
    Basically my scenario is like this.
    RFC1 --> (RFC2 >RFC3>RFC4) --> RFC1.response  (  ( ) means 'inside BPM')
    What I'm having difficulty is that I call RFC1 and it needs to get result from RFC4.
    I have done asynchronous scenario in BPM but for this case,
    everything is synchronous and I don't know how RFC1 can call RFC 2 and get response from RFC4.
    Please help.
    Thank you.
    Edited by: WON HWANG on Aug 30, 2010 3:30 AM

    hi,  I have a BPM scenario which have these steps;
    1) write a WS request to txt file
    2) then  a java mappnig(no problem in this step)
    3) call an rfc get the response
    4) write the rfc response to ftp server
    5) if writing ftp is ok return a response else give an alert
    my bpm steps
    open s/a bridge- send step asycn(txt)-transformation-send to rfc sycn-send to ftp 
    I did these, how should I continue?

  • Jdbc-rfc synchronous scenario

    Hi...All,
    we r plaing to do JDBC-RFC Synchronous Scenario with out BPM,please tell me any settings are required for this scenario.any body is having any links regarding this type of scenario pls share with me...that is helpfull for me...
    thanks in advance,
    Pasi.

    Hello Pasi,
    JDBC-RFC Synchronous Scenario with out BPM,
    Go through this links...
    JDBC Sync - RFC Sync Scenario without BPM
    File - RFC - File without a BPM - Possible from SP 19.
    JDBC-RFC-File
    Re: jdbc-rfc synchronous
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
    /people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    JDBC-RFC Scnario mapping problem
    Thanks,
    Satya Kumar
    JDBC---RFC will Support Sync?????????

  • Prblem with Synchronous Scenario

    hello,
    I am facing some problem in sync scenario where i am using a FILE adapter at Sender Side and JDBC Adapter at receiver side,
    So, here i used the option of taskTimeout option at the sender side in order to close the job with in that time if there was no response from the receiver side.
    I had given upto 1800 secs in the advanced mode table.
    But still i am facing some problem with that..
    Can anyone help me out...
    Thanks,
    Soorya

    Hi,
    File adapter could be used for synchronous processing. Have a look at this:
    File - RFC - File without a BPM - Possible from SP 19.
    Check the message trace for the interface. You could do this by going to RWB -> Message Monitoring. Please check if you find any useful information about error tracing there.
    Thanks,
    Bhavish
    Reward points if comments helpful

  • IDOC Serialization & Synchronous Scenarios with AAE

    Hi Folks,
    I have queries reg Advanced Adapter Engine (AAE):
    1) Can we  do the Synchronous scenarios through AAE.
    2) How can i do the IDOC serialization. How AAE helps in that.
    Am using PI 7.3 ...Can you please mention the possibilites for the above queries.
    Thank you!!
    Regards,
    Sekhar

    MDM Learn wrote:
    Hi Folks,
    >
    > I have queries reg Advanced Adapter Engine (AAE):
    >
    > 1) Can we  do the Synchronous scenarios through AAE.
    Already supported as part of 7.1 / 7.11 so dont see any problem here
    >
    > 2) How can i do the IDOC serialization. How AAE helps in that.
    >
    > Am using PI 7.3 ...Can you please mention the possibilites for the above queries.
    >
    > Thank you!!
    >
    > Regards,
    > Sekhar
    the above should be very much supported if you are using the Java IDoc adapter. For serialization use qRFC in SAP partner profile

Maybe you are looking for