What does the wsdl2java compiler do?
The wsdl2java compiler translates a WSDL document into Java RMI. The portType with it’s operations and messages gets mapped into a Java Remote Interface with methods corresponding to the WSDL definition. After generating a Java interface, the wsdl2java compiler invokes the rmi2soap compiler to create SOAP stubs and skeletons. Please consult the tutorial for a detailed description of wsdl2java.