Class WebServiceCallTask
- java.lang.Object
-
- org.wso2.carbon.ntask.core.AbstractTask
-
- org.wso2.carbon.ntask.solutions.webservice.WebServiceCallTask
-
- All Implemented Interfaces:
org.wso2.carbon.ntask.core.Task
public class WebServiceCallTask extends org.wso2.carbon.ntask.core.AbstractTask
This represents a task implementation for a web service invocation.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_ACTION
static String
SERVICE_MEP
static String
SERVICE_MEP_IN_ONLY
static String
SERVICE_MEP_IN_OUT
static String
SERVICE_PAYLOAD_HANDLER_CLASS
static String
SERVICE_TARGET_EPR
-
Constructor Summary
Constructors Constructor Description WebServiceCallTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
String
getServiceAction()
org.apache.axis2.client.ServiceClient
getServiceClient()
String
getServiceMEP()
ServicePayloadHandler
getServicePayloadHandler()
String
getServiceURL()
int
getTaskCount()
void
init()
-
-
-
Field Detail
-
SERVICE_TARGET_EPR
public static final String SERVICE_TARGET_EPR
- See Also:
- Constant Field Values
-
SERVICE_ACTION
public static final String SERVICE_ACTION
- See Also:
- Constant Field Values
-
SERVICE_PAYLOAD_HANDLER_CLASS
public static final String SERVICE_PAYLOAD_HANDLER_CLASS
- See Also:
- Constant Field Values
-
SERVICE_MEP
public static final String SERVICE_MEP
- See Also:
- Constant Field Values
-
SERVICE_MEP_IN_ONLY
public static final String SERVICE_MEP_IN_ONLY
- See Also:
- Constant Field Values
-
SERVICE_MEP_IN_OUT
public static final String SERVICE_MEP_IN_OUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init()
- Specified by:
init
in interfaceorg.wso2.carbon.ntask.core.Task
- Overrides:
init
in classorg.wso2.carbon.ntask.core.AbstractTask
-
getServiceMEP
public String getServiceMEP()
-
getServicePayloadHandler
public ServicePayloadHandler getServicePayloadHandler()
-
getServiceClient
public org.apache.axis2.client.ServiceClient getServiceClient()
-
getServiceURL
public String getServiceURL()
-
getServiceAction
public String getServiceAction()
-
getTaskCount
public int getTaskCount()
-
execute
public void execute()
-
-