The Shibboleth IdP V4 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP5 wiki space for current documentation on the supported version.
BodyTemplate
Namespace: urn:mace:shibboleth:2.0:resolver
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd
The <BodyTemplate>
 element provides the template from which a web service request body is built. This element is used when the POST method has to be used.
Note that several escapers are provided for use but you must perform the appropriate escaping because the escaping rules depend on the context of use.
Reference
Example
The example demonstrates construction of a SOAP message.
<BodyTemplate MIMEType="text/xml">
<![CDATA[
<S:Envelope xmlns:S="http://www.w3.org/2001/12/soap-envelope">
<S:Body>
<g:GetGroups xmlns:g="http://example.org/schema">
<g:Subject>$xmlContentEscaper.escape($employeeNumber.get(0))</g:Subject>
</g:GetGroups>
</S:Body>
</S:Envelope>
]]>
</BodyTemplate>
Â