Simply consuming a web service in Java

前端 未结 4 486
情歌与酒
情歌与酒 2020-11-28 05:50

I have a very simple SOAP web service that I need to consume from a Java client. What is the easiest way to accomplish this without using any third party libraries? A requ

4条回答
  •  無奈伤痛
    2020-11-28 06:32

    Depending on which version of JAVA you're using, some of the JAX-WS is built into it. JDK 6 has Java's JAX-WS standard implementation and you could just use it.

    See the following:

    • JAX-WS 2.1 and JAXB 2.1 is available in JDK 6 Update 4 release

    • Getting Started with JAX-WS Web Services (tutorial to use the JDK built-in JAX-WS for deploying and consuming a web service)

提交回复
热议问题