cancel
Showing results for 
Search instead for 
Did you mean: 

How to Call webservice by another webservice

Former Member
0 Kudos

Hi all,

Anybody knows how to call a webservice by another webservice.

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

If the caller WS is implemented as a Java EE component itself, you can simply use @WebServiceRef to obtain a reference to the callee WS. Otherwise you'd need to manually instantiate and configure the proxy. For more information please refer to [Consuming Web Services|http://help.sap.com/saphelp_nwce10/helpdata/en/46/935a636110581de10000000a1553f7/frameset.htm].

HTH!

\-- Vladimir

Former Member
0 Kudos

Hi Vladimir Pavlov

thanks lot for your answer.my question is i created webservice and deployed in server it is running perfectly.then i created EJb project, now i want to call that webservice in my Ejb . can u tell me how to do that?

my webservice name is Sumwebservice

Vlado
Advisor
Advisor
0 Kudos

Have you looked at the link I provided above? Especially the [Creating Web Service Client Applications|http://help.sap.com/saphelp_nwce10/helpdata/en/45/113a1221337249e10000000a155369/frameset.htm] part describes in details what you need to do in your EJB.

\-- Vladimir

Former Member
0 Kudos

Hi Vladimir Pavlov

Thank lot for ur reply i will try and tell u.

Edited by: hameem mohamed on Sep 12, 2008 11:50 AM

Former Member
0 Kudos

Hi Vladimir Pavlov

There is any differents between java EE 5 and j2EE Development in Netweaver Developer Studio.

Vlado
Advisor
Advisor
0 Kudos

Yep. Have a look at [Developing Java EE 5 Applications|http://help.sap.com/saphelp_nwce10/helpdata/en/44/c778033d5360eee10000000a155369/frameset.htm] and [Creating J2EE 1.4 Applications in SAP NetWeaver Developer Studio|http://help.sap.com/saphelp_nwce10/helpdata/en/46/69364d53070ea1e10000000a155369/frameset.htm].

HTH!

\-- Vladimir

Answers (1)

Answers (1)

Former Member
0 Kudos

if u have ce71 with ehp1 you can model your ws calls using BPMN ELSE can create a ws client using the slider. the code for ejb will be generated on its own.

Vlado
Advisor
Advisor
0 Kudos

The product you are talking about (SAP EHP1 for SAP NW CE 7.1) is not yet released to customers.