Java Proxy target host

Hi,
I have scenario where I am sending data from XI to other system thru Java proxy.
In reciever communication channel for java side what
we should enter in the field Target host.
Is it same url as what it appears on the page integration builder?
Thanx in advance.

The target host is the host, where you have deployed the Java Proxy Beans.
The port is always the J2EE port 5xxxx
Regards
Stefan

Similar Messages

  • Java proxy client logical port transport to Q and prod issue in target addr

    Hi All,
    I have a java proxy client having a logical port (configured using NWDS) to consume a web service in the provider system.
    In the logical port, I have given target address, and logical port name. While moving this client proxy NWDI dev track to Q and prod,
    how do I change this target address to point to Q and prod respectively. In other words, even though I am using Visual admin to configure the destination url for the logical port, to point to Q and prod, its still referring to the dev environment provider service after moving the proxy client to Q and prod. What is the suggested approach to take care of this issue
    Thx
    mike

    Hi Michael,
    I can only help from that point of view that I believe this question belongs to the forum
    Service-Oriented Architecture (SOA) and SAP
    Please try to raise this question there.
    Thanks and Regards,
    Ervin

  • Java Proxy Runtime Error - A remote host refused an attempted connection

    I am able to register my Java server proxy with no errors. However when I message is sent through I get the following error in Xi 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="1">
      <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 someJavaProxyCallIB of proxy bean com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4LocalObjectImpl0_0: A remote host refused an attempted connect operation.: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method someJavaProxyCallIB of proxy bean com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4LocalObjectImpl0_0: A remote host refused an attempted connect operation.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Doea anyone know why this is happening?

    I guess, that you have Java proxy libraries in the EAR file. Remove them before deploying.
    Regards
    Stefan

  • Unable to invoke java proxy in PI 7.1

    Hi ,
    I am using NWDS 7.2 (Trial ver) and using it to deploy java proxy on PI 7.1.
    I also registered the interface using http://<pi>:<port>/ProxyServer url
    But when I invoke the proxy I get the error as
    "Cannot locate proxy bean"
    Please tell me what to do...
    regards,
    Piyush

    Hi,
    This sort of error usually comes when JPR cannot find the deployed java server proxy bean.
    1) Register ur server proxy using this :
    http://host:port/ProxyServer/register?ns=xxx&interface=SI_Proxy_IA&bean=localejbs/Jndi-name&method=method name
    refer this: http://help.sap.com/saphelp_nw04/helpdata/en/a4/d5b3b0b16843b3867c0245d9847ae5/content.htm
    2)Chk whether u have mentioned the corrcet JNDI name while registering the URL.
    3) Chk ur JNDI name under NWA.
    4) Chk ur references under application-j2ee-engine.xml.
    <?xml version="1.0" encoding="UTF-8"?>
    <application-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="application-j2ee-engine.xsd">
    <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="library">com.sap.aii.af.sdk.lib</reference-target>
      </reference>
    <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="service"> com.sap.aii.proxy.svc</reference-target>
      </reference>
    <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="library">com.sap.xi.util.misc</reference-target>
      </reference>
    <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="library">com.sap.guid</reference-target>
      </reference>
      </application-j2ee-engine>
    Thanks
    Amit

  • Java Proxy Registration

    Hi All,
    Just tell me whether this is the correct way of registering the Java Proxy or not....
    I am using Inbound Proxy...
    http://sapntwr.wipro.com:50000/ProxyServer/register?ns=urn://wipro.com/proxytest&interface=MIDataTarget&bean=com.wipro.proxytest/JProxEAR/MIDataTarget_PortTypeBean&method=mIDataTarget
    where
    sapntwr.wipro.com is the host
    50000 is the port
    urn://wipro.com/proxytest is the namespace I have created my objects
    MIDataTarget is the Message Interface for Target message
    com.wipro.proxytest/JProxyEAR/MIDataTarget_PortTypeBean is the JNDI Name
    and
    mIDataTarget is the method used in Implementation class to access the data.
    If this is the correct way to register, then I am puzzled why I am getting error in SXMB_MONI....
    Messages are stopped in the queue.
    Can anyone help me out to solve this......
    Thanks & Regards,
    Prasad U

    Hi Sudhir,
    Thank you for the response. Now I am getting the following error in "Error" xml in SOAP Header.
    Please tell me wheather this is coz of some authentication problem or some problem with my Proxy.
    <?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">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>403</SAP:P1>
      <SAP:P2>Forbidden</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  403 &nbsp Forbidden</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/6.40 </b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  You are not authorized to view the requested resource.</b></font></p> <p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><table><tr><td valign="top"><b> Details:</b></td><td valign="top"><PRE>No details available</PRE></font></td></tr></table></font></p> </body> </html></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 403 with the description Forbidden XML element Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Regards,
    Prasad U

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

  • 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) {
    }

  • What is ABAP/JAVA Proxy and whats the use of it?

    Hello All,
    What is ABAP/JAVA Proxy. And why do we need to use them? I am not sure of the definitions given on help.sap.com. Thats the reason I am posting this question. Right answer will be rewarded. Thanks in advance.
    Regards,
    Farooq.

    HI Farooq
    <u><i>ABAP Proxy</i></u>
    ABAP server proxy is created for the inbound interface creted in XI's Integration repository proxy should be created in the business system for which the interface is created .
    U can reference following link :
    http://help.sap.com/saphelp_nw2004s/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm
    Server Proxies are generated for Inbound Message Interfaces. These are used to Process the Data coming into SAP System from an external application.
    Sproxy is the transaction to generate Proxies.
    Plz refer to this blog on abap server proxies
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    <u><i>Java Proxy</i></u>
    Java Proxoies are used to allows your java Applications ( j2ee, j2se applications )to interact directly to the Integration Server of XI without any special adapters.
    All documents are available on SDN itself .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab - How To Work with XI 3.0 Java Proxies
    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 1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d - Java Proxies and SAP XI - The Inside Story, Part 2
    Proxies help you achieve non-standard functionality for which the out of box XI adapters do not suffice. Just to give you an example, consider a system with which XI has to integrate , the only interface the system offers is a TCP / IP socket based interface. You could write a Java proxy which would interact over sockets with your target system, which is not possible with other standard adapters which are shipped with your XI installation
    You can refer demo on SDN TV, on this link
    https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798 [original link is broken]
    Cheers..
    Vasu
    <i>** Reward Points if found useful **</i>

  • RFC - XI - Java Proxy HTTP_RESP_STATUS_CODE_NOT_OK

    Hi all,
    I need to work on RFC->XI-> Java proxy.
    While excuting, i am getting an error :
    <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>400</SAP:P1>
      <SAP:P2>Bad Request</SAP:P2>
    Can any body please guide?
    Regards,
    Kulwant

    Hi Kulwanth,
    Plz do check the mentioned possibilities for your error one by one:
    1.Did you maintain Client, userid, password, and lang information in SICF transaction -> sap/xi/engine? Double click on service and check whether you have entered correct information.
    2.Then you might check the roles of the XIISUSER in SU01. In some case there are some double roles, i.e., two times the role SAP_XI_IS_SERV_USER assigned. One might have the date of the last update, the other one might have apparently the older version. Delete the older roles manually and the error should disappear.
    3.to send messages to xi you need a service id / pwd which is specific to your landscape usually its xiappluser. Contact your basis group for password.
    4.
    Activated all services on the r3 system.
    Create HTTP connection to XI from r3
    sm59-> http connetons to r3
    let us say you have created a HTTP connection in the integrationserver_XI, make sure in its settings the prefix path is set to /sap/xi/engine?type=entry. Also check its log on credentials, you can use xiappluser.
    IN Integration builder, receiver communication channel make sure you have entered proper
    host service number
    path = /sap/xi/enigne?type = receiver.
    5. It might also be that you have authorization problems with your XISUPER. In the visual administrator and in ABAP SU01, make your XISUPER has all the necessary(SAP_SLD* and SAP_XI*) roles assigned to it. If not, try to assign these and see if this can be of any help.
    6. can you also try the following;
    Visual Admin -> start the service,
    "com.sap.aii.af.ms.app".
    Please go through the followings links also :
    http://help.sap.com/saphelp_nw04/helpdata/en/82/f4993c03e0cd37e10000000a11405a/content.htm
    The specified item was not found.
    http://help.sap.com/saphelp_nw04/helpdata/en/39/83682615cd4f8197d0612529f2165f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/39/83682615cd4f8197d0612529f2165f/frameset.htm
    I hope the info provided help you solve your error.
    Regards,
    Vinod.

  • Java Proxy as Receiver

    Hi All,
    I am doing a scenario like FTP>XI>JavaProxy-->FTP. I hve configured everything and registered the Proxy too. But I am getting the error in Proxy Adaptor something like ....
    <?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>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>
      <SAP:P1>400</SAP:P1>
      <SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP client. Code 400 reason ICM_HTTP_CONNECTION_FAILED</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    My configuration details for receiver proxy is hereunder
    Adapter Type : HTTP (Receiver)
    Transaport Protocol : HTTP 1.0
    Message Protocol : XI Payload in HTTP Body
    Adapter Engine Intergration Server
    Addressing Type : URL Address
    Target Host : <host>
    Service Number : <port Number>
    Path : /MessagingSystem/receive/JPR/XI
    Authentication Type : Use Logon Data for Non-SAP System
    User Name : xidev1
    Any help will highly be appreciated.
    Thanks & Regards,
    Perumal K

    Hi,
    i am trying to implement the same scenario. can you help me with the steps which you follwed for successful implementing this.
    Thanks
    Ankur

  • Weblogic.jar in server java proxy

    Hi,
    weblogic.jar is so big size, when i have I/F item  that's number of 30 for server java proxy. i have to deploy individual ear file included individual weblogic.jar,
    like common jar, do i have to deploy it with ear every time?
    is there a way?
    thanks
    venjamin
    null

    > Hi,
    >
    > you mean,   like external driver setting with
    > aii_af_jmsproviderlib.sda,
    >
    >     <jars>
    >  <jar-name>ojdbc14.jar</jar-name>
    >      <jar-name>weblogic.jar</jar-name>
    > /jars>
    >
    > and then deploy it?
    Yes.
    > i do not need to add weblogic.jar into InboundEjb for server java proxy in
    > order to call target ejb?
    I do not understand this sentence.
    What is your scenario?
    Stefan

  • Error with JPR(Java Proxy Runtime) in Adapter Monitor of RWB

    Dear Experts,
                 I am implementing scenario with Client Java Proxy(Outbound) and Server ABAP Proxy(Inbound). We have done all the designing in IR and configurations in ID. We have deployed the EAR successfully. But when we go to RWB(Runtime Work Bench) to monitor the inital status of JPR in RWB->Adapter Monitor. It shows the following error.
    Status     Name                                Text
    Error        SLD Access                     SLD host:port = yhsapi01.yashsap.com:50000
    Error getting JPR configuration from SLD. Exception: Connect to SAP gateway failed
    Connect_PM TYPE=A ASHOST=yhsapi01 SYSNR=00 GWHOST=yhsapi01 GWSERV=sapgw00 PCS=1
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR max no of 100 conversations exceeded
    TIME Wed Jun 03 19:42:45 200
    RELEASE 700
    COMPONENT CPIC (TCP/IP) with Unicode
    VERSION 3
    RC 466
    MODULE r3cpic.c
    LINE 10713
    COUNTER 5521
    No access to get JPR configuration

    Hi!
    Obviously there are more than 100 connections opened in your system.
    ERROR max no of 100 conversations exceeded
    Please check your gateway settings (in ABAP you can check the parameters using transaction SMGW).
    Regards,
    Volker

  • De-register the java proxy

    Hi Frnds,
    Can you please tell me the process for de-register the java proxy from the server.
    Thanks,
    Raj

    Hi Ravi,
    Thanks for your response,
    I got my solution:
    http://<server>:<port>/ProxyServer  -
    > We will get all the options we can use with it.
    And for unregister
    http://<Host>:<Port>/ProxyServer/unregister?ns=<Namespace>&interface=<MessageInterface>&bean=<JNDI_Name>&method=<MethodName>
    Thanks,
    Raj

Maybe you are looking for