on 03-29-2013 4:57 AM
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???
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I used the below links for reference
Java Proxies as Receiver - Proxy Programming - SAP Library
Regards
Osman
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.