CLIENT_RECEIVE_FAILED Error in Client Java Proxy

Hi. All..
Do you experience CLIENT_RECEIVE_FAILED Error ?
This pattern is java proxy -> xi -> abap proxy.
It's occurring in xi server ( QAS ) . ( I guess that is internal error. )
I did refresh CPACache. but I don't solve.
This interface is very good execution in DEV.
but has occured CLIENT_RECEIVE_FAILED Error in QAS.
What's wrong?
Error message following....
  <?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>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>Fehler beim Empfangen per HTTP (Fehlercode: 110, Fehlertext: )</SAP:Stack>
  <SAP:Retry>N</SAP:Retry>
  </SAP:Error>

U may do the following
1. Check in SMICM if your HTTP service is running.
2. Upgrade the ICM kernel patch.
3. For SP15 there is a list of corrections -have a look into this SAP note-897583
Regards,
Prateek

Similar Messages

  • Error invoking client Java Proxy

    I have a scenario with Client Java Proxy in which a JSP gives call to the EJBs generated from the Message interface. Everything is deployed correctly and when I try to invoke the JSP, following error is reported in the defaultTrace file of J2EE engine.
    com.sap.aii.proxy.xiruntime.core.XmlLandscapeAccess.getJPRConfigurationFromSLD()
    Error getting JPR configuration from SLD. Exception: entityNotFound#
    I found pointers to SAP Note # 809420 as a result of SDN search.
    Has anybody faced similar situation?
    Regards,
    Amol

    Stefan,
    Things worked after the business system was created in SLD.
    I dont see the radio buttons for rewarding points against your post. Will try later to reward points.
    Thanks for your help.
    Regards,
    Amol

  • No Class found error in client java proxy

    Hi guys,
    I have configured a java proxy and I'm calling that proxy in a stand alone java program. I'm getting the below error when I execute the program.
    If any one can provide any inputs on the issue it'be great..
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/aii/utilxi/sld/XIEntityInSld
         at com.sap.aii.proxy.xiruntime.core.XmlSystemAccess.getProperties(XmlSystemAccess.java:679)
         at com.sap.aii.proxy.xiruntime.core.XmlSystemAccess.getProperty(XmlSystemAccess.java:709)
         at com.sap.aii.proxy.xiruntime.core.XmlSystemAccess.initLogging(XmlSystemAccess.java:471)
         at com.sap.aii.proxy.xiruntime.core.XmlProxy.send(XmlProxy.java:79)
         at com.sap.aii.proxy.xiruntime.core.AbstractProxy$XmlProxyHelper.send(AbstractProxy.java:181)
         at com.sap.aii.proxy.xiruntime.core.AbstractProxy.send$(AbstractProxy.java:142)
         at com.unilever.aa.xproc.procComm.file.kalido.MIKalidoTestOutAs_PortType.mIKalidoTestOutAs(MIKalidoTestOutAs_PortType.java:18)
         at com.bcone.FTP.TestFTPClient.main(TestFTPClient.java:60)

    Try following libs:
    From XI:
    aii_adapter_xi_svc.jar, aii_af_cci.jar, aii_af_cpa.jar, aii_af_mp.jar,
    aii_af_ms_api.jar, aii_af_ms_spi.jar,
    aii_af_service_message_security.jar
    From the J2EE client JARs: (/usr/sap/<SID>/JC00/j2ee/j2eeclient/signed):
    ejb20.jar, exception.jar, guidgenerator.jar, jARM.jar, jperflib.jar,
    jta.jar, log_api.jar, logging.jar, sapj2eeclient.jar, sapni.jar,
    sapxmltoolkit.jar
    See also this guide:
    SAP on DB2 for Linux, UNIX, and Windows
    Regards
    Stefan

  • Facing Problem in Deploying EAR for Client Java Proxy.

    Hi All,
                I am facing problems in deploying EAR in PI/XI server.
    The scenario is Client Java Proxy to SAP
    . I have followed the the pdf-how to create java proxies in 3.0. Using that I have created the EJB module and it archive.
    Finally created the EAR without errors. But while deploying the same in PI server, it throws the following error. Please do help me out in providing any inputs on the same.
    Deploy trace is seen below:-
    Deploy of the ear has errors :
    java.rmi.RemoteException: Cannot deploy application sap.com/BusPartnerEAR..
    Reason: Errors while compiling:
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:91: illegal escape character
          if (method.equals("U0024descriptor")) {
                              ^
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:98: illegal escape character
          if (method.equals("U0024jcoRuntimeMetaData")) {
                              ^
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:112: illegal escape character
          if (method.equals("U0024generationInfo")) {
                              ^
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:119: illegal escape character
          if (method.equals("U0024messageSpecifier")) {
                              ^
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:152: illegal escape character
          if (method.equals("U0024runtime")) {
                              ^
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:195: illegal escape character
          if (method.equals("U0024messageSpecifierRead")) {
                              ^
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:202: illegal escape character
          if (method.equals("U0024messageSpecifier__")) {
                              ^
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:93: illegal escape character
              org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream)_request("U0024descriptor", true);
                                                                                    ^
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:112: illegal escape character
          ServantObject so = servantpreinvoke("U0024descriptor", MIOSBusinessPartner_PortTypeRemote.class);
                                                  ^
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:134: illegal escape character
              org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream)_request("U0024jcoRuntimeMetaData", true);
                                                                                    ^
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:153: illegal escape character
          ServantObject so = servantpreinvoke("U0024jcoRuntimeMetaData", MIOSBusinessPartner_PortTypeRemote.class);
                                                  ^
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:216: illegal escape character
              org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream)_request("U0024generationInfo", true);
                                                                                    ^
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:235: illegal escape character
          ServantObject so = servantpreinvoke("U0024generationInfo", MIOSBusinessPartner_PortTypeRemote.class);
                                                  ^
    D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:257: illegal escape character
              org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream)_request("U0024messageSpecifier", true);
    21 errors
    Awaiting for your replies...
    Regards,
    Dhana

    Hi,
         Thanks for your input..
       I have also opend the EAR as ZIP file and deleted the existing listing libaries
    apart from the actual implementing Jar and META-INF folder.
    I have tried deploying the Jar for the second time, it is throwing the same error.
    What I did is...Once the EAR is created, I went to Resource perspective in NWDS and copied the EAR from the EAR project and used the same for deployment.
    Is there is anything else to be modified or deleted before deployement?
    Regards,
    Dhana

  • 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

  • Call Client Java Proxy from Server Java Proxy

    Hi Gurus!!
    I'm trying to call a Client Java Proxy from a Server Java Proxy.
    Is possible to do this? I think must be possible.
    I have called this Client Java Proxy from another application, and run ok.
    I have tried to call it following the Guide to call Java Client Proxies:
                    es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeHome queryOutHome = null;
                    es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeRemote queryOutRemote = null;                     
                    try {
                         //      Get naming context
                         Properties p = new Properties();
                         p.put(
                              Context.INITIAL_CONTEXT_FACTORY,
                              "com.sap.engine.services.jndi.InitialContextFactoryImpl");
                         p.put(Context.PROVIDER_URL, "myurl:50104");
                         p.put(Context.SECURITY_PRINCIPAL, "MMIGUEZ");
                         p.put(Context.SECURITY_CREDENTIALS, mypasswrod);
                         Context ctx = new InitialContext(p);
                         Object ref = ctx.lookup("RobotOut");
                         //      Look up jndi name of proxy bean
                        try {
                         queryOutHome =
                              (MIRobotOut_PortTypeHome) PortableRemoteObject.narrow(
                                   ref,
                                   MIRobotOut_PortTypeHome.class);
                        } catch (Exception e) {
                             throw new RuntimeException(e + "1");
                         //        Get Remote interface
                         queryOutRemote = queryOutHome.create();
                    } catch (Exception e) {
                        throw new RuntimeException(e + "2");
    but I get this error
    "com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method mIRobotIn of proxy bean $Proxy351: es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeHome: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method mIRobotIn of proxy bean $Proxy351: es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeHome"
    es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeHome is the corresponding PortTypeHome to the Client Java Proxy.
    I have tried to call too calling directly from the server Java Proxy to the method correcponding to the Client Java Proxy. The error I get is:
    "com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/DTRobot_Type: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/DTRobot_Type"
    Tha call to the client is:
    es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortType clase = null;
    es.navantia.xi.mm.dispositivosRobotizadosKasto.DTRobot_Type client_req = null;
    es.navantia.xi.mm.dispositivosRobotizadosKasto.DTRobotResponse_Type client_res = null;
    client_res = clase.mIRobotOut(client_req);
    Please, any help will be useful.
    Thanks and regards,
    Manuel Míguez.

    Hi,
    Now I get another error message:
    com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/MITextoOut_PortTypeRemote: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/MITextoOut_PortTypeRemote
    Now, my source is:
      MITextoOut_PortTypeHome queryOutHome = null;
      MITextoOut_PortTypeRemote queryOutRemote = null;
      try {
    //     Get naming context
    Context ctx = new InitialContext();
    //     Look up the EJB name in the environment
    Object ref = ctx.lookup("java:comp/env/ejb/TextoOut");
    // Object ref = ctx.lookup("java:comp/env/ejb/MITextoOut_PortTypeBean");
    //     Cast to Home interface
         queryOutHome = (MITextoOut_PortTypeHome)
    PortableRemoteObject.narrow(ref,
    MITextoOut_PortTypeHome.class);
    //     Get Remote interface
    queryOutRemote = queryOutHome.create();
    } catch (Exception e) {
    System.out.println("RemoteException occurred: "+e.getMessage());
    e.printStackTrace();
    //return;
    try {
          queryOutRemote.$messageSpecifier();
    } catch (RemoteException e2) {
          // TODO Auto-generated catch block
          e2.printStackTrace();
    DTTexto_Type Texto_type = new DTTexto_Type();
    Texto_type.setTexto(req_texto);
    DTTextoResponse_Type Texto_response = new DTTextoResponse_Type();
    try {
         Texto_response = queryOutRemote.mITextoOut(Texto_type);
    } catch (SystemFaultException e1) {
          // TODO Auto-generated catch block
          e1.printStackTrace();
    } catch (ApplicationFaultException e1) {
          // TODO Auto-generated catch block
          e1.printStackTrace();
    } catch (RemoteException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
    I have tryed removing queryOutRemote.$messageSpecifier() and I get the error:
    com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/DTTexto_Type: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/DTTexto_Type
    Somebody knows what could be the cause of these errors?
    Thanks and regards,
    Manuel.

  • Client java proxy with inside story docu

    Hi
    i am following client JAVA Proxy inside story 1, 2 refering to how to work with java proxy.
    just look at the following source;
    in InvokeProxy Class
    Context ctx = new InitialContext(p);
    remote = MIProxyUserSyncOut_PortTypeHome.create();
    DTProxyUser_Type dt = new DTProxyUser_Type();               
    dt.setUsername("name");
    dt.setPassword("password");
    DTProxyUserDBResponse_Type dtpUserR = new DTProxyUserDBResponse_Type();
    dtpUserR = MIProxyUserSyncOut_PortTypeRemote.mIProxyUserSyncOut(dt); , this code will calling this method(
    mIProxyUserSyncOut in MIProxyUserSyncOut_PortTypeBean),
    and then is calling  MIProxyUserSyncOut_PortType.mIProxyUserSyncOut(mTProxyUser)
    public DTProxyUserDBResponse_Type mIProxyUserSyncOut(DTProxyUser_Type mTProxyUser)
         throws SystemFaultException, ApplicationFaultException {
         BaseType $result = null;
              try {
                   MIProxyUserSyncOut_PortType.MTProxyUser_Message request$ = new MIProxyUserSyncOut_PortType.MTProxyUser_Message();
                   request$.setMTProxyUser(mTProxyUser);
    <b>==>error</b>          $result = send$(request$, "http://test.com/test02", "MI_Proxy_User_Sync_Out", "MI_Proxy_User_Sync_Out", new MIProxyUserSyncOut_PortType.MTProxyUserDBResponse_Message());
              }catch (ApplicationFaultException e){
               throw createExceptionWrongExceptionType$(e);
    the error message is below;
    RemoteException occurred: EJB Exception: ; nested exception is:
            java.lang.NoClassDefFoundError: com/sap/aii/utilxi/prop/rprof/ExchangeProfileR3PropertySource
    does anyone has surch experience?
    thanks
    venjamin

    answerd

  • Where to deploy EAR file(Client java proxy) in SAP J2EE engine (XI)?

    hi i m novice in J2ee technology of XI,
    I m trying a blog to create client Java proxy,
    can u tell me after making the EAR file .... where should i deploy it,
    means it instructs me to deploy the EAR file in the SAP J2EE engine.... what is that .... whats the URL and port ?

    Hi sudeep
    check these
    http://help.sap.com/saphelp_nw04/helpdata/en/01/a70e408230c442e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/9c/8a9383a2aeda4a962446d3c29b9e19/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/05/4fac3e00c8b014e10000000a114084/frameset.htm
    also this
    /message/3943924#3943924 [original link is broken]
    thanks

  • Standalone java as client java proxy with xi

    hi,
    i am coming from ABAPer, i have read inside story part 1 and 2, this seems J2EE Application.
    i am not clear on standalone java as client java proxy with xi.
    i have ClassProxy.zip generated by IR and some aii_***.jar.
    could you tell me what the step by step is?
    any helpful comments will be apprecidated.
    thanks
    venjamin

    hi
    good
    go through these links, i hope these will help you to solve your problem.
    http://help.sap.com/saphelp_srm30/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d4/d12940cbf2195de10000000a1550b0/content.htm
    http://www.seeburger.com/fileadmin/com/pdf/SAP_Exchange_Infrastructure_Integratio_Strategy.pdf
    thanks
    mrutyun

  • Calling the Client Java Proxy

    Hi,
    I'm trying to create a client Java Proxy.
    My source structure contains a node which is 0 - unbounded. The Scenario is working well with a single set of values ie if 1-1 . But when im trying to set the second value, the first value in the array is getting overlapped with the second value. The array contains two set of values. But both the same val (ie the second value ). Can anyone help me out in this concern???

    Must be something related to your data filling logic. Check you are properly filling the structure. Also, check for the context changes if you have any in the source structure. Did you generate the proxy again after making your structures 0..unbounded?
    VJ

  • Running client Java Proxy on PCK

    I have deployed client java proxy on PCK server. I have got  an exception when I run this proxy.       
    <b>Delivery of the message to the application using connection AFW failed, due to: Couldn't find delivery channel for message.
    </b>
    All needed system(receiver, and XI ), sender/receiver agreeement are created. And it forks for adapter configured for the same sender system.
    What are your suggestion? What did I wrong?

    The PCK is not designed to use Java Proxies.
    For testing purposes you can maintain all required values in the file jpf.properties on the PCK installation.
    Regards
    Stefan

  • Client java proxy as standalone java

    hi,
    i am coming from ABAPer, i have read inside story part 1 and 2, this seems J2EE Application.
    i am not clear on standalone java as client java proxy with xi.
    i have ClassProxy.zip generated by IR and some aii_***.jar.
    could you tell me what the step by step is?
    any helpful comments will be apprecidated.
    thanks
    venjamin

    Hi Venjamin,
    I thought I will give u a few links which might help you….
    First go through these articles……
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    For java server proxies...go through the following blogs….
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    Java Proxy Inside Story Part I
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/java%20proxies%20and%20sap%20xi%20-%20the%20inside%20story,%20Part%201.pdf
    Java Proxy Inside Story Part II
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/java%20proxies%20and%20sap%20xi%20-%20the%20inside%20story,%20Part%20II.pdf
    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

  • 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

  • Error in scenario for client Java Proxy

    2006-04-28 15:30:49 Success Java proxy runtime (JPR) is transferring the request message to the messaging System
    2006-04-28 15:30:49 Success Application attempting to send an XI message synchronously using connection JPR.
    2006-04-28 15:30:49 Success Trying to put the message into the call queue.
    2006-04-28 15:30:49 Success Message successfully put into the queue.
    2006-04-28 15:30:49 Success The message was successfully retrieved from the call queue.
    2006-04-28 15:30:49 Success The message status set to DLNG.
    2006-04-28 15:30:50 Error Received XI System Error. ErrorCode: NO_RECEIVER_CASE_BE ErrorText: ErrorStack: No receiver could be determined 
    2006-04-28 15:30:50 Error Returning synchronous error notification to calling application: XIServer:NO_RECEIVER_CASE_BE:.
    2006-04-28 15:30:50 Error Transmitting the message using connection http://<SERVER>:<PORT>/sap/xi/engine?type=entry failed, due to: XIServer:NO_RECEIVER_CASE_BE:.
    2006-04-28 15:30:50 Error The message status set to FAIL.
    2006-04-28 15:30:50 Error Returning to application. Exception: XIServer:NO_RECEIVER_CASE_BE:
    2006-04-28 15:30:50 Error JPR failed to transfer the request message to the messaging system. Reason: XIServer:NO_RECEIVER_CASE_BE:
    I am getting this in the audit log for a Java Proxy <> XI <> RFC scenario. What could be the problem?
    the configuration in integration directory seems to be perfectly fine however the message flow fails giving this error <b>NO_RECEIVER_CASE_BE</b>
    Regards,
    Amol

    HI Amol,
    Did you check the Message type/Message Inetrface names in the Java Proxy ?
    Also check for Receiever Determinations in the configuration.
    I assume that , you have created the Communication Channel under the Business System created as Standalone Java System.. If not check this.
    Go to SXI_CACHE and check for the Receiever Determination created in the Configuration...
    Hope this helps,
    regards,
    Moorthy

  • Invoke Web Service error: WS Client ---Deployable Proxy --WS-https

    hi all:
    I use Deployable Proxy in NWDS to call Web Service(https-SSL)
    working on PI7.0 platform
    Scenario is :
    WSClient(Stateless EJB) -
    >Deployable Proxy ---> WS-https
    Deployable Proxy setting:
    SSL Service Certification : Ignore Service Certification
    Run Result is :
    Sometimes it works(Really amazing)
    Sometimes it doesn't work.
    When it doesn't work:
    The http response is : HTTP/1.1 500 Internal Server Error
    J2EE engine exception log is : pay attention the Strong msg
    [EXCEPTION]
    com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method getVersion.
         at com.sap.ejb.VersionLocalLocalObjectImpl0_0.getVersion(VersionLocalLocalObjectImpl0_0.java:119)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.buildFaultException(MimeHttpBinding.java:737)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.processRpcFault(MimeHttpBinding.java:771)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1470)
         at com.sap.ws.VersionSoapBindingStub.getVersion(VersionSoapBindingStub.java:74)
         at com.sap.ejb.VersionBean.getVersion(VersionBean.java:44)
         at com.sap.ejb.VersionLocalLocalObjectImpl0_0.getVersion(VersionLocalLocalObjectImpl0_0.java:103)
         ... 25 more
    javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.buildFaultException(MimeHttpBinding.java:737)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.processRpcFault(MimeHttpBinding.java:771)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1470)
         at com.sap.ws.VersionSoapBindingStub.getVersion(VersionSoapBindingStub.java:74)
         at com.sap.ejb.VersionBean.getVersion(VersionBean.java:44)
         at com.sap.ejb.VersionLocalLocalObjectImpl0_0.getVersion(VersionLocalLocalObjectImpl0_0.java:103)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Edited by: paul yang on Mar 9, 2009 8:41 AM

    Hi Paul,
    As it sometimes works & throws error in some cases, I would recommend you to try restarting the application server.
    Also, as there is some version related issue, you can also try to re-deploy the webservice (I think you are exposing the EJB as webservice), restart the server, deploy new archive & run the application.
    Hope this helps you.
    Kind Regards,
    Nitin

Maybe you are looking for