public class WSOperationConnection extends WSConnection<OperationContext>
WSConnection
AUTH_TYPE_PROPERTY, DEFAULT_SUCCESS_CODE, PASSWORD_PROPERTY, URL_PROPERTY, USERNAME_PROPERTY, WS_SECURITY_PROPERTY
Constructor and Description |
---|
WSOperationConnection(OperationContext context)
Create new instance of operation specific connection
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureExecutor(WebServiceOperation operation,
String operationName,
com.boomi.webservices.WebServiceExecutor executor)
Configures the given WebServiceExecutor using the given web service operation information.
|
com.boomi.webservices.WebServiceExecutor |
createExecutor(String operationName)
Creates and configures a WebServiceExecutor for the given operationName.
|
WebServiceOperation |
getWsOperation()
Returns the current WebServiceOperation for this connector operation.
|
appendErrorDetail, configureBasicAuthNonPreemptiveSecurity, configureBasicAuthSecurity, configureCustomWSSecurity, configureSecurity, configureUsernameWSSecurity, createAuthenticator, getAuthType, getCache, getConnector, getDefaultUrl, getErrorCode, getErrorMessage, getPassword, getSSLContext, getSuccessCode, getSuccessMessage, getUrl, getUrlFromContext, getUsername, getWSSecurityInfo, isApplicationFault, isFatalException, toPayload
generateConnectionInfo, generateConnectionInfo, getContext, getOperationContext
public WSOperationConnection(OperationContext context)
context
- the operation contextpublic WebServiceOperation getWsOperation()
The default implementation pulls this information from the cookie stored with the ObjectDefinition using
WSBrowser.parseCookie(java.lang.String)
.
public com.boomi.webservices.WebServiceExecutor createExecutor(String operationName)
The default implementation gets the current WebServiceOperation from getWsOperation()
and uses the
WebServiceDescription from that to create the WebServiceExecutor (via
WebServiceExecutorFactory.getExecutor(com.boomi.model.connector.common.webservices.WebServiceDescription)
). The resulting WebServiceExecutor is then configured in a call to
configureExecutor(com.boomi.model.connector.common.webservices.WebServiceOperation, java.lang.String, com.boomi.webservices.WebServiceExecutor)
.
protected void configureExecutor(WebServiceOperation operation, String operationName, com.boomi.webservices.WebServiceExecutor executor)
Default implementation configures the url, operationName, MEP, returnResults, soapAction and rawInput properties
appropriately for the given operation information. Lastly, this method will configure security by calling
WSConnection.configureSecurity(com.boomi.webservices.WebServiceExecutor)
.