Hello,

does anybody know how to change the wsdl version from 1.1 to 2.0 using
the following dynamic deployment!?
(Need the wsdl 2.0 for compatibility with a certain parser.)


ConfigurationContextFactory.createConfigurationContextFromFileSystem("/path/to/my/axis2.xml",null);

AxisService service =
AxisService.createService(myClass.getClass().getName(),
context.getAxisConfiguration());

context.getAxisConfiguration().addService(service);

SimpleHTTPServer server = new SimpleHTTPServer(context, 8080);
server.start();



The WSDL 2.0 file it self is printable with the following command:
service.printWSDL2(System.out);

I can't find the position/file where I have to set the version for the
deployment, whether it's the axis config or a method at the service object.



Hopefully someone can help me.

Thanks!


Greets Christian





Reply via email to