jBPM distribution 6.0.0-SNAPSHOT

org.jbpm.process.workitem.webservice
Class WebServiceCommand

java.lang.Object
  extended by org.jbpm.process.workitem.webservice.WebServiceCommand
All Implemented Interfaces:
org.kie.internal.executor.api.Command

public class WebServiceCommand
extends Object
implements org.kie.internal.executor.api.Command

Web Service executor command that executes web service call using Apache CXF. It expects following parameters to be able to operate:

Web service call is synchronous but since it's executor command it will be invoked as asynchronous task any way.


Constructor Summary
WebServiceCommand()
           
 
Method Summary
 org.kie.internal.executor.api.ExecutionResults execute(org.kie.internal.executor.api.CommandContext ctx)
           
protected  org.apache.cxf.endpoint.Client getWSClient(WorkItem workItem, String interfaceRef)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceCommand

public WebServiceCommand()
Method Detail

execute

public org.kie.internal.executor.api.ExecutionResults execute(org.kie.internal.executor.api.CommandContext ctx)
                                                       throws Exception
Specified by:
execute in interface org.kie.internal.executor.api.Command
Throws:
Exception

getWSClient

protected org.apache.cxf.endpoint.Client getWSClient(WorkItem workItem,
                                                     String interfaceRef)

jBPM distribution 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.