axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Andreasen" <da...@knetica.com>
Subject RE: WSDL2Java Ant Target
Date Thu, 31 Aug 2006 19:23:32 GMT
Are you on Windows?  Maybe your file has part of it's name in uppercase.

 

HTH,

 

Dave

 

  _____  

From: Gabsaga Tata [mailto:java.developer@simpaq.com] 
Sent: Thursday, August 31, 2006 2:11 PM
To: axis-user@ws.apache.org
Subject: WSDL2Java Ant Target

 

I have the following WSDL2Java Ant target. When I run it, I get the error

 

WSDL2Java:

[java] java.io.FileNotFoundException:
C:\Eclipse_Projects\workspace\Mungaka\build\helloworld.wsdl (The system
cannot find the file specified)

 

but the file is present in that location.

 

Any ideas why?

 

 

<target name="WSDL2Java">
 <java classname="org.apache.axis.wsdl.WSDL2Java" fork="yes" >
  <arg value="-o ${build.home}" />
  <arg value="-dSession" />
  <arg value="-s" />
  <arg value="-p com.simpaq.ws" />
  <arg value="helloworld.wsdl" />
  <classpath>
   <path refid="APACHE_AXIS_API.classpath"/>
   <path refid="compile.classpath" />
   <pathelement path="${build.home}"/>
  </classpath>
 </java> 
</target>

 

Thanks.

 

Gabsaga


Mime
View raw message