Show TOC

Providing Web ServicesLocate this document in the navigation structure

Use

You can provide Web services using any of the two approaches:

  • Inside-out

    You start from an implementation which is already available and expose it as a Web service. You create a Web service from a session Enterprise Java Bean or from a pure Java class.

    This approach is also called bottom-up .

  • Outside-in

    You start from a WSDL document of a service. In this case, the framework generates the skeleton of the implementation bean and you have to provide your own implementation of the business methods. You can create outside in Web services in session Enterprise Java Beans.

    This approach is also called top-down .

Procedure
  1. Create a Web service.

  2. Configure the Web service using design time annotations.

    More information: Configuring Web Services at Design Time

  3. Prepare the Web service for publication to the Services Registry.

    More information: Adding Classifications to Web Services

  4. Review or edit the Web service artifacts using the JAX-WS Web Services Domain Object Model (DOM)

    More information:

    Viewing Web Service Artifacts

    Editing the Properties of Web Service Artifacts