on 01-23-2006 7:18 AM
hai,
This is Guru.
please tell me the procedure for accessing a webservice in ejb .
my mean is.
i have one Session Beab,And there is one webservice.
How can i call and using that webservice in netweaverdeveloperstudio tool.please send me code,if u have.
thanqq
Guru
Hi Guru,
the procedure to use a WS is as follow
1. Use the SAP xmltoolkit and generate client binding for your WS, which is the stub class, parameter and return type classes of the WS methods, if any.
2.Import the created WS client jar from step 1 to your EJB module project
3. In your session bean: instantiate the stub and call a WS method on this stub
That's all there is to it.
Best Regards
Gregor
Ps. The NWDS Help has also tutorial regarding WS usage.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.