Inbound Java Proxy doesnu00B4t work

Hi
I have configured the following steps for an Inbound Java Proxy:
1.- Create a Business System (Web AS Java) where is located the Proxy.
2.- Create a XI receiver comm. channel with the respective configuration
3.- Create a Java Proxy and implemented in NWDS
4.- Generate a .jar archive
5.- Generate a .ear archive and deploy to the Integration Server.
6.- Register the Proxy.
The scenario is JDBC --> XI --> Java Proxy. In the SXMB_MONI TC show no errors but the java proxy doesn´t work, that is, it doesn't do anything. Somebody knows why?

thanks Krishna, I've look into the RWB and see an error in the Adapter Engine, I attach the Log in the Audit Log Tab of the message:
Success Message successfully received by messaging system. Profile: XI URL: http://myAppServer:50000/MessagingSystem/receive/JPR/XI Credential (User): XIAPPLUSER
Success Using connection JPR. Trying to put the message into the receive queue.
Success Message successfully put into the queue.
Success The message was successfully retrieved from the receive queue.
Success The message status set to DLNG.
Success Java proxy runtime (JPR) accepted the message
Error Delivery of the message to the application using connection JPR failed, due to: Exception in method $messageSpecifier..
Success The asynchronous message was successfully scheduled to be delivered at Mon Sep 04 10:43:06 GMT-04:00 2006.
Success The message status set to WAIT.
Success Retrying to deliver message to the application. Retry: 1
I cannot see all the text in the error message, but it tell me that the error is in the JPR?

Similar Messages

  • Sync inbound java proxy timeout

    Hi all
    my scenario abap proxy to java proxy sync.
    but i had timeout error with some bulk data, but not too big...
    does anyone know how to increase time for inbound java proxy? 
    regards;
    dennis

    Dear Ogawa,
    Please if you have step by step document please send me .
    i am getting this error in my scenario:
    I am working on Java server proxy, In my scenario i am picking a file from sender File Adapter and in Receiver side i am using java proxy (Inbound). But in SXMB_MONI , it give me the Error and Error no is :110
    See the Detailed Error in Call Adapter.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!-- Call Adapter
    -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
    <SAP:Category>XIServer</SAP:Category>
    <SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
    <SAP:P1>110</SAP:P1>
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText />
    <SAP:ApplicationFaultMessage namespace="" />
    <SAP:Stack>Error while receiving by HTTP (error code: 110, error text: )</SAP:Stack>
    <SAP:Retry>A</SAP:Retry>
    </SAP:Error>
    Please help me .
    Regards
    Lateef

  • Getting Inbound Java Proxy Exception in method "onMessage"

    I have built an Inbound Java proxy, deployed the EJB, viewed it in the J2EE admin tool, registered the JPR settings (also listAll, reviewed results, looks OK), configure the XI scenario.  When I run the XI scenario using the Runtime workbench I get the following error in the BPM Synchronous Send step (calling the Java Proxy)
    "com.sap.aii.af.ra.ms.api.DeliveryException: Exception in method onMessage".
    Does anyone have any suggestions?
    What causes an "onMessage" Exception?

    Thanks Sudhir  Here is the process I am following to deploy my Proxy, would you please validate it.  Created EJB Project in NWDS, unziped XI gened proxies into ejbModule folder, renamed *PortTypeImpl.template to *PortTypeImpl.java (will add real code later), compiled all code (no errors), edited ejb_jar.xml to match your suggested format, can view EJB Candidates (and see my Proxy Bean), built EJB.JAR file (via Wizard), created new Enterprise Application Project and pointed build path to my EJB Project, within the Enterprise Application Project  I built an EAR file (which includes the "EJB Project JAR File",  Deployed Enterprise Application Project to the XI J2EE Engine.  I can log into XI J2EE Admin and see my EJB Project and the Proxy Bean I am trying to execute.  Is this the process you used to deploy the proxy bean?
    Also you you turn on JPR Tracing to see what parameters are passed into the JPR engine?

  • [urgent]inbound java proxy

    Hi
    how can i know if receiver XI adapter touch inbound EJB by registering url?
    my scenario is ABAP Proxy to Java proxy Sync.
    i can see mapping error on moni because payload inbound adapter has empty ,
    my issue, XI seems not to call inbound EJB?
    on adapter monitoring, JPR green
    what missing ?
    XI receiver
    HTTP 1.0
    XI3.0
    integration server
    URL Address
    Target Host :  XI IP
    service number : 50000
    path  : /MessagingSystem/receive/JPR/XI
    authentication Type : Use Logon Data for Non-SAP System
    UserName  :  XIAPPLUSER
    password  :  password
    thanks
    ogawa

    Hi,
    Please can you put here what the error is:...check if the mapping is working properly...
    Also can you check if the registering is done correctly.
    Please check on this thread
    Java Proxy Runtime:  failure to locate proxy bean on inbound call
    Regards
    Vijaya

  • Java Proxy not working? (Reposted Properly)

    I am very new to java and this forum, so please excuse any etiquitte issues.
    I am trying to create a simple proxy to "sniff" a port (143 in this case) and "inject" some text when passing it on. I have run this .jar package on my Windows 7 machine and it appears to start properly, but when when I access port 143 via telnet (for testing purposes) by loggin on to a remote server, my simple debug code never triggers. Am I missing something in this code?
    Basically I want to sniff for an IMAP connection on 143, look for a connection to a specific server (imap.mail.yahoo.com), and if found, send a line of text prior to login.
    Thanks for any help.
    Here is the code:
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package yahooimapproxy;
    * @author xxxx
    import java.io.*;
    import java.net.*;
    public class SimpleProxyServer {
      public static void main(String[] args) throws IOException {
        try {
          String host = "your Proxy Server";
          int remoteport = 143;
          int localport = 143;
          // Print a start-up message
          System.out.println("Starting proxy for " + host + ":" + remoteport
              + " on port " + localport);
          // And start running the server
          runServer(host, remoteport, localport); // never returns
        } catch (Exception e) {
          System.err.println(e);
       * runs a single-threaded proxy server on
       * the specified local port. It never returns.
      public static void runServer(String host, int remoteport, int localport)
          throws IOException {
        // Create a ServerSocket to listen for connections with
        ServerSocket ss = new ServerSocket(localport);
        final byte[] request = new byte[1024];
        byte[] reply = new byte[4096];
        while (true) {
          Socket client = null, server = null;
          try {
            // Wait for a connection on the local port
            client = ss.accept();
            final InputStream streamFromClient = client.getInputStream();
            final OutputStream streamToClient = client.getOutputStream();
            // Make a connection to the real server.
            // If we cannot connect to the server, send an error to the
            // client, disconnect, and continue waiting for connections.
            try {
              server = new Socket(host, remoteport);
              System.out.println("Attempting Connection?");
            } catch (IOException e) {
              PrintWriter out = new PrintWriter(streamToClient);
              out.print("Proxy server cannot connect to " + host + ":"
                  + remoteport + ":\n" + e + "\n");
              out.flush();
              client.close();
              continue;
            // Get server streams.
            final InputStream streamFromServer = server.getInputStream();
            final OutputStream streamToServer = server.getOutputStream();
            // a thread to read the client's requests and pass them
            // to the server. A separate thread for asynchronous.
            Thread t = new Thread() {
              public void run() {
                int bytesRead;
                try {
                  while ((bytesRead = streamFromClient.read(request)) != -1) {
                      System.out.println(bytesRead);
                    streamToServer.write(request, 0, bytesRead);
                    streamToServer.flush();
                } catch (IOException e) {
                // the client closed the connection to us, so close our
                // connection to the server.
                try {
                  streamToServer.close();
                } catch (IOException e) {
            // Start the client-to-server request thread running
            t.start();
            // Read the server's responses
            // and pass them back to the client.
            int bytesRead;
            try {
              while ((bytesRead = streamFromServer.read(reply)) != -1) {
                streamToClient.write(reply, 0, bytesRead);
                streamToClient.flush();
            } catch (IOException e) {
            // The server closed its connection to us, so we close our
            // connection to our client.
            streamToClient.close();
          } catch (IOException e) {
            System.err.println(e);
          } finally {
            try {
              if (server != null)
                server.close();
              if (client != null)
                client.close();
            } catch (IOException e) {
    }

    JavaGreenHorn wrote:
    I am trying to create a simple proxy to "sniff" a port (143 in this case) and "inject" some text when passing it on. I have run this .jar package on my Windows 7 machine and it appears to start properly, but when when I access port 143 via telnet (for testing purposes) by loggin on to a remote server, my simple debug code never triggers. Am I missing something in this code?Shouldn't you be accessing port 143 on your local machine, or wherever that code is running? There's no reason that a connection should be made to your code just because somebody connected to somewhere else. Or maybe I'm misunderstanding what you said there.

  • Java Proxy not working?

    I am very new to java, so please excuse any etiquitte issues.
    I am trying to creat a simple proxy to "sniff" a port (143 in this case) and "inject" some text when passing it on. I have run this .jar package on my Windows 7 machine and it appears to start properly, but when when I access port 143 via telnet (for testing purposes) by loggin on to a remote server, my simple debug code never triggers. Am I missing something in this code?
    Basically I want to sniff for an IMAP connection on 143, look for a connection to a specific server (imap.mail.yahoo.com), and if found, send a line of text prior to login.
    Here is the code:
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package yahooimapproxy;
    * @author dpallen
    import java.io.*;
    import java.net.*;
    public class SimpleProxyServer {
    public static void main(String[] args) throws IOException {
    try {
    String host = "your Proxy Server";
    int remoteport = 143;
    int localport = 143;
    // Print a start-up message
    System.out.println("Starting proxy for " + host + ":" + remoteport
    + " on port " + localport);
    // And start running the server
    runServer(host, remoteport, localport); // never returns
    } catch (Exception e) {
    System.err.println(e);
    * runs a single-threaded proxy server on
    * the specified local port. It never returns.
    public static void runServer(String host, int remoteport, int localport)
    throws IOException {
    // Create a ServerSocket to listen for connections with
    ServerSocket ss = new ServerSocket(localport);
    final byte[] request = new byte[1024];
    byte[] reply = new byte[4096];
    while (true) {
    Socket client = null, server = null;
    try {
    // Wait for a connection on the local port
    client = ss.accept();
    final InputStream streamFromClient = client.getInputStream();
    final OutputStream streamToClient = client.getOutputStream();
    // Make a connection to the real server.
    // If we cannot connect to the server, send an error to the
    // client, disconnect, and continue waiting for connections.
    try {
    server = new Socket(host, remoteport);
    System.out.println("Attempting Connection?"); // Debug line
    } catch (IOException e) {
    PrintWriter out = new PrintWriter(streamToClient);
    out.print("Proxy server cannot connect to " + host + ":"
    + remoteport + ":\n" + e + "\n");
    out.flush();
    client.close();
    continue;
    // Get server streams.
    final InputStream streamFromServer = server.getInputStream();
    final OutputStream streamToServer = server.getOutputStream();
    // a thread to read the client's requests and pass them
    // to the server. A separate thread for asynchronous.
    Thread t = new Thread() {
    public void run() {
    int bytesRead;
    try {
    while ((bytesRead = streamFromClient.read(request)) != -1) {
    System.out.println(bytesRead); // Debug line
    streamToServer.write(request, 0, bytesRead);
    streamToServer.flush();
    } catch (IOException e) {
    // the client closed the connection to us, so close our
    // connection to the server.
    try {
    streamToServer.close();
    } catch (IOException e) {
    // Start the client-to-server request thread running
    t.start();
    // Read the server's responses
    // and pass them back to the client.
    int bytesRead;
    try {
    while ((bytesRead = streamFromServer.read(reply)) != -1) {
    streamToClient.write(reply, 0, bytesRead);
    streamToClient.flush();
    } catch (IOException e) {
    // The server closed its connection to us, so we close our
    // connection to our client.
    streamToClient.close();
    } catch (IOException e) {
    System.err.println(e);
    } finally {
    try {
    if (server != null)
    server.close();
    if (client != null)
    client.close();
    } catch (IOException e) {

    I figured out the "code tags" and am posting again with tags.
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package yahooimapproxy;
    * @author dpallen
    import java.io.*;
    import java.net.*;
    public class SimpleProxyServer {
      public static void main(String[] args) throws IOException {
        try {
          String host = "your Proxy Server";
          int remoteport = 143;
          int localport = 143;
          // Print a start-up message
          System.out.println("Starting proxy for " + host + ":" + remoteport
              + " on port " + localport);
          // And start running the server
          runServer(host, remoteport, localport); // never returns
        } catch (Exception e) {
          System.err.println(e);
       * runs a single-threaded proxy server on
       * the specified local port. It never returns.
      public static void runServer(String host, int remoteport, int localport)
          throws IOException {
        // Create a ServerSocket to listen for connections with
        ServerSocket ss = new ServerSocket(localport);
        final byte[] request = new byte[1024];
        byte[] reply = new byte[4096];
        while (true) {
          Socket client = null, server = null;
          try {
            // Wait for a connection on the local port
            client = ss.accept();
            final InputStream streamFromClient = client.getInputStream();
            final OutputStream streamToClient = client.getOutputStream();
            // Make a connection to the real server.
            // If we cannot connect to the server, send an error to the
            // client, disconnect, and continue waiting for connections.
            try {
              server = new Socket(host, remoteport);
              System.out.println("Attempting Connection?"); // Debug Code
            } catch (IOException e) {
              PrintWriter out = new PrintWriter(streamToClient);
              out.print("Proxy server cannot connect to " + host + ":"
                  + remoteport + ":\n" + e + "\n");
              out.flush();
              client.close();
              continue;
            // Get server streams.
            final InputStream streamFromServer = server.getInputStream();
            final OutputStream streamToServer = server.getOutputStream();
            // a thread to read the client's requests and pass them
            // to the server. A separate thread for asynchronous.
            Thread t = new Thread() {
              public void run() {
                int bytesRead;
                try {
                  while ((bytesRead = streamFromClient.read(request)) != -1) {
                      System.out.println(bytesRead); // Debug Code
                    streamToServer.write(request, 0, bytesRead);
                    streamToServer.flush();
                } catch (IOException e) {
                // the client closed the connection to us, so close our
                // connection to the server.
                try {
                  streamToServer.close();
                } catch (IOException e) {
            // Start the client-to-server request thread running
            t.start();
            // Read the server's responses
            // and pass them back to the client.
            int bytesRead;
            try {
              while ((bytesRead = streamFromServer.read(reply)) != -1) {
                streamToClient.write(reply, 0, bytesRead);
                streamToClient.flush();
            } catch (IOException e) {
            // The server closed its connection to us, so we close our
            // connection to our client.
            streamToClient.close();
          } catch (IOException e) {
            System.err.println(e);
          } finally {
            try {
              if (server != null)
                server.close();
              if (client != null)
                client.close();
            } catch (IOException e) {
    }

  • Java Proxy Runtime:  failure to locate proxy bean on inbound call

    Hello gurus of the SDN,
    I have been trying to get an inbound Java Proxy scenario to work in XI 3.0 but have not been able to get the JPR to recognize my generated and deployed java code.  My scenario is set up to call the java proxies generated from a message interface based on the MATMAS Idoc.  I successfully deployed the generated java proxies on the same host box as is running the XI instance.  The objects are named as follows
    Message interface on XI = Inbound_MATMAS04
    Generated proxy bean = Inbound_MATMAS04_PortTypeBean
    Implementing class = InboundMATMAS04_PortTypeImpl
    Implementing method = inboundMATMAS04
    I used the JPR transport servlet to register the interface and implementing class but am not sure if I did this correctly.  I used the following entry in my web browser:
    http://nadcp786:50000/ProxyServer/register?
    ns=urn:xiTrainingLabs:groupXX:SAP&
    interface=InboundMATMAS04&
    bean=InboundMATMAS04_PortTypeImpl&
    method=inboundMATMAS04
    I also tried using the localejb/ prefix for the bean name in the above step since the code is co-located.  When I trigger the scenario, the Idoc info is passed into XI and the Java Proxy Runtime is called, but I get the following error response back in the SOAP header:
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="PARSING">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Cannot locate proxy bean InboundMATMAS04_PortTypeImpl: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Cannot locate proxy bean InboundMATMAS04_PortTypeImpl</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Finally, appended at the end of this post is the audit log of the messaging system showing that the JPR is called but without being able to locate the bean.  I think I am missing a configuration step somewhere, but can’t figure out what it is!!  Can anyone help me? 
    Many thanks in advance.
    Regards,
    Nick Simon
    Time Stamp     Status     Description
    2004-10-25 19:47:32     Success     The message was successfully received by the messaging system. Profile: XI URL: http://nadcp786.bcsdc.lexington.ibm.com:50000/MessagingSystem/receive/JPR/XI
    2004-10-25 19:47:32     Success     Using connection JPR. Trying to put the message into the receive queue.
    2004-10-25 19:47:32     Success     The message was successfully retrieved from the receive queue.
    2004-10-25 19:47:32     Success     The message status set to DLNG.
    2004-10-25 19:47:32     Success     Java proxy runtime (JPR) accepted the message
    2004-10-25 19:47:34     Error     JPR could not process the message. Reason: Cannot locate proxy bean localejbs/InboundMATMAS04_PortTypeImpl
    2004-10-25 19:47:34     Error     Delivery of the message to the application using connection JPR failed, due to: Cannot locate proxy bean localejbs/InboundMATMAS04_PortTypeImpl.
    2004-10-25 19:47:34     Error     The message status set to FAIL.
    2004-10-25 19:47:34     Error     Asynchronous error detected: Cannot locate proxy bean localejbs/InboundMATMAS04_PortTypeImpl. Trying to report it.
    2004-10-25 19:47:34     Error     Asynchronous error reported.
    Message was edited by: Nicholas Simon

    Hi
    How do you determine the JNDI naming of the a EJB?
    I have following entry in JNDI directory in the root
    Object Name FlightQueryIn
    Class Name javax.naming.Reference
    Context Name 
    Object Value Reference Class Name:
    Type: clientAppName
    Content: sap.com/JavaProxyEAR
    Type: interfaceType
    Content: remote
    Type: home
    Content: com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4
    Type: ejb-link
    Content: FlightSeatAvailabilityQueryIn_PortTypeBean
    Type: jndi-name
    Content: FlightQueryIn
    Type: remote
    Content: com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundRemote4
    I tried to register the bean with JPR using:
    http://ctsapxid01:50100/ProxyServer/register?ns=http://sap.com/xi/XI/Demo/Airline&interface=FlightSeatAvailabilityQuery_In&bean=FlightQueryIn&method=flightSeatAvailabilityQueryIn
    I followed the following blog
    http://wiki.sdn.sap.com/wiki/display/Java/JavaProxyChangesinPI7.1fromPI7.0
    Thanks,
    Chris

  • Message Inbound with Java Proxy

    Hi all,
    I try looking for java proxy example code to write a whole inbound message into file. But I can't to find it. I try with these blogs but still confuse.
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    Could you please to help and give me a example code?
    Thanks and Regards
    Park

    Hi,
    Refer this link
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702
    I hope this would help you

  • Inbound Async Java Proxy

    I am using an Inbound Async Java Proxy to send via socket three strings, via SXMB_MONI and RWB->MM->MDT I can see message was successfully delivered to JP System that for me is the XI J2EE engine, the JP is not sending anything (the logic is very simple) much worse I hardcoded the strings that is to supose to send and still nothing happens, I think the JPR is not calling the EJB, this is the body of my ejb-jar.xml, I have doubts on the values of the local, home, remote... tags
    <ejb-jar>
        <description>EJB JAR description</description>
        <display-name>EJB JAR</display-name>
        <enterprise-beans>       
            <session>
                <ejb-name>MiIaAlertaDMS_PortTypeBean</ejb-name>
                <home>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4</home>
                <remote>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundRemote4</remote>
                <local-home>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocalHome4</local-home>
                <local>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4</local>
                <ejb-class>sapPegDmsPEGBPM00.MiIaAlertaDMS_PortTypeBean</ejb-class>
                <session-type>Stateless</session-type>
                <transaction-type>Container</transaction-type>
            </session>
        </enterprise-beans>
    </ejb-jar>
    Any ideas on this problem?
    Thanks in advance.

    HI,
    Can you just cross check with the help of this blog-
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    Also as I told, you can write a file from payload in Java Proxy- to debug
    Regards,
    Moorthy

  • JAVA Proxy :: Exception in ejb-jar.xml in NWDS

    Hi All
    I am getting exception while Importing (Inbound) JAVA Proxy ZIP file in NWDS, ejb-jar.xml shows the red cross & when I double click on it got following error -->
    The content of element type "ejb-jar" is incomplete, it must match "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,relationships?,assembly-descriptor?,ejb-client-jar?)".
    I already add the following JAR files in class-path -->
    aii_proxy_xirt.jar
    aii_msg_runtime.jar
    aii_utilxi_misc.jar
    guidgenerator.jar
    One different thing I also notice is that after adding these JAR files in classpath I am not getting my Inbound Interface BEAN under EJB candidates.
    Also nothing is visible under ejbModule usually it shows 4 JAVA files & one template file.
    As a solution I tried searching in google & forum for above exception, most threads suggest to add the Beans to xml files but I am not getting my interface Bean under EJB candidates.
    I also tried reloading all the external JAR files again from System but still same issue.
    Also within the same NWDS one another version of EJB is working fine but I worked on it 6months back, I tried copy its contents to ejb-jar.xml source code but then also nothing happens.
    I am using NWDS Version: 7.0.10
    Can you pls. suggest & let me know what further information I can provide from my side which can help you to investigate it.
    Regards
    Lalit

    hi,
    Your are using server java proxy.
    You can use some other jar files apart from what you are using,.
    ejb20.jar
    exception.jar
    sapj2eeclient.jar
    and after importing your zip file (create a ejb project first ,then add the zar files and then click on the ejbModule and then import your zip file ) close and open your project.
    Do not directly click on ejb-jar.xml.Click on ejbModule and import the .zip file.
    then save your .template file in ejbModule as a .java project.
    then there should not be any error.
    you can refer
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702
    regards,
    ujjwal kumar

  • Java Proxy message in waiting status

    Hi,
       Let me explain my case, In our Integration Scenario we have configured an Inbound Java Proxy as the How to guide (HOW TO WORK WITH JAVA PROXIES) expain, but the proxy doesn't hava code, that is, it have the code by default when its created, and when we register it and the scenario runs, in the message monitoring the status of the message to the JP Business Service is in WAITING status, and in the details it says sometimes that an old reference to another JNDI name of bean is doesn't locate or the message "MessageSpecifier could not be reset".
       Remember, the Imp. class has only the default code and the scenario is JDBC --> XI --> JavaProxy
       Any ideas?

    Hi Hector,
    Status:  WAITING
              The message had been sent and it is failed and is currently waiting for another attempt.
    Solution :
    When the fist attempt to deliver the message has failed (a recoverable exception arose), the message is usually rescheduled and the status is updated to WAITING. As long as the message is in this status, the Messaging System retries to deliver the message according to the configured retry settings (default 3 tries).
    Regards
    Agasthuri Doss

  • 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

  • Using a java proxy with XI to execute a Script located in external server

    HI
    I have recived help from here about this. But i don´t know how to work with java proxy. Is someone there who can help me in it.
    Many thanks in advance.
    Noelia

    Hi Noelia,
    You can have 2 types of Java proxies viz. client(putting data into xi pipeline) & server (xi pipeline sends request to these proxies.)
    From system point of view, the requirements vary in case of these two. for server proxies you can have a webas java business system and associated technical system in sld.in case of client proxies, refer SAP note #809420.
    The basic difference between ABAP proxies and Java proxies is ABAP proxies reside on the perticular application system(CRM or R/3) but java proxies reside on SAP Web AS J2EE stack of your XI server.
    Just search SDN pointers on Java proxy developement and you will get good pointers. There is one How-to guide on service marketplace by the name "HowToWorkWithJavaProxies.pdf".
    Regarding your dev environment, you can always make use of NWDS, you need to be very much familier with EJB concepts and deployment. Check help.sap.com for more details.
    Java Proxies and SAP XI - The Inside Story, Part 1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    Java Proxies and SAP XI - The Inside Story, Part II
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    SAP XI 1.0 Configuring your PC or Laptop as a Java Receiving System
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f5b19b90-0201-0010-9bb0-81c235713d8d
    Also go through these links:
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    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-e7eb8903501
    http://help.sap.com/saphelp_nw2004s/helpdata/en/97/7d5e3c754e476ee10000000a11405a/frameset.htm
    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

  • Java Proxy as Sender in PI 7.1

    Hello everybody,
    I would like to build a Java Proxy as a sender in PI 7.1. To be more precise, I would like to implement an asynchronous distribution scenario from MDM to PI. I understand the process of deploying and calling a receiver Java Proxy, but currently I don't know how to do the sender proxy. I can import the PI WSDLs, but I only get methods with return parameter void, taking the PI message type as input.
         public  void modifyRecordOutA(mdm.masterdatareplication.ModifyRecordRequest modifyRecordRequest) { }
    So far so good, but somehow I have to send the data to PI, right? Could anybody tell me how to do this? Is there any documentation available that does not refer to older versions of the NWDS?
    Thanks in advance,
    Jörg
    P.D.: Hints referring to attach pictures to the request would also be welcome, if there is something special to be considered.

    Hi,
    You can have 2 types of Java proxies viz. client(putting data into xi pipeline) & server (xi pipeline sends request to these proxies.)
    From system point of view, the requirements vary in case of these two. for server proxies you can have a webas java business system and associated technical system in sld.in case of client proxies, refer SAP note #809420.
    But for a Java proxy, I would need a separate Java server(?) to run the application on, is this correct?
    You do not need a separate Java server. The basic difference between ABAP proxies and Java proxies is ABAP proxies reside on the perticular application system(CRM or R/3) but java proxies reside on SAP Web AS J2EE stack of your XI server.
    Just search SDN pointers on Java proxy developement and you will get good pointers. There is one How-to guide on service marketplace by the name "HowToWorkWithJavaProxies.pdf".
    Regarding your dev environment, you can always make use of NWDS, you need to be very much familier with EJB concepts and deployment. Check help.sap.com for more details.
    few links for java proxies
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    Learning Java proxies - landscape question
    Check these links also,
    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
    Rgds
    joel
    Edited by: joel trinidade on Feb 18, 2009 3:06 PM

  • RFC - Java Proxy (Synchronous) invoking method

    Hi,
    I have problems to call my inbound java proxy.
    My scenario consist of send RFC -> Java Proxy (Synchronous)
    Proxy this registered
    http://hcp095.intra.csc.es:50100/ProxyServer/register?ns=http://csc.es/xi/rca&interface=Z_RCA_SCS&bean=ZRCASCS_PortTypeBean&method=zRCASCS
    ejb-jar.xml:
    <ejb-jar>
        <description>EJB JAR description</description>
        <display-name>EJB JAR</display-name>
        <enterprise-beans>
            <session>
                <ejb-name>ZRCASCS_PortTypeBean</ejb-name>
                <home>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4</home>
                <remote>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundRemote4</remote>
                <local-home>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocalHome4</local-home>
                <local>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4</local>
                <ejb-class>es.csc.xi.rca.ZRCASCS_PortTypeBean</ejb-class>
                <session-type>Stateless</session-type>
                <transaction-type>Container</transaction-type>
            </session>
        </enterprise-beans>
    </ejb-jar>
    Class Impl:
    package es.csc.xi.rca;
    public class ZRCASCS_PortTypeImpl extends AbstractProxy implements ZRCASCS_PortType {
    public ZRCASCSResponse_Type zRCASCS(ZRCASCS_Type parameters) throws ZRCASCSException_Message_Exception, SystemFaultException,  ApplicationFaultException{
            //throw new RuntimeException();
            Rca_ws a = new Rca_ws();
            return a.zRCASCS(parameters);
    Error: XI_Monitor 
    <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method zRCASCS of proxy bean $Proxy305: cannot assign instance of com.sap.guid.GUID to field com.sap.aii.proxy.xiruntime.core.MessageSpecifierImpl.guid of type com.sap.guid.IGUID in instance of com.sap.aii.proxy.xiruntime.core.MessageSpecifierImpl: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method zRCASCS of proxy bean $Proxy305: cannot assign instance of com.sap.guid.GUID to field com.sap.aii.proxy.xiruntime.core.MessageSpecifierImpl.guid of type com.sap.guid.IGUID in instance of com.sap.aii.proxy.xiruntime.core.MessageSpecifierImpl</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
    Error: defaultTrace
    #hcp095.intra.csc_XID_19271950#ANGUZMAN#ec20b7f019f611de98340011259e6830#
    SAPEngine_Application_Thread[impl:3]_36##0#0#Error##Plain##
    #com.sap.aii.proxy.xiruntime.core.XmlProxyException: Error invoking method zRCASCS of proxy bean $Proxy366:
    cannot assign instance of com.sap.guid.GUID to field com.sap.aii.proxy.xiruntime.core.MessageSpecifierImpl.guid
    of type com.sap.guid.IGUID in instance of com.sap.aii.proxy.xiruntime.core.MessageSpecifierImpl
         at com.sap.aii.proxy.xiruntime.core.XmlProxyJ2EE.call(XmlProxyJ2EE.java:192)
         at com.sap.aii.proxy.xiruntime.core.XmlProxy$ProxyBeanCaller.call(XmlProxy.java:225)
         at com.sap.aii.proxy.xiruntime.core.XmlProxy.processRequest(XmlProxy.java:194)
         at com.sap.aii.proxy.xiruntime.core.XmlInbound.processRequestMessage(XmlInbound.java:126)
         at com.sap.aii.proxy.xiruntime.core.XmlInbound.processMessage(XmlInbound.java:83)
         at com.sap.aii.proxy.xiruntime.sbeans.JPRBean.onMessage(JPRBean.java:158)
         at com.sap.aii.proxy.xiruntime.sbeans.JPRLocalLocalObjectImpl0_0.onMessage(JPRLocalLocalObjectImpl0_0.java:175)
         at com.sap.aii.af.ra.ms.impl.ServicesImpl.deliver(ServicesImpl.java:276)
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:1049)
         at com.sap.aii.af.ra.ms.impl.core.queue.RequestConsumer.onMessage(RequestConsumer.java:119)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:850)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:180)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    If somebody can help me.
    Thank you very much

    Solved!!!
    to assign library references to the project application-j2eeengine.xml
    com.sap.aii.proxy.xiruntime
    com.sap.aii.messaging.runtime
    com.sap.xi.util.misc
    com.sap.guid

Maybe you are looking for

  • Ipod sad icon

    i have a 30 Gig video ipod and when i click on a song to play it stays at 00 and will not play. Then when i restart it a sad icon appears. I put it in disk mode and tried to restore it but an unknown error 1418(i think that was it) appeared. Please h

  • Getting stuck at Submitting to the build queue...

    I've uploaded all of the files necessary for DPS App Builder and have clicked on Create App... I'm stuck at this dialog box. It's not frozen, but not moving beyond this point. I've done this 3 separate times now and keep getting stuck at the same pla

  • Maintenance Wizard 2.20 Not showing any images and Style

    We have installed Maintenance Wizard 2.20 on the RHEL 5 linux server, we are accessing the application through IE9 browser. I have completed the browser settings provided by the MW disclaimer. But i couldnt see any images or CSS in the screen. I can

  • IPM help needed

    Hi, We are planning to go for IPM implementation and would like to have suggestions / answers asap. I would appreciate if someone can come up with the clarification. - Can we buy license for IPM as a standalone pacakge?OR we have to go for CRM too, s

  • WRT54G2 V1 - Internet randomly disconnecting

    So when am downloading an application or music anything like for example a game patch that is like 100mb big it disconnects of the network, but any other computer on the network which is wireless by the way stays connected and can still download. Why