You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Fernando Azevedo <fe...@gmail.com> on 2006/06/20 20:48:33 UTC
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*
Re: WSDL is not generated from aar file
Posted by Deepal Jayasinghe <de...@opensource.lk>.
can u pls have a look at following faq
http://www.wso2.net/kb/104
Fernando Azevedo wrote:
> 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*
>
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: WSDL is not generated from aar file
Posted by Anne Thomas Manes <at...@gmail.com>.
If you use the RPC receiver, then Axis2 will automatically generate a WSDL
for you. If you use the Raw XML Message receiver, then you must provide your
own WSDL file (drop it into META-INF).
Anne
On 6/20/06, Fernando Azevedo <fe...@gmail.com> wrote:
>
> 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*
>