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

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

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

  • 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

  • Client Java Proxy - ?xml version="1.0" encoding="UTF-8" tag missing

    Hi All,
    I have a Java Proxy to File scenario. I am getting the output in the SAP XI but when i check the XML payload <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> is missing from it. Rest of the document is coming fine.
    Any idea how to fix it up?
    Thanks and Regards,
    Anurag Mahendru.

    Here it is:
    Re: ABAP Proxy -> XI - > File on a Website
    As I know, this is still on discussion, if the Java Proxy generation will be replaced by web service proxy generation.
    But existing Java Proxy applications definitivley  will run in PI 7.1 as well.
    Regards
    Stefan

  • 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

  • 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

  • Setting Encoding in Client Java Proxy

    Hi,
    We have a Java Proxy -> XI -> JDBC scenario. Since we are working with some special characters, we need to specify the XML encoding in Java Proxy to "UTF-8".
    Any idea how to achieve this in Java Proxy.
    Regards,
    Anurag Mahendru.

    You could try to use the wrapped method.
    Your xml would be something like:
    > <my_message>
    >   <xml><![CDATA[<?xml version='1.0'
    > encoding='UTF-8'?><data><field>1234</field></data>]]>
    >   </xml>
    > </my_message>
    To set the encoding for you XML (to be treated as string in your code), just use something like:
    > TransformerFactory tf = TransformerFactory.newInstance();
    > Transformer trans = tf.newTransformer();
    > trans.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
    > trans.transform(new DOMSource(this.getDataXML()), new StreamResult(out));
    Regards,
    Henrique.

Maybe you are looking for

  • FB60 can't reversed?

    Dear Gurus, I was made a Invoice through FB60 .it contain vendor   1000 cr TDS       100  cr ( It is cleared and submitted to Goverment) expense a/c  1100 db when i was done FB08 system show the error : document include cleared item). this is for TDS

  • Ipod wish list

    I've been an IPod user since Gen 1 - I think I'm on my fifth or sixth. I rely on it as my source of music for all exercising as well as one of the main sources to play music along with. With that in mind I have several wishes that were, or maybe are,

  • Workorder_update-In_Update is not working

    Greetings, We are using a Badi named workorder_update for maintenace order tracking.Here the problem is ,the methods At_save ,Before_update works coorectly in order.But we are not able to access the method IN_Update.The enhancement is implemented but

  • PE8 and now Premiere Pro CS-5 -  have I gone mad?  ;-)

    Hey gang! Just to let you know, that I now have a new souped up PC with Premiere Pro CS-5 and also PE-8 installed on it!   I finally bought the Adobe Creative Suite Pro Premium to go along with my new PC.  It was time to bite the bullet with some ext

  • Target URL problem!!!!!!

    When I run my project it should get the Target URL ----> http://localhost:7101/YBSprj-ybsProject-context-root/faces/index.jspx but what I got is ----> http://localhost:7101/YBSprj-ybsProject-context-root/faces/index How to deal with this problem?