开发者

Calling a soap web service using java

In my java program, I need to call a SOA开发者_JS百科P web service that is deployed on a remote server.

Looks like there are several different approaches when explored in web. But I would like to know as what is currently being used more in the developer world.

Also is there is a way to call a SOAP web service using Spring or axis or xfire.

Thanks in advance for your input.


For spring you can look at http://static.springsource.org/spring-ws/site/reference/html/client.html for client information.

When I write SOAP webservices I tend to use jax-ws now, especially since it comes installed with JDK6 now.

For a tutorial on that you can look at http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/2.0/tutorial/doc/JAXWS.html.

I like it since it uses annotations, so is simpler than using axis.

If you are using Spring then using their webservice options would be your best bet though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜