Class WSOperationConnection
- java.lang.Object
-
- com.boomi.connector.util.BaseConnection<C>
-
- com.boomi.connector.ws.WSConnection<OperationContext>
-
- com.boomi.connector.ws.WSOperationConnection
-
public class WSOperationConnection extends WSConnection<OperationContext>
Operation specific variant ofWSConnection
-
-
Field Summary
-
Fields inherited from class com.boomi.connector.ws.WSConnection
AUTH_TYPE_PROPERTY, DEFAULT_SUCCESS_CODE, PASSWORD_PROPERTY, URL_PROPERTY, USERNAME_PROPERTY, WS_SECURITY_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description WSOperationConnection(OperationContext context)
Create new instance of operation specific connection
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.boomi.connector.ws.WSConnection
appendErrorDetail, configureBasicAuthNonPreemptiveSecurity, configureBasicAuthSecurity, configureCustomWSSecurity, configureSecurity, configureUsernameWSSecurity, createAuthenticator, getAuthType, getCache, getConnector, getDefaultUrl, getErrorCode, getErrorMessage, getPassword, getSSLContext, getSuccessCode, getSuccessMessage, getUrl, getUrlFromContext, getUsername, getWSSecurityInfo, isApplicationFault, isFatalException, toPayload
-
Methods inherited from class com.boomi.connector.util.BaseConnection
generateConnectionInfo, generateConnectionInfo, getContext, getOperationContext
-
-
-
-
Constructor Detail
-
WSOperationConnection
public WSOperationConnection(OperationContext context)
Create new instance of operation specific connection- Parameters:
context
- the operation context
-
-
Method Detail
-
getWsOperation
public WebServiceOperation getWsOperation()
Returns the current WebServiceOperation for this connector operation.The default implementation pulls this information from the cookie stored with the ObjectDefinition using
WSBrowser.parseCookie(java.lang.String)
.
-
createExecutor
public com.boomi.webservices.WebServiceExecutor createExecutor(String operationName)
Creates and configures a WebServiceExecutor for the given operationName.The default implementation gets the current WebServiceOperation from
getWsOperation()
and uses the WebServiceDescription from that to create the WebServiceExecutor (viaWebServiceExecutorFactory.getExecutor(com.boomi.model.connector.common.webservices.WebServiceDescription)
). The resulting WebServiceExecutor is then configured in a call toconfigureExecutor(com.boomi.model.connector.common.webservices.WebServiceOperation, java.lang.String, com.boomi.webservices.WebServiceExecutor)
.
-
configureExecutor
protected void configureExecutor(WebServiceOperation operation, String operationName, com.boomi.webservices.WebServiceExecutor executor)
Configures the given WebServiceExecutor using the given web service operation information.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)
.
-
-