cancel
Showing results for 
Search instead for 
Did you mean: 

How to create Webservice using java

Former Member
0 Kudos

Hi Experts,

I am very new to Visual composer, can any one of you suggest how to create a webservice using java so that i can use that webservice in Visual Composer application.If it is possible please give me detailed description about it.

Regards,

Prasanna.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can create a webservice from a EJB or a plain JAVA class .

First create a session bean .

Add required methods for remote interface .

Create a EAR project and add the EJB project to EAR.

Go to EJBJar.xml --> select the bean --> R click and select webservice

Provide the name of the webservice --> Select next

Select the name of EAR project .

Depoly the EAR .

Now you can use the webservice in Visual composer.

Answers (2)

Answers (2)

ankur_garg5
Active Contributor
0 Kudos

Hi prasanna,

Please close the thread if your query has been solved.

Bye

Ankur

Former Member
0 Kudos

Hi Ankur,

Thank you very much.I got clear idea about it.

Regards,

Prasanna.

ankur_garg5
Active Contributor
0 Kudos

Deleted

ankur_garg5
Active Contributor
0 Kudos

Hi Prasanna,

See if my article is of any use to you:

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10">How to Create a Web Service using an Enterprise JavaBean</a>

For creating Web Services, you won't need to do the MS SQL Part explained in my doc. You can just concentrate on the part where i explain how to create a Web Service using an EJB.

Bye

Ankur