You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Buckland, Ramon" <ra...@csam.com> on 2004/01/22 21:14:22 UTC

ZipException from axis-java2wsdl

Hi,
 
Before I go diving into code (of the ant task :-/) 
Has anyone an idea to what is causing
axis-java2wsdl to throw a ZipException ?
"java.util.zip.ZipException: error in opening zip file"
(it repeats the stack trace until i CTRL-C.)
 
Is this axis-java2wsdl trying to open a JAR file somewhere ? 
and, how can I find out what file is it having issues with ?
 
Any help is great .. thanks.
 
Gorey Details follows
 
<!-- --------- task  ---------------- -->
    <axis-java2wsdl classname="${fullclassname}"
         style="document"
                   namespace="urn:package.my.com"
location="${arg.tomcat.app.url}/${subpackagename}.${classname}"
                   output="${wsdl.dir}/${fullclassname}.wsdl"
                   >
           <!-- if when trawling our classes, axis-ant finds a class, we need
to tell it how to remap the name -->
        <mapping namespace="urn:package.my.com" package="com.my.package"/>
  </axis-java2wsdl> 
<!-- --------- task  ---------------- -->  
 
do-java2wsdl:
     [echo] fullclassname = com.my.package.soap.general.AnotherClass
     [echo] classname = AnotherClass
     [echo] subpackagename = general
     [echo] arg.class.file =
C:\Work\project\build\classes\j\com\my\package\soap\general\AnotherClass.class
     [echo] location =
http://tomcatserver:8080/axis/services/general.AnotherClass
<http://tomcatserver:8080/axis/services/general.AnotherClass> 
     [echo] output =
C:\Work\project\build\wsdl\general/com.my.package.soap.general.AnotherClass.wsdl
     
[axis-java2wsdl] java.util.zip.ZipException: error in opening zip file
[axis-java2wsdl]        at java.util.zip.ZipFile.open(Native Method)
[axis-java2wsdl]        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
[axis-java2wsdl]        at java.util.zip.ZipFile.<init>(ZipFile.java:128)
[axis-java2wsdl]        at
org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:867)
<... SNIP ...>
Huge Stack trace repeats forever,

==============================================================================
- NOTICE -

This message may contain confidential, proprietary or legally privileged 
information and is intended only for the use of the addressee named above.
No confidentiality or privilege is waived or lost by any mistransmission.
If you are not the intended recipient of this message you are hereby 
notified that you must not use, disseminate, copy it in any form or take
any action in reliance on it.  If you have received this message in error
please delete it and any copies of it and notify CREDIT SUISSE ASSET
MANAGEMENT
immediately.

Any views expressed in this message are those of the individual sender, 
except where the message specifically states otherwise and the sender is 
authorized to state them to be the views of CREDIT SUISSE ASSET MANAGEMENT.

CREDIT SUISSE GROUP, CREDIT SUISSE FIRST BOSTON, and each legal entity in
the CREDIT SUISSE FIRST BOSTON or CREDIT SUISSE ASSET MANAGEMENT  business
units of CREDIT SUISSE FIRST BOSTON reserve the right to monitor all e-mail
communications through its networks.

==============================================================================