axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ping Liu <pingpinga...@gmail.com>
Subject Re: How to instruct or configure Axis2 to generate WSDL in WSDL 2.0 version?
Date Thu, 13 Jan 2011 19:06:20 GMT
Hi Jai,

Many thanks to your help!!  It works in both cases.

Ping


On Thu, Jan 13, 2011 at 10:56 AM, Pugalia, Jai P (JP) <jpugalia@avaya.com>wrote:

> Ping,
>
>
>
> You should be able to access WSDL 2.0 for Axis2 by using URL for the form
> *?wsdl2
>
>
>
> JP
>
>
>
> *From:* Ping Liu [mailto:pingpinganan@gmail.com]
> *Sent:* Thursday, January 13, 2011 10:37 AM
> *To:* java-user@axis.apache.org
> *Subject:* How to instruct or configure Axis2 to generate WSDL in WSDL 2.0
> version?
>
>
>
> [Please note this question is not about how to manually generate a WSDL
> from command line using java2wsdl.  In that case, adding arguments -wv 2.0
> will do the work.]
>
> This question is about how to let Axis2 to generate WSDL 2.0 instead of
> WSDL 1.1 when a *?wsdl call is issued from web page.  I used both standalone
> Axis2 server and Tomcat with Axis2.  Both cases return WSDL in 1.1 version.
>
> In WSDL header, WSDL 1.1 uses xmlns:wsdl="http://schemas.xmlsoap.org/wsdl";
> WSDL 2.0 uses xmlns:wsdl2="http://www.w3.org/ns/wsdl".
>
> I guess that upon receiving a ?wsdl request, Axis2 generate 1.1 version of
> WSDL by default.  But my question is how to override this default to let
> Axis2 generate 2.0 version of WSDL.
>
> Thanks!
>
> Ping
>

Mime
View raw message