axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nuno Martins <nuno.mart...@multicert.com>
Subject Re: Axis2 Java2Wsdl
Date Thu, 12 Oct 2006 16:19:06 GMT
Charak,

Thank you for tour response.

How can I set classpath for this target? My classpath must contain 
binaries and jars in another folder.

Can you give me an example of wsdl2java too?

Regards,
Nuno Martins

Charak, Vikas wrote:
> Try this
>
> 	<path id="project.class.path">
> 		<fileset dir="${user.lib}">
> 	       <include name="**/*.jar" />
> 	     </fileset>      
> 	 </path>
> 	
> 	<taskdef name="Java2WSDLTask"
> classname="org.apache.ws.java2wsdl.Java2WSDLTask">
> 	  <classpath refid="project.class.path" />
> 	</taskdef>	
> <target name="TestWSDL">
> 		<Java2WSDLTask 
> 	            className="com.test.IntrfcUserService"
> 	            outputLocation="${wsdl.dir}"
> 	            classpathURI="${classpathURI}"
> 	            targetNamespace="http://UserService.test.com"
> 	            targetNamespacePrefix="tns"
> 	            schemaTargetNamespace="http://UserService.test.com"
> 	            schemaTargetNamespacePrefix="stnps"
> 	            serviceName="UserService"
> 	            outputFileName="UserService.wsdl" >
> 	          </Java2WSDLTask>
> 	 </target>
>
> -----Original Message-----
> From: Nuno Martins [mailto:nuno.martins@multicert.com] 
> Sent: Thursday, October 12, 2006 11:13 AM
> To: axis-user@ws.apache.org
> Subject: Axis2 Java2Wsdl
>
> Hi all,
>
> Can you give me an example of java2wsdl ant task in Axis2?
>
> Regards,
> Nuno Martins
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>  
>   


Mime
View raw message