Q : I deployed my service in Tomcat and when I tried to get its WSDL it gave me the following exception:-
<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>
A : When you ask for WSDL from a service it will only show WSDL in the following cases-
1.User has added his WSDL file into META-INF directory of the service archive file.
2. Each and every operation in the service uses its message receiver as RPCMessageReceiver, RPCInOnlyMessageReceiver or RPCInOutAsyncMessageReceiver.
In all the other cases you will recieve the above error message. Even if you do get this particular error message you can still invoke the service without any problem. Service will not have any deployment problems that you have to worry about.