You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Thad Humphries <th...@mindwrap.com> on 2005/08/29 21:29:18 UTC
WSDL2Java and package structure
Is the package structure created when running WSDL2Java entirely at the mercy
of the value of the targetNamespace attribute in the definitions tag? If
targetNamespace is (for example) http://www.mycorp.com/wsdl/MyServices.wsdl,
the package structure for the binding and service becomes
com.mycorp.www.wsdl.MyServices_wsdl. Meanwhile, along with
<soap:address location="http://localhost:8080/axis/services/MyProduct"/>
in the <services> part of the WSDL file, I get the file
com/mycorp/services.java
Is there any way to change the class structure generated by WSDL2Java?