Hi Julien,
place your WSDL file in the  META-INF directory  where you had placed
your services.xml file . as a  example it could  be
in mywebapp/services/MyService/META-INF/MyService.wsdl path , then
adding  following parameters to your services.xml file will picked up
your original WSDL file .


 <parameter name="useOrignalwsdl">true</parameter>
 <parameter name="modifyUserWSDLPortAddress">true</parameter>

Thanks,

On Thu, Mar 5, 2009 at 3:30 PM, Julien HENRY <[email protected]> wrote:
>
> Hi all,
>
> I'm using Axis 2 (1.4.1) embedded inside my web application (like it is 
> explained here: http://wso2.org/library/90). My service classes are generated 
> from WSDL and I would like to display this WSDL (with updated port adress) 
> when I browse to
> http://localhost:8080/mywebapp/services/MyService?wsdl
>
> Currently, I only get:
> <error>
>     <description>Unable to generate WSDL 1.1 for this service</description>
>    <reason>
>        If you wish Axis2 to automatically generate the WSDL 1.1, then please 
> +set useOriginalwsdl as false in your services.xml
>    </reason>
> </error>
>
> I tried to copy the service.wsdl file everywhere in my WAR (root, META-INF, 
> WEB-INF, ...) but I always receive the previous message.
>
> Can you tell me what I need to do to have my custom wsdl file picked up by 
> axis2?
>
> Thanks
>
> Julien
>
>
>
>
>
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

Reply via email to