on 01-14-2010 6:01 AM
Hi,
Is it possible to deploy a standard EJB into the NetWeaver AS and then host a Web Service from this EJB.
After this, Is it possible to call this WebService from outside (EG: A Java APP outside the context of the Server?)
Cheers,
Earlence
Is it possible to deploy a standard EJB into the NetWeaver AS and then host a Web Service from this EJB.
Yes, see [Creating an Inside-Out Web Service from an Enterprise Java Bean|http://help.sap.com/saphelp_nwpi711/helpdata/en/46/78955dcb496ef0e10000000a1553f6/frameset.htm]
After this, Is it possible to call this WebService from outside
Yes, [deploy the Web service|http://help.sap.com/saphelp_nwpi711/helpdata/en/44/f3e0e6e8ce6c30e10000000a114a6b/frameset.htm] and then [create an endpoint|http://help.sap.com/saphelp_nwpi711/helpdata/en/4a/16934f06441b40e10000000a42189c/frameset.htm] for it. Now you will be able to call the Web service.
Hope this helps,
Rossen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Earlence,
This is a document from the EJB documentation at SAP Help Portal that explains how to expose an EJB as an Web service endpoint:
http://help.sap.com/saphelp_nwce711/helpdata/en/46/307a6c50094f09e10000000a114a6b/frameset.htm
I hope this helps.
Best regards,
Ekaterina
Hi Earlence,
You can try some of these tutorials:
[create ejb application and configure it into webservices |;
[How-to create a web service with attachments|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6014] [original link is broken] [original link is broken] [original link is broken];
[How-To Create Dynamic & Configurable Web Services Easily With Netweaver Development Components|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5838] [original link is broken] [original link is broken] [original link is broken];
[Developing Web Services in J2EE and consuming in SAP NetWeaver Visual Composer|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14743] [original link is broken] [original link is broken] [original link is broken];
[How to Create a Web Service using Enterprise JavaBeans|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10]
You can find many more results like these by [searching SDN|http://www.sdn.sap.com/irj/scn/advancedsearch?query=ejbwebservice].
Hope this helps,
Rossen
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.