The Shibboleth IdP V4 software will leave support on September 1, 2024.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

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.

Configuration 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>
  • No labels