public class ApiSoapWrapperPipe extends SoapWrapperPipe
Configuration (where deviating from SoapWrapperPipe):
attributes | description | default |
---|---|---|
soapHeaderSessionKey | if direction=wrap : | soapHeader |
soapHeaderStyleSheet | if direction=wrap : | /xml/xsl/api/soapHeader.xsl |
/xml/xsl/api/soapHeader.xsl:
element | level | value |
---|---|---|
MessageHeader | 0 | MessageHeader is only created when $conversationId is filled (otherwise skipped) |
xmlns=$namespace | ||
From | 1 | From is only created when $from_in is filled (otherwise skipped) and it's created with the value of $from_out |
HeaderFields | 1 | |
ConversationId | 2 | $conversationId |
name | default |
---|---|
namespace | "http://api.nn.nl/MessageHeader" |
from_in | if applicable, copied from the original (received) SOAP Header |
from_out | property 'instance.name' |
conversationId | if applicable, copied from the original (received) SOAP Header |
IWrapperPipe.Direction
Modifier and Type | Field and Description |
---|---|
protected static String |
CONVERSATIONID |
protected static String |
FROM_IN |
protected static String |
FROM_OUT |
DEFAULT_SOAP_HEADER_SESSION_KEY, DEFAULT_SOAP_NAMESPACE_SESSION_KEY, DEFAULT_SOAP_VERSION_FOR_WRAPPING
parameterNamesMustBeUnique
log
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
Constructor and Description |
---|
ApiSoapWrapperPipe() |
Modifier and Type | Method and Description |
---|---|
void |
configure()
checks for correct configuration of forward
|
doPipe, setAllowPlainXml, setDirection, setEncodingStyle, setIgnoreSoapFault, setOutputNamespace, setRemoveOutputNamespaces, setRemoveUnusedOutputNamespaces, setRoot, setServiceNamespace, setSoapBodyStyleSheet, setSoapHeaderSessionKey, setSoapHeaderStyleSheet, setSoapNamespace, setSoapNamespaceSessionKey, setSoapVersion, setWssAuthAlias, setWssPassword, setWssPasswordDigest, setWssUserName, start, stop, unwrapMessage, wrapMessage
getParameterValue, setIfParam, setIfValue, setOnlyIfSessionKey, setOnlyIfValue, setSkipOnEmptyInput, setUnlessSessionKey, setUnlessValue, skipPipe
addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getEventSourceName, getForwards, getInSizeStatDummyObject, getOutSizeStatDummyObject, getParameterList, getParameterOverriddenAttributeValue, getParameterValueList, hasSizeStatistics, registerEvent, registerForward, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, throwEvent
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setName
consumesSessionVariable, getForwards, getMaxThreads, registerForward
getName
getApplicationContext, getName
getConfigurationClassLoader
setApplicationContext
getName
getChompCharSize, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getGetInputFromFixedValue, getGetInputFromSessionKey, getLocker, getSecLogSessionKeys, getStoreResultInSessionKey, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, setPipeLine
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttribute
protected static final String CONVERSATIONID
protected static final String FROM_IN
protected static final String FROM_OUT
public void configure() throws ConfigurationException
FixedForwardPipe
configure
in interface IConfigurable
configure
in interface IPipe
configure
in class SoapWrapperPipe
ConfigurationException
Copyright © 2023 Frank!Framework. All rights reserved.