I have to expose a web service. The wsdl is given. The webservice methods return void. I want to use the deserialized Pojos in a camel route. I have no idea how to do this.
<jaxws:endpoint
id="citdelegee"
address="/citdelegee"
serviceName="citService"
endpointName="cit"
implementor="#citdelegeeImpl">
</jaxws:endpoint>
<bean id="citdelegeeImpl"
class="de.iteos.egov.advisadaptor.services.DelegeeService"/>
A simplified version of the Webservice:
@WebService(name = "citdelegee")
public class DelegeeService {
@WebMethod
public void startProcess(@WebParam(name = "uuid", targetNamespace = "") String uuid)
throws DelegeeFault_Exception {
//Do some processing
//Can I put an object into the camel context here”
}
}
How can I put something in a camel route from within the startProcess method? I should deploy on Apache ServiceMix 7.