Me too. It's the same error.
The default service "version" is normal, but the service "MyService" in
user's guide is not. The error would be shown after the hyper link
"MyService" is clicked in the browser (IE).
---------------- Original Message ----------------
> "Fernando Azevedo" <[EMAIL PROTECTED]> 2006-06-21 02:48:33 AM wrote:
收件人: [email protected]
主旨: WSDL is not generated from aar file
Hello,
I've just installed Axis2, and was reading Axis2 User's Guide to make a
first contact. I tried to copy the file "MyService.aar" mentioned in the
UserGuide to the container directory ( C:\Programas\Apache Software
Foundation\Tomcat 5.5\webapps\axis\WEB-INF\services).
It appears in the Axis Services page, but when I tried to click on the
service link, instead of showing the WSDL definitions, it gave me an error:
-<error>
<description>Unable to generate WSDL for this
service</description>
<reason>Either user has not dropped the wsdl into
META-INF or operations use message receivers other than RPC.</reason>
</error>
Why does it happen? Is something missing, like a environment variable, or
so?
My machine configuration is as follows:
J2SE
I've installed JAVA JDK – 1.5.0_07.
Also add "C:\Programas\Java\jdk1.5.0_07\bin" to PATH variable
Create JAVA_HOME= "C:\Programas\Java\jdk1.5.0_07"
Tomcat
I've installed version 5.5.17
Also created var CATALINA_HOME= "C:\Programas\ Apache Software
Foundation\Tomcat 5.5"
Axis2
I've installed version 1.0
I've placed the standard distribution in C:\Axis2
I've placed the war distribution in C:\Programas\Apache Software
Foundation\Tomcat 5.5\webapps\axis
The installation didn't mentioned a thing about variables for Axis, but
I've experimented an older version sometime ago, and remember I add the
following variables:
AXIS_HOME, AXIS_LIB and AXISCLASSPATH. I searched google for Axis2
variables and found references to AXIS2_HOME and AXIS2_CLASSPATH like this:
AXIS2_HOME=C:\Programas\Apache Software Foundation\Tomcat 5.5\webapps\axis
AXIS2_CLASSPATH=%AXIS2_HOME%\WEB-INF\lib\axiom-impl-1.0.jar;… (and so on
for every jar file in the same directory)
Some help would be nice…
Thanks in advance
________________________________
Fernando Azevedo
本信件可能包含工研院機密資訊,非指定之收件者,請勿使用或揭露本信件內容,並請銷毀此信件。
This email may contain confidential information. Please do not use or disclose
it in any way and delete it if you are not the intended recipient.