cancel
Showing results for 
Search instead for 
Did you mean: 

Java Proxy issue in SAP PI 7.31 PO

Former Member
0 Kudos

Hi

I have created a Java proxy, but when i run the scenario it throws the following error.

![CDATA[

com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: System Error Received. HTTP Status Code = 200: However System Error received in payload ErrorCode = GENERAL ErrorCategory = XIAdapterFramework Parameter1 = null Parameter2 = null Parameter3 = null Parameter4 = null Additional text = com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. Exception: Cannot locate proxy bean xxxxxxxxxxxxxxxxxxxxxxxxxx ErrorStack = null [http://sap.com/xi/XI/Message/30^Error "GENERAL"]

The process that i followed to create the proxy is as follows.

- Created a EJB project/EAR.

- Imported the Service Interface (Inbound Sync) from ESR.

- Right click on wsdl -->Webservices --> Generate Java Bean Skeleton

- It create <ServerInterfaceName>.java and <ServiceInterfaceName>ImplBean.java ( Also created other java file for objects)

- I wrote the logic into the <ServiceInterfaceName>ImplBean.java and deployed it.

- Registered the proxy on server as following

http://<server>:port/ProxyServer/register?ns=<Namespace>&interface=<service interfce>&bean=<JNDI Name>&method=<Method name>

Since it was not working, Added the JNDI name also in ejb-j2ee-engine.xml. That too didnt work.

<?xml version="1.0" encoding="UTF-8"?>

<ejb-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ejb-j2ee-engine_3_0.xsd">

          <enterprise-beans>

                    <enterprise-bean>

                              <ejb-name>SISPreparePOIBImplBean</ejb-name>

                              <jndi-name>JavaProxy</jndi-name>

                    </enterprise-bean>

          </enterprise-beans>

</ejb-j2ee-engine>

I have checked into NWA--> JNDI Browser. There i dont see anything in localejbs. I see the following folder structure.

Root--> ejbContexts --> sap.com --> EARProjectName -->EJBprojectName.jar-->BeanName-->java:comp

3 files in this folder ( EJBContext, ORB and TimerService)

Can anyone help me on this please???

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Osman,

I am working on the JAVA proxy and trying to get this to work but struggling.

Can you help me with this

Thanks

Nikhil

Former Member
0 Kudos

Hi Nikhil

What help do you need?

Regards

Osman

Former Member
0 Kudos

Hi Osman,

Thanks for offering your help.

I am trying to get a java proxy scenario up and running.

can you let me know what steps did you follow to implement it

Thanks

Nikhil

Former Member
0 Kudos

I used the below links for reference

Java Proxies as Receiver - Proxy Programming - SAP Library

Regards

Osman