cancel
Showing results for 
Search instead for 
Did you mean: 

Create Web service from EAR file

Former Member
0 Kudos

Hi,

I have a session bean as ear file which is deployed in WAS.I want to expose and publish the bean as a web service.Can anyone give some idea?

SAP Netweaver developer studio web services tool kit offers only if we have EJB projects with us. But I just have ear file.

Thanks and Regards,

Abdul Raheem .S

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Abdul,

The Web Service creation toolset is only available for EJB that is in a project inside the NetWeaver Developer Studio. My suggestion for you is to create a EJB project in the Dev Studio, then extract the EJB and descriptors from your EAR/ejb jar to the corresponding folders in the project. Then you can expose it as a web service there.

Or, if you really don't want to touch the deployed ejb in your server. You can create another ejb in the Dev. Studio which lookup this ejb. Then you can expose the new ejb as web service.

Regards,

Marc