Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.