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 Milan Tomic <to...@yahoo.com> on 2007/03/30 11:22:54 UTC
Multiple WSDLs inside AAR
I have found this thread:
http://www.mail-archive.com/axis-dev@ws.apache.org/msg29607.html
it mention that if I have multiple WSDL documents (for multiple services) inside 1 AAR file, then every WSDL file should be named as service_name.wsdl. I did this but when I run:
http://localhost:8080/axis2/services/MyService?wsdl
it retrieves auto generated WSDL, instead of mine WSDL.
What could go wrong?
Thank you in advance,
Milan
____________________________________________________________________________________
Don't get soaked. Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Multiple WSDLs inside AAR
Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Milan ;
>I have found this thread:
>
>http://www.mail-archive.com/axis-dev@ws.apache.org/msg29607.html
>
>it mention that if I have multiple WSDL documents (for multiple services) inside 1 AAR file, then every WSDL file should be named as service_name.wsdl. I did this but when I run:
>
>http://localhost:8080/axis2/services/MyService?wsdl
>
>it retrieves auto generated WSDL, instead of mine WSDL.
>
>
The only thing you need to do is , change wsdl service name (name of
the service element in the wsdl file) to name of the service.
so if the services.xml is as follows
<service name="foo"></service>
then wsdl file should look like below;
<wsdl:definition>
<service name="foo" binding.....>
</wsdl....>
Thanks
Deepal
>What could go wrong?
>
>Thank you in advance,
>Milan
>
>
>
>
>
>____________________________________________________________________________________
>Don't get soaked. Take a quick peek at the forecast
>with the Yahoo! Search weather shortcut.
>http://tools.search.yahoo.com/shortcuts/#loc_weather
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org