Ping,

 

You should be able to access WSDL 2.0 for Axis2 by using URL for the
form *?wsdl2 

 

JP

 

From: Ping Liu [mailto:[email protected]] 
Sent: Thursday, January 13, 2011 10:37 AM
To: [email protected]
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

Reply via email to