Hi Alvaro,

 

 

WSDM uses DOC-LITERAL style messaging, so changing the receiver type won’t work (as you found out). Also, the error message is deceiving – it’s just boiler plate text that gets generated whenever the AxisService is unable to generate the WSDL based on the service definition.

 

I found this comment in the AxisService implementation:

 

    /**

     * User can set a paramter in services.xml saying he want to show the original wsdl

     * that he put into META-INF once someone ask for ?wsdl

     * so if you want to use your own wsdl then add following parameter into

     * services.xml

     * <parameter name="useOriginalwsdl">true</parameter>

     */

 

Try changing this and see what happens.

 

Cheers,

Joel

 

-----Original Message-----
From: Alvaro Orus [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 6:10 AM
To: [email protected]
Subject: Problem accessing wsdl through web browser

 

Hello

I am currently testing MUSE 2.0 and i found some problems working with simple sample.
I have seen that if you deploy the example as it is distributed it works properly, but one can't access the wsdl through the web browser
(typing  http://localhost:8080/simple/services/muse/SimpleResource?wsdl). I get the following error: "Unable to generate WSDL for this serviceEither user has not dropped the wsdl into META-INF or operations use message receivers other than RPC." I solved this issue by changing the value of <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> to <messageReceiver class="org.apache.axis2.receivers.PRCMessageReceiver"/> in the Axis2 configuration file (services.xml) so i can access the wsdl of simple service. The proble is that this configuration produces an internal server error, it only executes properly with the former configuration.

Is this a problem with Axis 2 or am i missing anything?

Thanks in advance

------
Alvaro

 

=00The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.

Reply via email to