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 Hoda Nadeem <ho...@bah.com> on 2006/06/08 23:17:00 UTC
[Axis2] MTOM example wsdl generation fails
I'm running the MTOM sample in the Axis2 1.0 release, and I am able to
deploy the service, and talk to the server using the sample GUI web
client successfully.
But... when I try to go to the wsdl through the admin interface, I get
the following error:
url: http://localhost:7001/axis2/services/mtomSample?wsdl
<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>
Is there a reason why Axis2 is not able to auto-generate the WSDL for
the MTOM sample out-of-the-box?
I am using Weblogic 9.1 for Axis2 deployment.
Thanks.
Nadeem
RE: [Axis2] MTOM example wsdl generation fails
Posted by "Scudder, Jeffrey W" <Je...@boeing.com>.
Hi Nadeem,
I was told to change RawXMLINOutMessageReceiver to RPCMessageReceiver in
the services.xml file of the service. The RawXMLINOutMessageReceiver is
designed to not produce a WSDL.
<messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
<messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
Hope this helps
-Jeff
________________________________
From: Hoda Nadeem [mailto:hoda_nadeem@bah.com]
Sent: Thursday, June 08, 2006 2:17 PM
To: axis-user@ws.apache.org
Subject: [Axis2] MTOM example wsdl generation fails
I'm running the MTOM sample in the Axis2 1.0 release, and I am able to
deploy the service, and talk to the server using the sample GUI web
client successfully.
But... when I try to go to the wsdl through the admin interface, I get
the following error:
url: http://localhost:7001/axis2/services/mtomSample?wsdl
<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>
Is there a reason why Axis2 is not able to auto-generate the WSDL for
the MTOM sample out-of-the-box?
I am using Weblogic 9.1 for Axis2 deployment.
Thanks.
Nadeem