public class WebServiceCommand extends Object implements org.kie.api.executor.Command, org.kie.internal.runtime.Cacheable
Web service call is synchronous but since it's executor command it will be invoked as asynchronous task any way.
| Constructor and Description | 
|---|
| WebServiceCommand() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | applyAuthorization(String userName,
                  String password,
                  org.apache.cxf.endpoint.Client client) | 
| void | close() | 
| org.kie.api.executor.ExecutionResults | execute(org.kie.api.executor.CommandContext ctx) | 
| protected org.apache.cxf.endpoint.dynamic.DynamicClientFactory | getDynamicClientFactory(org.kie.api.executor.CommandContext ctx) | 
| protected org.apache.cxf.endpoint.Client | getWSClient(org.kie.api.runtime.process.WorkItem workItem,
           String interfaceRef,
           org.kie.api.executor.CommandContext ctx) | 
| void | setClients(ConcurrentHashMap<String,org.apache.cxf.endpoint.Client> clients) | 
public org.kie.api.executor.ExecutionResults execute(org.kie.api.executor.CommandContext ctx)
                                              throws Exception
execute in interface org.kie.api.executor.CommandExceptionprotected org.apache.cxf.endpoint.Client getWSClient(org.kie.api.runtime.process.WorkItem workItem,
                                                     String interfaceRef,
                                                     org.kie.api.executor.CommandContext ctx)
protected org.apache.cxf.endpoint.dynamic.DynamicClientFactory getDynamicClientFactory(org.kie.api.executor.CommandContext ctx)
protected void applyAuthorization(String userName, String password, org.apache.cxf.endpoint.Client client)
public void close()
close in interface org.kie.internal.runtime.Cacheablepublic void setClients(ConcurrentHashMap<String,org.apache.cxf.endpoint.Client> clients)
Copyright © 2001–2019 jBPM dev team. All rights reserved.