Class ApiSoapWrapperPipe

All Implemented Interfaces:
FrankElement, HasApplicationContext, HasName, HasTransactionAttribute, IConfigurable, IForwardTarget, IPipe, IScopeProvider, IWithParameters, IWrapperPipe, NameAware, EventThrowing, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle

public class ApiSoapWrapperPipe extends SoapWrapperPipe
Extension to SoapWrapperPipe for API Management.

Configuration (where deviating from SoapWrapperPipe):

attributesdescriptiondefault
soapHeaderSessionKeyif direction=wrap: soapHeader
soapHeaderStyleSheetif direction=wrap: /xml/xsl/api/soapHeader.xsl

/xml/xsl/api/soapHeader.xsl:

elementlevelvalue
MessageHeader0MessageHeader is only created when $conversationId is filled (otherwise skipped)
  xmlns=$namespace
From1From is only created when $from_in is filled (otherwise skipped) and it's created with the value of $from_out
HeaderFields1 
ConversationId2$conversationId
Parameters:
namedefault
namespace"http://api.nn.nl/MessageHeader"
from_inif applicable, copied from the original (received) SOAP Header
from_outproperty 'instance.name'
conversationIdif applicable, copied from the original (received) SOAP Header

Author:
Peter Leeuwenburgh