cancel
Showing results for 
Search instead for 
Did you mean: 

Calling webservice from EJB

Former Member
0 Kudos

Hi,

I have to access webservice from EJB. Can someone provide me with steps and sample code snippet to do the same.?

Webservice which is deployed on the same application server was developed using Netweaver Developer Studio with simple SOAP configuration.

Thanks in advance,

John

Accepted Solutions (0)

Answers (2)

Answers (2)

praveenkumar_kadi
Active Contributor
0 Kudos
praveenkumar_kadi
Active Contributor
0 Kudos

Hi John,

check the following URLS's for your requirement

1>

2> (if you get naming exception while calling webservice from ejb)

3>http://help.sap.com/saphelp_webas630/helpdata/en/2c/ce9535c22ecd4db8820e238c3acce0/frameset.htm (Accessing the Web Services Context from a WS-EJB )

4>

Do reward points if it helps

Former Member
0 Kudos

Hi Praveen,

I visted links provided by you. All these links are talking about accessing webservice context and my problem is not on accessing webservice context. I want to use webservice from an EJB. One of the link says to use SAP xml toolkit to generate client binding and use stubs. Where is this SAP XML tool kit available ?

One doubt which I have is, it is talking about instantiating stub. How does it take WS url ?

Thanks ,

John