Skip to Content

When using Developer Studio CE, we can create a Web Service from a EJB Session Bean just using a Wizard.

Suppose the following EJB with a simple method called sum with two +int +parameters (number1 and number2).

 

To create a Web Service from this EJB just right click on Bean class and select Web Services -> Create Web ServiceTo solve it, just  annotate the parameters with the @WebParam:

+Note: +This occurs on some releases of NWDS SP3, SP5. So try to update to last version, on the NWDS EHP1 this problem doesn’t occurs.

 

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply