cancel
Showing results for 
Search instead for 
Did you mean: 

How to call function from web service ?

Former Member
0 Kudos

The web service is available on different machine within same network, i want to use the function which is availbale in web service in web dynpro Java.

please help me regarding this issue.

thanks in advance

regards

Sharad

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sharad,

Create a deployable / standalone proxy project for the webservice.

If you create a deployable proxy you need to create a J2EE client and lookup the service through JNDI.

If you create a standalone proxy you need to create a stand alone java program by instantiating the service by default constructor. You can expose this class as a public part and you can use this in your webdynpro application.

Refer this thread [Programming a Web Service Client Application|http://help.sap.com/saphelp_nw70/helpdata/en/56/f26a4db4eca14780ab2c1a1e211372/frameset.htm]

Hope this helps you.

Regards,

Saleem Mohammad.

junwu
Active Contributor
0 Kudos

you have ask the service provider whether the function can be called directly in java.