Thanks for your answer.
I had already try it before with no positive result.


On 2/13/08, Jose Carlo Fabian <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> try setting userOriginalWSDL to true, maybe that would help.
>
> Carlo Fabian
> Paulo Carvalho wrote:
>
>
> Hello
>
> I am new using Axis2 and I am having a problem. I already search over the
> net to find the solution for my problem, but everything looks fine for me.
>
> 1 - I am using the last version of Axis2.
>
> 2 - I have a class called MyApp (in the app package) with the method Send
>
> 3 - My services.xml file is the following one:
>
>      <serviceGroup>
>        <service name="MyService">
>             <description>My service</description>
>             <parameter name="useOriginalWSDL">false</parameter>
>             <parameter name="ServiceClass" locked="false">app.MyApp
> </parameter>
>             <operation name="Send">
>                 <messageReceiver class="
> org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
>             </operation>
>        </service>
>      </serviceGroup>
>
> 4 - The webservice is deployed with success
>
> 5 - When I try to access to this WSDL (
> http://localhost:8084/MyWS/services/MyService?wsdl) I have the following
> message/reason appearing on my browser instead of the WSDL:
>
>
> <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>
>
>
> Can anyone help me with that?
>
>
> Thanks
>
> Best regards
>
> Paulo
>
>
>


-- 
Paulo Carvalho
1 rue du Chateau
57710 Aumetz
France
www.antikuado.com
www.sunofportugal.com

Reply via email to