cancel
Showing results for 
Search instead for 
Did you mean: 

help - how to create java proxy (sender) in NWDS 7.1

former_member206107
Active Participant
0 Kudos

Hi,

I am trying to develop a java proxy as sender to send message from WAS to PI.

I am using NWDS 7.1. Let me explain what I have done so far,

1. Received proxy classes from PI

2. Created a EJB Project, imported the proxy classes into EJB project

3. created a EJB bean, local interface in the EJB project and exposed as webservice

4. added the ejb to an ear

5. added reference to the following jar files (external library)

tcaiiproxy_rt_api.jar

com.sap.aii.af.sdk.jar

com.sap.aii.utilxi.server.jar

com.sap.aii.utilxi.core.jar

com.sap.aii.proxy.svc_api.jar

6. able to build and deploy the application

7. able to open the webservice in wsnavigator

Error encountered:

"Server Exception: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sap/aii/proxy/xiruntime/core/AbstractType "

Questions:

1. Which method I should execute / call among all the proxy classes from local bean class to send message to PI?

2. Is it mandatory to add refernces to the application.xml, ejb-jar.xml and other xmls ?

3. How can I test / monitor the message being sent to PI interface?

Thanks and best regards,

Arun prabhu S

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member206107
Active Participant
0 Kudos

Hi,

We are not using ESR. We are using PI Proxy classes to connect to PI.

Thanks and best regards,

Arun prabhu S

Former Member
0 Kudos

plz cross chk the references under application-j2eeengine.xml and ejb-jar.xml

http://wiki.sdn.sap.com/wiki/display/Java/JavaProxyChangesinPI7.1fromPI7.0

u can chk tis article also:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508bb504-87cf-2c10-2aaf-f3a5df75e...