Liberty: Implementation of JAX-WS client applications

We can use the Java API for XML-based Web Services (JAX-WS) client-side programming model support in Liberty.

    Implementing static JAX-WS web services clients

    We can develop static web services clients that are based on the web Services for Java Platform, Enterprise Edition (Java EE) specification and the Java API for XML-based Web Services (JAX-WS) programming model.

    See Implementing static JAX-WS web services clients.

    Implementing dynamic JAX-WS web services clients

    We can develop dynamic web services clients that are based on the web Services for Java Platform, Enterprise Edition (Java EE) specification and the Java API for XML-based Web Services (JAX-WS) programming model.

    Run an unmanaged web services JAX-WS client

    We can use the Thin Client for JAX-WS with WebSphere Application Server as a stand-alone client run time in a pure Java SE environment, or in an OSGi environment. If we are running the Thin Client with non-IBM JDK for Liberty, add the -Dcom.ibm.websphere.thinclient=true property on the Java launch command line.

    See Run an unmanaged web services JAX-WS client.

    Run a managed web services JAX-WS client

    We can use the @WebServiceRef or @Resource annotation to inject instances of a JAX-WS service or endpoint, or we can use Java Naming and Directory Interface (JNDI) look up to perform service lookup.

    See managed clients on Develop JAX-WS clients.

Note that the following sections, and any subtopics, are not relevant to Liberty:

  • Set up a development environment for web services

  • WebSphere Application Server default directories

  • Deploy web services applications onto application servers

For more information about the jaxws-2.2 feature, see Liberty features.