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 "Krishnamoorthy J (HCL Financial Services)" <Kr...@hcl.in> on 2007/03/08 06:50:28 UTC

how to get custom WSDL during runtime instead of generated WSDL in Axis 2

Hi,

 

What is the option similar to wsdlFile property of service-config.wsdd
(Axis 1.4) in Axis 2?

 

How to get the custom WSDL file displayed instead of Axis generated WSDL
in Axis2 1.1.1?

 

Thanks,

Krishna



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

Re: how to get custom WSDL during runtime instead of generated WSDL in Axis 2

Posted by Jarek Kucypera <jk...@mikrozet.wroc.pl>.
Krishnamoorthy J (HCL Financial Services) wrote:

> Hi,
>
>  
>
> What is the option similar to wsdlFile property of service-config.wsdd 
> (Axis 1.4) in Axis 2?
>
>  
>
> How to get the custom WSDL file displayed instead of Axis generated 
> WSDL in Axis2 1.1.1?
>
>  
>
Put the wsdl in the META-INF folder of the service, next to the 
services.xml file. Consider also
setting <parameter name="useOriginalwsdl">true</parameter> in 
services.xml, I'm not
sure how exactly it influences the wsdl displayed, but i think it may help.

J.K.