axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith Harshana Ranabahu (JIRA)" <>
Subject [jira] Commented: (AXIS2-937) WSDL2Java not generating parameters for stub methods
Date Sun, 10 Sep 2006 04:30:22 GMT
    [ ] 
Ajith Harshana Ranabahu commented on AXIS2-937:

The build problem you mentioned seems to be related to the XMLSchema jar not being updated.
I guess the code is pretty much changed now so I suggest that you take an update and run the
One possible error that can happen when the batch file is used is that if your system has
an AXIS2_HOME environment variable already set pointing to an older Axis2 installation, the
class will be picked from that and not the new one. So it will be better if you can run the
java class directly and not through the batch file.

> WSDL2Java not generating parameters for stub methods
> ----------------------------------------------------
>                 Key: AXIS2-937
>                 URL:
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>            Reporter: William Ferguson
>         Assigned To: Deepal Jayasinghe
>            Priority: Blocker
>         Attachments:, JasperService.wsdl,
> WSDL2Java  from the nightly snapshot of 23-jul-2006 generates the stub/interface, but
tyhe methods on the stub don't have  any parameters when they should. The stub is created
fine using WSDL2Java from Axis2-1.0
> WSDL2Java params:
> 	<target name="generate.client" depends="init">
> 		<exec executable="${axis2.wsdl2java.home}/bin/WSDL2Java.bat">
> 			<arg line="-uri ${wsdl.uri}"/> <!-- uri from which to get WSDL -->
> 			<arg line="-o ${build}"/> <!-- Output directory in which to generate files
> 			<arg line="-p ${}"/> <!-- package in which to generate
classes -->
> 			<arg line="-pn ${}"/> <!-- Specify the port to hit -->
> 			<arg value="-s"/> <!-- Synchronous style only -->
> 			<arg value="-u"/> <!-- Unpacks the data-Binding classes from the Stub -->
> 		</exec>
> 	</target>
> I will attach the WSDL in question

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message