Develop Web services based on Web Services for J2EE
This topic explains how to develop a Web service using the Web Services for Java 2, Enterprise Edition (J2EE) specification. Web services are structured in a service-oriented architecture (SOA) that makes integrating your business and e-commerce systems more flexible.
For more information about when and how to use Web services see Using Web services based on Web Services for J2EE. You can read about several concepts, including what is Web services, SOAP, WSDL, Web Services for J2EE and Java API for XML-based remote procedure call (JAX-RPC). If you would like to review a scenario where Web services are used, see Web services scenario: Overview.
WAS uses Web services standards developed for the Java language under the Java Community Process (JCP). WAS Versions 5.0.2 and 5.1 follow these standards...
- SOAP Version 1.1
- WSDL Version 1.1
- Web Services for J2EE (JSR-109) Version 1.0
- JAX-RPC Version 1.0
- SOAP with attachments API for Java (SAAJ) Version 1.1
You can also use the WebSphere Studio Application Developer development tools to develop Web services that integrate with WAS.
Before you develop a Web service you need to Set up a Web services development and unmanaged client execution environment .
Follow the Example: Developing Web services based on Web Services for J2EE for a step-by-step look at this task.
You can develop a Web service based on Web Services for J2EE in one of four ways...
- Develop a Web service using a Java bean.
- Develop a Web service using a stateless session enterprise bean.
- Develop a Web service with an existing WSDL file using a Java bean.
- Develop a Web service with an existing WSDL file using a stateless session enterprise bean.
See Also
Web Services for J2EE
Java API for XML-based remote procedure call (JAX-RPC)
WSDL
SOAP
Service-oriented architecture
Web services approach to a service-oriented architecture
Overview: Online garden retailer Web services scenarios
Web services
Web services business models supported
Planning to use Web services based on Web Services for J2EE
Developing a WSDL file
Configuring the webservices.xml deployment descriptor
Configuring the ibm-webservices-bnd.xmi deployment descriptor
Configuring the webservices.xml deployment descriptor for Handler classes
Developing Web services clients based on Web Services for J2EE
Assembling Web services applications based on Web Services for J2EE
Example: Developing Web services based on Web Services for J2EE
Artifacts used to develop Web services based on Web Services for J2EE
Mapping between Java language, WSDL and XML
Java2WSDL command
WSDL2Java command