cancel
Showing results for 
Search instead for 
Did you mean: 

How to deploy a web service into a WAS JAVA

Former Member
0 Kudos

hello,

we have Netweaver 2004s AS Java with SP 11. I need to know how we can deploy or start up a web services into WAS. It is possible? how? Any document to help me?

please thanks!

Gaby

Accepted Solutions (0)

Answers (1)

Answers (1)

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Gabriel,

Hi Rohini,

How to create Web Service:

1. Create EJB Project(Stateless session bean is recommended).

2. Create interface according to your requirements

3. Signature(Parameters, data type) should be same in Remote,Bean and Local interface

4. Create EAR Project and corresponding add the EJB Project

5. Expose EJB as Web service. Right click on EJB Project->other->web services->web service(new VI and VSD).

6. Deploy to Application Server.

7. Goto http://localhost:50100/index.html. click on Web service navigator you can find web service

8. Test the web service.

Let me know if want more details

Regards, Suresh KB

Former Member
0 Kudos

Hi, Gaby

In addition to Suresh's steps for EJB, you can also deploy with

the Java class(Plain old java object) with NWDS.

help.sap.com - Creating a Web Service for a Java Class

http://help.sap.com/saphelp_erp2005/helpdata/en/2b/a6888f335a6d48b968ffdd59a25d1b/frameset.htm

Good Luck

Sejoon