Embedded AXIS2: Serving a custom WSDL
Posted
by Maik
on Stack Overflow
See other posts from Stack Overflow
or by Maik
Published on 2010-05-25T21:06:26Z
Indexed on
2010/05/25
21:11 UTC
Read the original article
Hit count: 390
axis2
I am using a console app that starts several axis instances without using a packages archive.
Like this:
AxisService axisService2 = AxisService.createService(
new Myclass.getClass().getName(),
axisConfigurationContext.getAxisConfiguration());
axisService2.addParameter(new Parameter("useOriginalwsdl", "true"));
axisConfigurationContext.getAxisConfiguration().addService(axisService2);
Now, I need to serve a custom WSDL. I tried adding a META-INF folder to the bin-root, and in various other places, but with no success.
How do I specify in this case the location of a custom WSDL?
Thanks!
© Stack Overflow or respective owner