Axis 1.2 RC3 wsdl2Java problem ------------------------------ Key: AXIS-1865 URL: http://issues.apache.org/jira/browse/AXIS-1865 Project: Axis Type: Bug Components: WSDL processing Versions: 1.2RC3 Environment: Windows XP, java version "1.4.2_03". Reporter: Patrick Cogan
I have recently migrated to RC3 and may have found a potentual problem. In my WSDL I have a complex type 'Dao' that has many attributes of strings and longs. Using wsdl2java to generate the server source the copmplex type 'Dao' gets converted as expected to the java type 'Dao'. The only problem is that the 'Dao' generated constructorn has the order of the parameters rearanged, compared to the order in the WSDL, which causes a no such method exception for other classes using this bean 'Dao'. My ant task for this is: <target name="wsdl2java-service" description="Runs wsdl2java to generate the service artifacts, such as deploy.wsdd"> <java classname="org.apache.axis.wsdl.WSDL2Java" fork="yes"> <arg value="--NStoPkg"/> <arg value="${dao.types.namespace}=${dao.package}" /> <arg value="--NStoPkg"/> <arg value="${wsdl.types.namespace}=${service.package}" /> <arg value="--NStoPkg"/> <arg value="http://www.comp.com/wsdl/cms=${service.package}" /> <arg value="--NStoPkg" /> <arg value="http://www.comp.com/types/cms=${ws.common.package}" /> <arg value="--NStoPkg"/> <arg value="http://www.comp.com/types/array=${ws.common.package}" /> <arg value="--NStoPkg"/> <arg value="http://www.comp.com/types/exception=${ws.common.package}.exception" /> <arg value="--all" /> <arg value="--noWrapped" /> <arg value="--server-side" /> <arg value="--output" /> <arg value="${service.src.dir}" /> <arg value="--verbose" /> <arg value="${service.wsdl.path}" /> <classpath> <path refid="axis.classpath" /> </classpath> </java> </target> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira