cancel
Showing results for 
Search instead for 
Did you mean: 

procedure for Accessing WebService in ejb By using NetWeaver,

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184385
Active Participant
0 Kudos

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.

Former Member
0 Kudos

Thanqqq