You need a Web Services Description Language (WSDL) file to use Web services. You can develop your own WSDL file or get one from a Web service provider. This documentation assumes you are creating your own.
To develop a WSDL file, follow these steps:
Run the Java2WSDL seiInterface command.
A WSDL file named seiInterface.wsdl is created.
Edit the generated WSDL file and inspect the part names.
The WSDL parts have names like arg_0_0. Modify the WSDL file to use the actual names of the Java parameters.
(Optional) Use the Java2WSDL command tool to generate the correct part names of WSDL file.
You can automatically generate and set the correct part names by using the Java2WSDL command tool. Generating and setting the part names is done by providing additional information to the Java2WSDL command in the form of a Java implementation class that implements the same methods as the Service Endpoint Interface and is compiled with debug information on (javac -g). Parameter names are stored in the .class file with the debug information. If your implementation class was compiled with debug on, you can use the Java2WSDL -implClass seiImpl seiInterface command to generate a WSDL file with the proper part names.