cancel
Showing results for 
Search instead for 
Did you mean: 

Exposing a Java class as a WebService (WSDL file)

former_member214651
Active Contributor
0 Kudos

Hi Everyone,

Can some one help me in finding a document that describes as to how a Java Class could be exposed as a WebService.

The Scenario is :

I have a Java class which i need to expose as a WebService (WSDL file), so that i can use this WSDL file in my WebDynpro Project.

Please let me know if this is possible or not.

if possible let me know if there are any material as to how to go about doing it.

Thanks in Advance

Poojith MV

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Poojith,

U can try with this

/people/valery.silaev/blog/2005/06/29/apojo--almostplain-old-java-objects-as-model

regards

Sumit

Answers (4)

Answers (4)

michael_voss2
Participant
0 Kudos

Hi!

In addition to the links that have been posted, try [http://help.sap.com/saphelp_nw04/helpdata/en/d6/f9bc3d52f39d33e10000000a11405a/frameset.htm] and navigate via "Web Service Toolset" -> "Creating a Web Service" to "Creating a Web Service for a Java Class".

There you'll find an introduction on how to create a WebService from an existing Java class.

HTH

Michael

Edited by: Michael Voss on Feb 11, 2008 11:51 AM

Former Member
0 Kudos

HI ,

You can create an Web Service from your java class.

Right click on it and create one webservice.

After that build an EAR file by right clicking on the JAVA project.

After that deploy that ear file into your server.

You can get that EAR file in local server.

You can use this Webservice in your webdynpro project.

Regards,

Chandan

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

Hope the following link will help you:

[/thread/36796 [original link is broken];

thanks & regards,

Manoj