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 "Werling, Kristof" <kr...@hp.com> on 2009/07/27 12:55:13 UTC
Wsdl comments get lost in Axis2.1.4
Hello,
When generating the AAR file the existing WSDL contains comments in the form of <!-- some text -->
The useOriginalWsdl parameter is set to "true"
However, when the WSDL is pulled like this: http://<machine>/...?wsdl
Then the comments are lost.
I tried this with wsdl in that location in the aar file: META-INF/<myWebServicename>.wsdl
And I tried it with a wsdl file name like this in the aar file: META-INF/service.wsdl
The result stayed the same.
What am I doing wrong here?
Thanks,
Kristof
Re: Wsdl comments get lost in Axis2.1.4
Posted by Andreas Veithen <an...@gmail.com>.
Kristof,
Comments are indeed probably lost in the WSDL. Please note that the
correct way to add documentation to a WSDL is not with comments, but
using <annotation> and <documentation> elements.
Regards,
Andreas
On Mon, Jul 27, 2009 at 12:55, Werling, Kristof<kr...@hp.com> wrote:
> Hello,
>
> When generating the AAR file the existing WSDL contains comments in the form of <!-- some text -->
>
> The useOriginalWsdl parameter is set to "true"
>
> However, when the WSDL is pulled like this: http://<machine>/...?wsdl
>
> Then the comments are lost.
>
> I tried this with wsdl in that location in the aar file: META-INF/<myWebServicename>.wsdl
>
> And I tried it with a wsdl file name like this in the aar file: META-INF/service.wsdl
>
> The result stayed the same.
>
> What am I doing wrong here?
>
> Thanks,
> Kristof
>