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.AbstractTaskThis represents a task implementation for a web service invocation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_ACTIONstatic StringSERVICE_MEPstatic StringSERVICE_MEP_IN_ONLYstatic StringSERVICE_MEP_IN_OUTstatic StringSERVICE_PAYLOAD_HANDLER_CLASSstatic StringSERVICE_TARGET_EPR
-
Constructor Summary
Constructors Constructor Description WebServiceCallTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()StringgetServiceAction()org.apache.axis2.client.ServiceClientgetServiceClient()StringgetServiceMEP()ServicePayloadHandlergetServicePayloadHandler()StringgetServiceURL()intgetTaskCount()voidinit()
-
-
-
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:
initin interfaceorg.wso2.carbon.ntask.core.Task- Overrides:
initin 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()
-
-