We're currently using Axis 1.2 to expose a java web service directly, with the WSDL generated at runtime (yes, I know "wsdl first" is the best practice :-). I'm trying to find out how this would be done with Axis 2. I've found plenty of docs about data binding using AXIOM and XmlBeans, but haven't seen anything describing this sort of transparent binding. Here's how we're setting up Axis
1.2 to do what I'm hoping to also do using Axis 2 (this is from our server-config.wsdd):
<service name="SchedulerService" style="wrapped">
<parameter name="className" value="
net.foo.SchedulerServiceWs"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="scope" value="Application"/>
<parameter name="alias" value="FooService"/>
<namespace>urn:FooService</namespace>
<beanMapping qname="impl:ScheduleInfoTO" xmlns:impl="urn:FooService" languageSpecificType="java:net.foo.ScheduleInfoTO"/>
</service>
- [Axis 2] Exposing an existing java service Stuart Robertson
- Re: [Axis 2] Exposing an existing java service Deepal Jayasinghe
