Use HTTP to transport web services
We can develop an HTTP accessible web service when we have an existing JavaBeans object to enable as a web service.
Develop a WSDL file. You need a WSDL file to use web services. We can develop our own WSDL file or get one from a web services provider through email, downloading, or through a URL. This documentation assumes we are creating our own.
The application server supports the use of HTTP to transport web services client requests. With HTTP, the web services clients and servers can communicate through SOAP messages. SOAP is the underlying communication protocol used in web services that support the Web Services for Java EE, the JAX-WS, and the JAX-RPC specifications.
HTTP is the most commonly used transport for web services.
Tasks
- Depending on the application programming model,
- Use HTTP to transport web services requests for JAX-WS applications.
- Use HTTP to transport web services requests for JAX-RPC applications.
- Deploy the web services application.
- Configure security for the HTTP connection.
We have a JavaBeans object that uses HTTP to transport web services client requests.
What to do next
Publish the WSDL file.
Subtopics
- Configure additional HTTP transport properties using the JVM custom property panel in the administrative console
We can configure additional HTTP transport properties for JAX-WS and JAX-RPC Web services with the JVM custom properties panel in the administrative console.- Configure additional HTTP transport properties using the wsadmin command-line tool
We can configure additional HTTP transport properties for JAX-RPC web services with the wsadmin command-line tool.- Configure additional HTTP transport properties for JAX-RPC web services with an assembly tool
We can configure additional HTTP transport properties for JAX-RPC web services with an assembly tool. The assembly tool is used to configure the ibm-webservicesclient-bnd.xmi deployment descriptor binding file.- HTTP transport custom properties for web services applications
Use HTTP transport properties for Java API for XML-Based Web Services (JAX-WS) and Java API for XML-based RPC (JAX-RPC) web services to manage the connection pool for HTTP outbound connections, configure the content encoding of the HTTP message, enable HTTP persistent connection, and resend the HTTP request when a timeout occurs.
Related:
Web services transactions, high availability, firewalls and intermediary nodes Use HTTP to transport web services requests for JAX-WS applications Use the JAX-WS asynchronous response servlet Use the JAX-WS asynchronous response listener Use HTTP session management support for JAX-WS applications Use HTTP to transport web services requests for JAX-RPC applications Configure the HTTP transport policy Configure the SSL transport policy