You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by Jürgen Mangler <ju...@univie.ac.at> on 2007/05/26 20:01:39 UTC

get WSDL

I'm running Muse 2.2.0. When i try

http://timbuktu.pri.lan:8180/test/services/myResource?wsdl

for my test resource, i get:

<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>

is it possible to obtain the wsdl (with a correct endpoint in //service)?

thanks in advance

Jürgen

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org


Re: get WSDL

Posted by Daniel Jemiolo <da...@us.ibm.com>.





you need to use the WS-MEX MetadataExchangeClient.getWSDL() method to get
the WSDL programmatically. The ?wsdl is not a standard - just a convention
- and muse tries to do everything via the WS-* operations.

Dan



Jürgen Mangler <ju...@univie.ac.at> wrote on 05/26/2007 02:01:39
PM:

> I'm running Muse 2.2.0. When i try
>
> http://timbuktu.pri.lan:8180/test/services/myResource?wsdl
>
> for my test resource, i get:
>
> <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>
>
> is it possible to obtain the wsdl (with a correct endpoint in //service)?
>
> thanks in advance
>
> Jürgen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: muse-user-help@ws.apache.org
>