Using HTTP to transport web services

You can develop an HTTP accessible web service when you have an existing JavaBeans object to enable as a web service.

Before you begin

Develop a Web Services Description Language (WSDL) file. You need a WSDL file to use web services. You can develop your own WSDL file or get one from a web services provider through email, downloading, or through a Uniform Resource Locator (URL). This documentation assumes you are creating your own.

About this task

The application server supports the use of HTTP to transport web services client requests. With HTTP, your web services clients and servers can communicate through SOAP messages. SOAP is the underlying communication protocol that is used in web services that support the Web Services for Java™ Platform, Enterprise Edition (Java EE), the Java API for XML-Based Web Services (JAX-WS), and the Java API for XML-based remote procedure call (JAX-RPC) specifications.

HTTP is the most commonly used transport for web services.

Procedure

  1. Depending on your application programming model,
  2. Deploy the web services application.
  3. Configure security for the HTTP connection.

Results

You have a JavaBeans object that uses HTTP to transport web services client requests.

What to do next

Publish the WSDL file.