cancel
Showing results for 
Search instead for 
Did you mean: 

JAVA Proxy :: Exception in ejb-jar.xml in NWDS

Former Member
0 Kudos

Hi All

I am getting exception while Importing (Inbound) JAVA Proxy ZIP file in NWDS, ejb-jar.xml shows the red cross & when I double click on it got following error -->

The content of element type "ejb-jar" is incomplete, it must match "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,relationships?,assembly-descriptor?,ejb-client-jar?)".

I already add the following JAR files in class-path -->

aii_proxy_xirt.jar

aii_msg_runtime.jar

aii_utilxi_misc.jar

guidgenerator.jar

One different thing I also notice is that after adding these JAR files in classpath I am not getting my Inbound Interface BEAN under EJB candidates.

Also nothing is visible under ejbModule usually it shows 4 JAVA files & one template file.

As a solution I tried searching in google & forum for above exception, most threads suggest to add the Beans to xml files but I am not getting my interface Bean under EJB candidates.

I also tried reloading all the external JAR files again from System but still same issue.

Also within the same NWDS one another version of EJB is working fine but I worked on it 6months back, I tried copy its contents to ejb-jar.xml source code but then also nothing happens.

I am using NWDS Version: 7.0.10

Can you pls. suggest & let me know what further information I can provide from my side which can help you to investigate it.

Regards

Lalit

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member187563
Contributor
0 Kudos

hi,

Your are using server java proxy.

You can use some other jar files apart from what you are using,.

ejb20.jar

exception.jar

sapj2eeclient.jar

and after importing your zip file (create a ejb project first ,then add the zar files and then click on the ejbModule and then import your zip file ) close and open your project.

Do not directly click on ejb-jar.xml.Click on ejbModule and import the .zip file.

then save your .template file in ejbModule as a .java project.

then there should not be any error.

you can refer

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd2...

regards,

ujjwal kumar