on 09-28-2005 11:20 AM
XI Version 3.0, SP12
Hi,
I have a requirement to call an inbound interface implemnented as an EJB. I have generated the Bean classes and implemented the <Interface>_PortTypeImpl based on the PortTypeImpl_Template, and all the subsequent steps as per documentation regarding editing the descriptor files. I am using NWDS 2.0.3 build 200403180244. When I try to build the Assembly.jar and/or the Enterprise Application .ear file for deployment, I get an error indicating that the <Interface>_PortTypeBean is corrupt.
The Bean has been created by the Java Proxy Generation so I dont understand how this is a problem.
Also, I have created an outbound Asynch Java Proxy which generates the .ear file OK for deployment, but I need to know the port to deploy to from NWDS as the SDM setup requires it..
Could someone tell me if they have seen this before?
Thanks
Mark
Hi Mark!!
I would suggest you to check the components created for the Interface. The main components of an Enterprise beans are like this:
<Interface>_PortTypeImplRemote
<Interface>_PortTypeImplRemoteHome
<Interface>_PortTypeImplLocal
<Interface>_PortTypeImplLocalHome
<Interface>_PortTypeBean
You can decompile if you have the Class file. It may be possible that the file got corrupted while creation.
Decompile the file if you have only the class file(Use DJ Compiler or JAD.exe). This will tell you whether the error is with the bytecode of the bean class.
Cheers!!
AnuraG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi AnuraG
is this true for inbound interface proxies too? ie. a server proxy?
I have <Interface>_PortType.java
<Interface>_PortTypeBean.java
<Interface>_PortTypeImpl.java
<Interface>_PortTypeImpl.template
This is to be called from the integration server, where the message will be processed and a response returned to the integration server.
I thought that the <Interface>PortTypeImplLocal.jave etc are used for RMI-IIOP calls into the EJB from outside of the J2EE environment??
Cheers,
MARK
Hi, thanks. this does not apply to the open close of the project, as I overcame that earlier, the project shows no errors until I try to build the .jar file or the .ear file.
Thanks for the response tho'
Cheers,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to Close and Open your Projekt.
You can do this in the Java Perspective on the Menu -> Projekt -> Close and Open
Regards,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.