Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.CR5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.process.workitem.webservice
Class WebServiceCommand

    java.lang.Object
      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:

- Interface - valid interface/service name of the web service (port type name from wsdl)
- Operation - valid operation name
- Parameter - object that is going to be used as web service message
- Url - location of thw wsdl file used to look up service definition
- Namespace - name space of the web service

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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.CR5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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