@Override protected void doStart() throws Exception { server = SoapServer.builder().httpPort(configuration.getPort()).build(); server.start(); server.registerRequestResponder(configuration.getContext(), new CamelResponder(builder)); super.doStart(); }
public SoapWsConsumer(Endpoint endpoint, SoapWsConfiguration configuration, Processor processor) { super(endpoint, processor); this.configuration = configuration; builder = Wsdl.parse(ResourceUtils.getResource(configuration.getWsdl()).toString()) .binding() .localPart(configuration.getLocalPart()) .find(); }