Esempio n. 1
0
 @Override
 protected void doStart() throws Exception {
   server = SoapServer.builder().httpPort(configuration.getPort()).build();
   server.start();
   server.registerRequestResponder(configuration.getContext(), new CamelResponder(builder));
   super.doStart();
 }
Esempio n. 2
0
 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();
 }