You can develop Enterprise JavaBeans (EJB) implementation deployment descriptor templates and bindings from a Web Services Description Language (WSDL) file for a JAX-RPC application. To develop EJB implementation templates and bindings from a WSDL file for a Java API for XML-based RPC (JAX-RPC) Web service, obtain the Uniform Resource Locator (URL) of the WSDL file to use.
If the WSDL file is a local file, the URL looks like the following example: file:/path/file_name.wsdl.
You can also specify local files using the absolute or relative file system path.
This task is one a required step in developing a Web service from an enterprise bean.
Implementation templates are generated using the -role develop-server option of the WSDL2Java command. Templates are generated for an EJB implementation for the following components:
The WSDL2Java command also generates bindings and deployment descriptors. Develop implementation templates and bindings from a WSDL file:
Parsing XML file: file:e:/example/app/topdown/step1/AddressBook.wsdl WSWS3185I: Info: Parsing XML file: AddressBook.wsdl WSWS3282I: Info: Generating addr\Address.java. WSWS3282I: Info: Generating addr\Phone.java. WSWS3282I: Info: Generating addr\StateType.java. WSWS3282I: Info: Generating addr\AddressBook.java. WSWS3282I: Info: Generating addr\AddressBookSoapBindingImpl.java. WSWS3282I: Info: Generating addr\AddressBook_RI.java. WSWS3282I: Info: Generating addr\AddressBookHome.java. WSWS3282I: Info: Generating META-INF\webservices.xml. WSWS3282I: Info: Generating META-INF\ibm-webservices-bnd.xmi. WSWS3282I: Info: Generating META-INF\AddressBook_mapping.xml. WSWS3282I: Info: Generating META-INF\ibm-webservices-ext.xmi.