Anne
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 Azeved o
