Skip to Content
author's profile photo
Former Member

XSLT Mapping with JAVA Enhancement

Hello -

I'm trying to access the message/SOAP header data such as RECEIVER_SYSTEM from within a XSLT mapping. I know this can be done within a Message Mapping or Java Mapping, but can this data be accessed within a XSLT Mapping?

Thanks.

Jin

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Mar 18, 2004 at 08:06 AM

    This info is in the design Mappings SP3 guide.

    Runtime Constants

    In the same way as in Java mappings, the mapping runtime in XSLT programs also returns

    parameters that you can use to evaluate information in the XSLT program that is not known

    until runtime.

    Constants Provided by Mapping Runtime

    Constants Meaning

    $SenderSystem Sender business system name

    $ReceiverSystem Receiver business system name

    $Direction Message direction. This parameter is only relevant for XSLT

    message mappings; where only the strings Request, Response and

    Fault are permitted as values.

    $SenderName Sender interface name

    $SenderNamespace Sender interface namespace

    $ReceiverName Receiver interface name

    $ReceiverNamespace Receiver interface namespace

    If you want to access one of the constants in the XSLT program, you first have to declare the

    constant as a parameter, for example:

    <xsl:param name="SenderSystem" />

    Add comment
    10|10000 characters needed characters exceeded