Using HTTP to transport web services requests for JAX-RPC applications
You can develop an HTTP accessible Java™ API for XML-based remote procedure call (JAX-RPC) web service when you already have a JavaBeans object to enable as a web service.
Before you begin
Run the Java2WSDL command to create a Web Services Description Language (WSDL)
file. When you run the Java2WSDL command, use the -bindingsTypes option, along
with http, to set the HTTP transport bindings. For
example:
java2wsdl -bindingTypes http,jms -implClass my.pkg.MyEJBClass my.pkg.MySEI
To
learn more about using the Java2WSDL command, see the Java2WSDL command for
JAX-RPC applications documentation.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) and the Java API for XML-based remote procedure call (JAX-RPC) specifications.
HTTP is the most commonly used transport for web services.
To develop an HTTP-accessible web service from an existing an existing JavaBeans object: