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

Similar Messages

  • 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

  • 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 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?????????

  • File to RFC synchronous scenario stopped Picking the files

    Hi Experts,
    We have a File to RFC synchronous scenario. Till yesterday night it is working fine.
    But suddenly it is stooped working.In moni, i can see the failed messages with the Mapping error " Can not create target element, values missing in the queue context "
    No Payload in moni / communication channel monitoring / Message monitoring. I've noticed that, wrong files placed in the To-be- processed files and the adapter picked those files and failed in mapping.
    I tried by stop and start the communication channel / did some dummy changes in the communication channel and activated. cleared the cache.
    But still the communication channel is not working.when i stop and start the communication channel it will try to process the wrong files and failed.
    Give me your valuable inputs to resolve this issue.
    Regards
    Bhargava krishna

    Hi Bharghav,
    Please go through the below,
    Symptom
    FTP Adapter is being used in the business scenario for message processing.
    During file processing it is noticed, that the FTP sender channel stops
    polling. There is no error in the channel monitor or the trace/log files
    and the polling jobs are correctly displayed in the AFW scheduler table.
    The issue is observed after a network connection issue with the FTP server.
    In order to remove the hanging locks from the FTP Adapter, the parameter
    'ftp.timeout' setting is required to be set, which releases the lock once
    the timeout value is expired. But in the above situation, the value for the
    'ftp.timeout' is not taken properly while establishing the data connection
    by File Adapter.
    Other terms
    FTP Adapter, sender, FTP, adapter, timeout, stalled, network, hang, polling
    Reason and Prerequisites
    Program error
    Solution
    The hanging situation has now been improved by code changes. Please see
    section "SP Patch Level" of this note for a list of updated software
    components.
    To get this correction available in your Support Package you need to apply
    the patch matching to your Support Package version as per the instructions
    in the NetWeaver Support Package Stack guide which can be found on the SAP
    Service Marketplace as described in SAP Note 952402.
    Thanks & Regards
    Uday.S

  • Proxy to File Synchronous Scenario

    Hello,
    My scenario is 
    SAP System ----->(Proxy)   PI -------->(File)  FTP
    Synchronous Scenario
    I have been using the RequestResponseBean and ResponseOnewayBean module in the Sender Request Adapter channel to convert the file adapter from Asynchrounous to Synchronous scenario.
    While Triggering Data From Proxy the receiver request channel is placing the file in the FTP.
    But the sender Response channel is saying that "No suitable Sender  agreement found" error.
    Also in the Audit log :SOAP: call failed com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: 204 .
    Getting the above error.
    Also I need the Sender Response Channel to pick the file after 10 minutes of placing the file in the FTP by the receiver Request channel.
    Please help on this.

    My question is , can I use graphical mapping as I am using a java class for content conversion?
    You can use as long as the structure generatde by the JAVA program is same as the source-message structure of the message mapping.
    I have developed a java code for content conversion and it is working fine. How to use this .jar file in XI?
    In my opinion this should be the adapter module....as the conversion needs to be done in the channel and inclucing it as a mapping wont help.
    Regards,
    Abhishek.

  • Asynchronous XI- RFC and RFC- XI scenario - strange problem

    Hello XI-Xperts,
    I've come to really strange problem, which I would like to share with you and possibly get an explanation.
    I have an asynchronous scenario with ending XI->RFC. The RFC function in R/3 has got an optional parameter called SENDER, which when is filled, the another asynchronous RFC->XI scenario should be started. (via ABAP code <i>CALL FUNCTION 'Z_XI_RETURN' DESTINATION gc_xi_destination</i> ... etc.)
    Now, the direction XI->RFC is configured properly, but the way back NO(!). Anyway I thought that it wouldn't make me a trouble, because those two scenarios are IMHO absolutelly separated. So I'd presume that the the data should come to R/3 without problem, it should be processed, and in case the parameter SENDER is filled the R/3 would establish the RFC connection and the "return data" should go back in different XI thread.
    Well I would think like that but the situation is different:
    When the parameter SENDER is empty, all goes OK and I can see in Runtime Workbench Message Monitoring - Adapter engine - Detail - Audit log only "successes". But when SENDER is filled with a value and R/3 does CALL FUNCTION with DESTINATION to a <i>non-existing Sender agreement</i>, the R/3 apparently doesn't send a acknowledgement to Adapter Engine of first thread XI->RFC. Intstead of that there are three messages in audit log:
    <i>MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling Z_FIDATA_INPUT in remote system (RfcClient[IS2RFC_SAP_BG]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, di: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception w
    </i>
    Basically I understand what is happening on the background, but I really can't go over my persuation that in case of the ASYNCHRONOUS SCENARIO this should not happen.
    Or is the RFC call (I mean XI->RFC) "pseudo-synchronous" even in asynchronous scenario ? I mean that Adapter engine waits for the result of RFC everytime ... ?!
    Thank you
    Tomas

    Hello again guys,
    so I've understood it on the end. My ABAP code didn't contain EXCEPTION part of CALL FUNCTION statement.
    <i>CALL FUNCTION 'Z_XI_RETURN'
        DESTINATION gc_xi_destination
        EXPORTING
          <PARS>
        <b>EXCEPTIONS
          communication_failure = 1
          system_failure        = 2.</b></i>
    Without it the RFC short-dumped and AE correctly tried to call it 1+3 times. The thing, that the problem was connected to XI related topic, tricked me. Well it's smart, I must admit on the end
    Reward points for interest.
    THX Tomas

  • No response message in Proxy to JDBC synchronous scenario

    Dear Team,
    I am working on synchronous scenario Sender ABAP proxy <===> SAP PI 7.31 <===> Oracle Database.All the necessary proxy configuration has been successfully tested.
    Business Scenario:
    ABAP proxy will send a single Vendor Id to Oracle DB as request and in return , it has to retrieve all the columns related to Vendor as response.Oracle Database stores all the Vendor information.There are 11 columns including the vendor Id in the view for the Vendor records.
    Design :
    For Request structure:
    a-->Created MT for Sender ABAP Proxy with only 1 field for Vendor Id.
    b-->Created MT for Receiver JDBC  with Action as SELECT , Table with "View Name" , Access with Constant Blank for all 11 column and Key as Vendor Id.
    I have been following  the link and Bhavesh Kantilal document.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/7b7171fde93673e10000000a114a6b/content.htm?frameset=/en/44/7b7855fde93673e10000000a114a6b/f
    rameset.htm&current_toc=/en/ca/b977f1c7814201954f20bb87ad7aab/plain.htm&node_id=71
    For Response structure:
    Created MT for Receiver JDBC with All the column names.
    Created MT for target ABAP ECC with the same 11 column name of JDBC response.
    Note :
    1.Database team shared a excel file as a sample payload which has all the column names of a vendor and I created my DT with the same naming conventions as they are maintaining in their database i.e. Column names are in CAPs, in the same order and even the special characters in the column name.
    2. The PING test connection for Cc works fine to database.
    Please read out my queries as the I am not receiving any response from Oracle DB and gives error as timeout exception:
    1.Since I am trying to retrieve all the column of the view , am I doing the correct procedure of putting all the column name in the JDBC request structure and making a Select statement. Can I add < * > to fetch all the column name and if so where can I add it.
    2. Whats the difference between SELECT and SQL_QUERY and on what circumstances I can add it?
    3. How can I test ICO in ID?
    4. Can I use any SOAP tool to test the messages? Is there any functionality in NWA to test the messages directly to JDBC .
    Hope all your inputs can improve my design part.
    Regards
    Rebecca

    Hi Rebecca,
    Did you go through all of these links below?
    PROXY to JDBC- SYNC
    Proxy to JDBC Sync, with Idoc Receiver
    JDBC to PROXY Sync Scenario | SCN
    JBDC Receiver Insert Statement Response
    Re: Synchronous JDBC select
    receiver JDBC structure
    Regards,
    Jannus Botha

  • Error in Proxy to SOAP synchronous scenario

    Hi Gurus,
    Hope you are doing well. I have a Proxy to SOAP synchronous interface interacting with an external system (system outside the firewall/landscape of my company).
    When I am trying to post the request message from XI, I am getting the following error.
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs
    In the WSDL provided by the external application, i.e. receiver WSDL, there is no attribute/field with the name 'IncludeExceptionDetailInFaults' and there is no fault string defined.
    Where is this error being thrown up? Is it a network/firewall error that XI is unable to determine?
    Please provide an answer as soon as possible.
    regards
    Debansu

    Hi,
    i think it is the problem in the WSDL provider system, because it is throwing the Error with some string".NET",
    do the below steps for investigating the issue
    1)try pinging the URL provided in the WSDL from internet explorer.
    2)if it is successfull, try to push one message from SOAP UI to by importing that WSDL, if you get any error then it is problem in the end system.
    Thank You,
    Madhav

  • SOAP to RFC synchronous scenario with File

    Hi,
    My scenario is 
    Java application is sending SOAP message to PI and PI should route that message (after converting SOAP message to XI message) to RFC.
    2) After receiving the response from RFC PI should send the response to java application. Now here comes the little tweak, we need to map RFC response to File as well apart from sending SOAP response message (which is generated after mapping RFC response message to Java application response structure) back to Java application.
    Is it possible without BPM?

    Without BPM you can try below approach, but i would recommend you to use BPM.
        Develop    SOAP---->PI(rfc look up) -
    > SOAP/JAVA application
    map RFC loop up response to SOAP receiver and JAVA application/.
    Regards,
    Raj

  • SAP Client Proxy to Webservice Synchronous Scenario

    Hi Experts,
    I have an outbound Synchronous Scenario.In which i have to trigger a Client Proxy from SAP side and Connect to a WebService using PI.
    I have with me the WSDl and URL for Webservice.Can anyone guide me with the necessary steps.
    Regards
    Gaurav

    Hi gaurav,
    From client proxy u have to send request and get the response back...
    So, for this create 2 corresponding data types and message types. and mapping will be between request message type which u created and request wsdl message and another mapping for response wsdl message and response message type which u created.
    create service interface outbound synchronous(give the message types which u created) and inbound synchronous(give the wsdl request and response messages).
    Regards,
    Sunitha

  • Client Proxy to JDBC synchronous Scenario

    I'm using Proxy--PI---JDBC synchronous shcenario, when i execute the proxy from R/3 it is giving me error "RCVR_DETERMINATION.NO_RECEIVER_CASE_BE" in configuration i have used one inbound receiver determination for request, my question is do i need to have one more reciever determination for response.
    Thanks for help.

    No, you do not have to add additional receiver determination
    Usually in sync scenario, make sure you have one receiver determination, no arbitration.
    If you have condition for receiver detemination, make sure the condition only return one true.
    Liang

  • JDBC to RFC synchronous scenario (Urgent).

    Dear forum,
    My requirement is data is populated in oracle data base.we are fecthing the data from database through XI and sending it to R/3. RFC is sending the response (suceess/failure) to XI. And XI is updating the status message into database.
    For this,I have done the JDBC - RFC - JDBC syncronous scenario using BPM. .I got the successfull message under message monitering.Problem is I cannot able to find the data for RFC and JDBC reciever.
    Please find the following Configuration steps for the above scenario
    3 data types
    JDBC request, JDBC response one dummy structure to capture RFC response messages.
    3 message types for the above data types
    5 message interfaces.
    OB request,
    OB ABS request,
    IB Asyn for dummy,
    Syn ABS (JDBC req and dummy structure),
    IB JDBC response.
    4 message mappings.
    Mapping between JDBC request to JDBC request dummy.
    Mapping between JDBC request dummy to RFC request.
    Mapping between RFC response to JDBC response dummy.
    Mapping between JDBC response dummy to JDBC response.
    3 Interface Mappings.
    JDBC request to JDBC request dummy.
    JDBC request dummy to RFC request and RFC response to JDBC dummy response(Synchronous request and responce) .
    JDBC dummy response to JDBC response.
    Integration Process.
    Used following steps.
    Recieve step asynchronous -> Send synchronous -> Send asynchronous
    I can able to see the payload for sender under communication channel.But the data is not reached to RFC.can any one help me to come out of this problem.
    Points will be awarded for helpfull answers.
    Thanks & Regards,
    Naresh.K

    Hi Seshagiri,
    We are trying the same scenario with out using BPM.
    Following steps has been done in design(IR).
    2 data types for JDBC request & JDBC response.
    2 message types for the above data types.
    1 outbound synchronous message Interface.
    2 message mappings (JDBC request -> RFC request) and (RFC response -> JDBC  response)
    1 Interface Mapping.
    Could you please let me know how to maintain the collaborative profiles & and agreement details in Configuration(ID).
    Your valuable assistence is required to complete the interface.
    Thanks in advance.
    Kind Regards,
    Naresh.K

  • File to RFC synchronous scenario

    Hello Friends,
    I have a file to RFC scenario.
    Sender is sending file synchronously and based on conditions within file i have to make call to various ECC instances and returning responses.
    I am using BPMmulticastparallel. Implemented conditional receiver determination and the correlation.
    Does anyone have such scenario example.
    Kindly share.
    Edited by: vishal kharat on Aug 5, 2011 2:47 PM

    Hi Mr.
    You can follow this example, regarding BPM implementation:
    http://www.riyaz.net/blog/a-step-by-step-guide-to-bpm-asynch-sync-bridge/technology/sap/170/
    For XPath Receiver Determination, follow this links:
    http://wiki.sdn.sap.com/wiki/display/XI/XpathConditioninReceiverDetermination
    http://wiki.sdn.sap.com/wiki/display/XI/EnhancedReceiverDeterminationinSAP+XI

  • Proxy to Webservice Synchronous Scenario

    Hi All,
    I have a Synchronous Proxy to Webservice Scenario.
    Here is the catch:
    My Source Proxy Datatype is
    DT_Source
        Status
         PayGradeA
         PayGradeB
    Now the requirement is
    if PayGradeA is equal to 01, 04, 05 then the data should be sent to WebserviceA and we need to get the response back to the Proxy,
    if PayGradeB is not equal to 01, 04, 05 then the data should be sent to WebserviceB and we need to get the response back to the Proxy.
    To handle this, in XI. I created
    2  Receiver Communication Channels ,
    2 Receiver Communication Components,
    2 Receiver Agreements,
    1 Interface Determination,
    1 Receiver Determination, (In the Receiver Determination I gave the Conditions, if PayGradeA is equal to 01, 04, 05 and PayGradeB is not equal to 01, 04, 05 ).
    Now when I trigger the proxy I am getting the following error
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">TOO_MANY_RECEIVERS_CASE_BE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Multiple receivers are not permitted in synchronous calls</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    I have read some blogs, they say XI wont support synchronous calls if we have more than 1 receiver.
    I want to handle this without the use of BPM.
    "Can we handle this in the ABAP Program in ECC?? If so can some body let me know how many Service Interfaces do I need to create in XI??"
    Can somebody help me step by step.
    Thanks,
    Harsh

    the other possibilitiy to avoid ccBPM is create a multimapping.
    so in the memssage mapping define 2 target structures and you will create or not the root structures: for example:
    If PayGrade is equal to 01,04,05 then create MT_PayGradeA
    IF PayGrade is not equal to 01,04,05 create MT_PayGradeB
    to do that in the message mapping add a new Message type in the target section under signature tab.
    now if you will only receive values 01,04,05 so validate the routing rule defined in the Receiver determination.
    best Regads
    RP
    Edited by: Rodrigo Alejandro Pertierra on Nov 10, 2011 4:04 PM

Maybe you are looking for