axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Ferguson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-937) WSDL2Java not generating parameters for stib methods
Date Sat, 19 Aug 2006 05:35:14 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-937?page=comments#action_12429181 ] 
            
William Ferguson commented on AXIS2-937:
----------------------------------------

The #scheduleReport method of JasperService (interface) and JasperServiceStub is generated
without any params.

         /**
         * Auto generated method signature
         
         */
         public  void
         scheduleReport(
         ) throws java.rmi.RemoteException;

I also note that all 3 methods :
  #scheduleReport
  #getReportDefinitions
  #getScheduledReports
have been generated with a signature of
  public void  <methodName>()

Shouldn't all 3 have been generated as
  public <MethodResponseMessage>  <methodName>(<MethodRequestMessage>) 

??
This is certainly how  the Axis2-1.0 build generates them, though it does return void for
#scheduleReport.
BTW I rechecked using the snapshot from 18-aug-06 on a new machine with exactly the same results.

William

> WSDL2Java not generating parameters for stib methods
> ----------------------------------------------------
>
>                 Key: AXIS2-937
>                 URL: http://issues.apache.org/jira/browse/AXIS2-937
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>            Reporter: William Ferguson
>         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 ${generated.package.name}"/> <!-- package in which to generate
classes -->
> 			<arg line="-pn ${port.name}"/> <!-- 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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message