Issue in using custom MessageReceiver, got error "Unable to generate WSDL for
this service"
-------------------------------------------------------------------------------------------
Key: AXIS2-2739
URL: https://issues.apache.org/jira/browse/AXIS2-2739
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: adb
Affects Versions: 1.1.1
Environment: Embedded Tomcat 5, Windows 2000
Reporter: Ravindra
Priority: Critical
I created service using Spring beans and configured
org.apache.axis2.rpc.receivers.RPCMessageReceiver as my messageReceiver in
service.xml. This combination works perfectly.
I want to use custom messageReceiver, which is extending
org.apache.axis2.rpc.receivers.RPCMessageReceiver.
Currently I am just logging some message inside invokeBusinessLogic and
invoking super invokeBusinessLogic method.
During deployment it doen't give any error, but when I tries to access wsdl for
it, gives following error:
- <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 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>
Any one knows what wrong happening or what are the steps to implement custom
messageReceiver.
I tried it on tomcat-5.5.20 also, but its giving same issue
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]