cancel
Showing results for 
Search instead for 
Did you mean: 

How to call a webservice from java

Former Member
0 Kudos

Hi,

does anybody know how to call a Webservice from a java application.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

AXIS might be one easy solution.

http://axis.apache.org

Former Member
0 Kudos

Hi,

If you are using developer studio then

You need to import the web service into NWDS which creates proxies for both client side java to call web service. Web services can't be called directly with out generating proxys

if you are not using nwds, u can use Java Web Services Developer Pack (jwsdp) apis to call web services

rgds

Sujesh

Answers (3)

Answers (3)

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

There are basically various platforms where u develop the code with different patterns, though the idea is same everywhere.

1. If you want develop a Java Client to call a WebService from NWDS then Pls refer >>

http://help.sap.com/saphelp_nw2004s/helpdata/en/43/cb2e29578c0262e10000000a11466f/frameset.htm

Note: By default the WebService developed under NWDS is Document Based WebService (i.e. In WSDL the style element would be 'document')

2. If you want to call a WebService from the platform other than NWDS than, Sun's official site would be the best choice to go for.

Pls refer >>

http://java.sun.com/developer/technicalArticles/J2EE/j2ee_ws/#design

Would appreciate if you reward the points if the answer is helpful.

Regards,

Arvind Kugasia [akugusia@hcl.in]

former_member182372
Active Contributor
0 Kudos

Hi Benedikt,

Are you familiar with http://help.sap.com/saphelp_nw04/helpdata/en/81/12703e5da3e946e10000000a114084/frameset.htm ?

Best regards, Maksim Rashchynski.