on 10-22-2008 8:01 AM
Hi,
Any tutorial for making EJB based APIs Web Service Enable (NW 7.1). (didnt find any such prior info on this forum).
Regards,
Arpit
Hi Arpit,
you can read this tutorial
[click|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00be903b-8551-2b10-c28a-8520400c6451]
Instead of creating a command bean you can create easily in the session bean a web service of the session bean,
Regards
Flo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just annotate the bean with @WebService and the business methods (which you want to expose as Web Service operation) with @WebMethod. Annotations for Web Service are defined in [JSR 181: Web Services Metadata for the Java Platform|http://jcp.org/en/jsr/detail?id=181]
Also you may read [Exposing the Implementation EJB as a Web Service|http://help.sap.com/saphelp_nwce10/helpdata/en/46/a82783f9ee371ce10000000a11466f/frameset.htm] for step by step approach.
Bala
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.