This topic explains how to develop a Web Services Description Language (WSDL) file.
Before you begin
Depending on your development path, develop a Service Endpoint Interface for a Java bean implementation or develop a Service Endpoint Interface from an EJB remote interface.Why and when to perform this task
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 e-mail, downloading, or through a Uniform Resource Locator (URL). This documentation assumes you are creating your own.
Develop a WSDL file by following the actions listed:
Steps for this task
Result
A WSDL file that defines the Web services described by the service endpoint interface.Example
This example uses the JAR file name AddressBook.jar that contains a class named AddressBook.class class file.
You must add the AddressBook.jar file to your CLASSPATH to create the WSDL file. The JAR file contains an EJB implementation class that is compiled with debugging information turned on. Run the Java2WSDL -implClass addr.AddressBookBean addr.AddressBook command to create the file, AddressBook.wsdl.
What to do next
Depending on your development path, develop Web services deployment descriptor templates for a Java bean implementation or develop Web services deployment descriptor templates for an EJB implementation.Related concepts
WSDL
Related tasks
Developing a new Web service with an existing WSDL file using JavaBeans
technology
Developing new Web services from an existing WSDL file using an EJB
implementation
Developing a Web service from an enterprise bean
Publishing WSDL files
Related reference
WSDL architecture
Multipart WSDL best practices
Artifacts used to develop Web services
Java2WSDL command