axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Moser (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1714) AXIS2 V1.1: java2wsdl.bat does not work.
Date Wed, 15 Nov 2006 21:00:37 GMT
AXIS2 V1.1:  java2wsdl.bat does not work.
-----------------------------------------

                 Key: AXIS2-1714
                 URL: http://issues.apache.org/jira/browse/AXIS2-1714
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.1
         Environment: Win XP, IBM JDK 1.5
            Reporter: Michael Moser


The wsdl2java.bat does not work for me. I spiced it up with a few more 
"echo ..." statements and all names, the paths and the command line 
looks fine to me, but all it ever produced so far was:

"An error occured while generating codejava.lang.ClassNotFoundException: 
org.dailymoon.classifieds.ClassifiedService"  (I'm going through the 
"classified ads" example in the tutorial at 
http://www-128.ibm.com/developerworks/edu/ws-dw-ws-understand-web-services2.html).

How to regenerate:

1.) I extracted the axis2 bin distribution to "C:\Java_Extensions\axis2-1.1"'
2.) My example is located under "C:\JavaDevt\tutorials\webservices\ClassifiedAds\src",
3.) The actual .java file to be translated is 
C:\JavaDevt\tutorials\webservices\ClassifiedAds\src\org\dailymoon\classifieds\ClassifiedService.java
4.) I created a two-line .bat file:
set AXIS2_HOME=C:\Java_Extensions\axis2-1.1
%AXIS2_HOME%\bin\java2wsdl.bat -cn org.dailymoon.classifieds.ClassifiedService -o .

When I excute this I get:
C:\JavaDevt\tutorials\webservices\ClassifiedAds\src>generateWSDL.bat
C:\JavaDevt\tutorials\webservices\ClassifiedAds\src>set AXIS2_HOME=C:\Java_Extensions\axis2-1.1
C:\JavaDevt\tutorials\webservices\ClassifiedAds\src>C:\Java_Extensions\axis2-1.1\bin\java2wsdl.bat
-cn org.dailymoon.classifieds.ClassifiedService -o .
Using AXIS2_HOME:   C:\Java_Extensions\axis2-1.1
Using JAVA_HOME:    C:\IBMJSDK1.5.0
Using AXIS2_CLASS_PATH: "C:\Java_Extensions\axis2-1.1;C:\Java_Extensions\axis2-1.1\lib\activation-1.1.jar;C:\Java_Extensions\axis2-1
.1\lib\annogen-0.1.0.jar;C:\Java_Extensions\axis2-1.1\lib\axiom-api-1.2.jar;C:\Java_Extensions\axis2-1.1\lib\axiom-dom-1.2.jar;C:\Ja
va_Extensions\axis2-1.1\lib\axiom-impl-1.2.jar;C:\Java_Extensions\axis2-1.1\lib\axis2-adb-1.1.jar;C:\Java_Extensions\axis2-1.1\lib\a
xis2-adb-codegen-1.1.jar;C:\Java_Extensions\axis2-1.1\lib\axis2-codegen-1.1.jar;C:\Java_Extensions\axis2-1.1\lib\axis2-java2wsdl-1.1
.jar;C:\Java_Extensions\axis2-1.1\lib\axis2-jibx-1.1.jar;C:\Java_Extensions\axis2-1.1\lib\axis2-kernel-1.1.jar;C:\Java_Extensions\ax
is2-1.1\lib\axis2-saaj-1.1.jar;C:\Java_Extensions\axis2-1.1\lib\axis2-soapmonitor-1.1.jar;C:\Java_Extensions\axis2-1.1\lib\axis2-spr
ing-1.1.jar;C:\Java_Extensions\axis2-1.1\lib\axis2-tools-1.1.jar;C:\Java_Extensions\axis2-1.1\lib\axis2-xmlbeans-1.1.jar;C:\Java_Ext
ensions\axis2-1.1\lib\backport-util-concurrent-2.2.jar;C:\Java_Extensions\axis2-1.1\lib\commons-codec-1.3.jar;C:\Java_Extensions\axi
s2-1.1\lib\commons-fileupload-1.1.1.jar;C:\Java_Extensions\axis2-1.1\lib\commons-httpclient-3.0.1.jar;C:\Java_Extensions\axis2-1.1\l
ib\commons-io-1.2.jar;C:\Java_Extensions\axis2-1.1\lib\commons-logging-1.1.jar;C:\Java_Extensions\axis2-1.1\lib\geronimo-spec-jms-1.
1-rc4.jar;C:\Java_Extensions\axis2-1.1\lib\jakarta-httpcore-4.0-alpha2.jar;C:\Java_Extensions\axis2-1.1\lib\jaxen-1.1-beta-10.jar;C:
\Java_Extensions\axis2-1.1\lib\jibx-bind-1.1.2.jar;C:\Java_Extensions\axis2-1.1\lib\jibx-run-1.1.2.jar;C:\Java_Extensions\axis2-1.1\
lib\mail-1.4.jar;C:\Java_Extensions\axis2-1.1\lib\neethi-2.0.jar;C:\Java_Extensions\axis2-1.1\lib\servletapi-2.3.jar;C:\Java_Extensi
ons\axis2-1.1\lib\stax-api-1.0.1.jar;C:\Java_Extensions\axis2-1.1\lib\woden-1.0.0M6.jar;C:\Java_Extensions\axis2-1.1\lib\wsdl4j-1.6.
1.jar;C:\Java_Extensions\axis2-1.1\lib\wstx-asl-3.0.1.jar;C:\Java_Extensions\axis2-1.1\lib\xalan-2.7.0.jar;C:\Java_Extensions\axis2-
1.1\lib\xbean-2.2.0.jar;C:\Java_Extensions\axis2-1.1\lib\xercesImpl-2.8.1.jar;C:\Java_Extensions\axis2-1.1\lib\xml-apis-1.3.03.jar;C
:\Java_Extensions\axis2-1.1\lib\XmlSchema-1.2.jar"
An error occured while generating codejava.lang.ClassNotFoundException: org.dailymoon.classifieds.ClassifiedService
C:\JavaDevt\tutorials\webservices\ClassifiedAds\src>

Michael


-- 
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