Thanks Jeff. That worked perfectly.
 
Nadeem


From: Scudder, Jeffrey W [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 5:27 PM
To: axis-user@ws.apache.org
Subject: RE: [Axis2] MTOM example wsdl generation fails

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:[EMAIL PROTECTED]
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

Reply via email to