hi Deepal: Thank you very much. I try the RPCMessageReceiver and it works:)
Thanks, Ouyang Yang Research Fellow School of Information Systems Singapore Management University [EMAIL PROTECTED] -----Original Message----- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: 2006年10月18日 13:56 To: [email protected] Subject: Re: Web service deploy error Hi ; Axis2 will generate wsdl file when someone ask for ?wsdl , only if all the operations are in the service have used RPCMessageReceivres. But in your case you have used RawXML MR. This is not a problem in service , you can invoke the service w.o having any problem. Thanks Deepal OUYANG Yang 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* > [EMAIL PROTECTED] > > -- Thanks, Deepal ................................................................ ~Future is Open~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
