axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski" <robertlazar...@gmail.com>
Subject Re: Web service deploy error
Date Tue, 17 Oct 2006 14:41:53 GMT
Are you also using the 1.1 snapshot war ?

Robert

On 10/17/06, OUYANG Yang <youyang@smu.edu.sg> wrote:
>
>
>
> Hi all:
>      I am using the Axis2 1.1-RC1 edition now. but I meet a problem when I
> try to  deploy a simple web service in it.
>      The services.xml file is like:
>       <service name="hello2">
>      <description>
>         This service is to say hello to users.hello~~ ouyang yang2
>     </description>
>     <parameter name="ServiceClass"
> locked="false">hello2</parameter>
>     <operation name="hello">
>     <messageReceiver
> class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"
> />
>     </operation>
>     </service>
>
>    But the strange thing is that when I list the service through the
> link:http://localhost:8080/axis2-1.1-RC1/services/listServices
>
>    the service description is just: hello2
>   but using Axis2-0.95 edition, the service description is the same as
> written in services.xml as:   This service is to say hello to users.hello~~
> ouyang yang2
>
>
>    why the service desciption informaiton is not correct? And when I try to
> view the wsdl file of my sample web service, it says :
>
>    - <error>
>   <description>Unable to generate WSDL for this service</description>
>   <reason>If you wish Axis2 to automatically generate the WSDL, then please
> use one of the RPC message receivers for the service(s)/operation(s) in
> services.xml. If you have added a custom WSDL in the META-INF directory,
> then please make sure that make sure that the name of the service in
> services.xml (/serviceGroup/service/@name) is the same as in the custom
> wsdl's service name (/wsdl:definitions/wsdl:service/@name).</reason>
>
>   </error>
>    which is working in edition 0.95
>    Thank you very much!
>
>
> Ouyang Yang
> Research Fellow
> School of Information Systems
> Singapore Management University
> youyang@smu.edu.sg
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message