You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "William Ferguson (JIRA)" <ji...@apache.org> on 2006/09/01 15:21:23 UTC

[jira] Commented: (AXIS2-937) WSDL2Java not generating parameters for stub methods

    [ http://issues.apache.org/jira/browse/AXIS2-937?page=comments#action_12432134 ] 
            
William Ferguson commented on AXIS2-937:
----------------------------------------

Thanks Ajith, reads much better now :-)

Deepal, this is still failing against the nightly build from 1-SEP-06.
I'd think there was something wrong with the WSDL except that
1) It looks right
2) It was generated by theAxisServlet
3) It  creates good stubs as soon as you swap in the Axis2-1.0 classes during generation instead of the nightlies.
Are you sure it works in SVN? Is there a UnitTest for it?

BTW I still haven't been able to validate against SVN. 
I have yet to get a check out to build to completion.
Its currently failing with infinite recursion during compliation of some of the integration tests.
Is there some magic or sacrifice that I still need to make??

Running 
  Maven 1.0.2, 
  JDK  1.5.0_06-b05

Would really love to be able to build the project.

> WSDL2Java not generating parameters for stub 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
>            Priority: Blocker
>         Attachments: axis2-937.zip, JasperService.wsdl, JasperServiceStub.java
>
>
> 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