The WrapSoap Function Component (FC) is part of the Tivoli® Directory Integrator Web Services suite.
This component is used to generate a complete SOAP message given the SOAP Body and optionally a SOAP Header.
Such a component is useful when the user customizes the content of the SOAP Body or creates it completely on his own (using Castor binding for example). This component will accept the contents of the SOAP Body and the SOAP Header and attributes for the SOAP Envelope, Header and Body XML elements (usually namespace declarations) and will create the complete SOAP message.
This is actually a helper FC that will save the user from error-prone processing of string or DOM objects to wrap his SOAP data into a complete SOAP message.
Entry object - it has one Attribute for the SOAP Header (optional) and one Attribute for the SOAP Body.
If anything else is passed an Exception is thrown.
An Entry object that contains the complete SOAP message.
The type and format of the entries processed and returned by this FC are highly dependent on the specified parameters, as clarified below.