Properties Parameter Binding View

Use the Parameter Binding view to review and edit mapping information between OSM data and service action parameters and to review the default information defined for the service action.

Field Use

Service Action

Displays the service action to which the selected parameter is associated.

Parameter

Displays the parameter name.

Default Value

Displays the default value defined for a parameter. You define service action parameters in the Service Action editor.

Condition

Enter the condition that determines whether the parameter is included in the request. If the condition evaluates to true, the parameter is sent.

Binding Type

Select this option to define the expression path as an XPath Expression or as an XSLT Snippet. For example, you might define the expression path as an XSLT snippet if you are mapping OSM data to an ASAP compound parameter.

Binding

Displays the mapping information for a parameter in a service action folder. Consider the following example, which demonstrates a mapping of OSM data elements dsl, VoIP, and tv to an ASAP compound parameter. In this example, you would select XSLT Snippet in the Binding Type field and enter the following:

<xsl:if test="osm:feature/osm:dsl='true'">
       <mslv-sa:serviceValue   xsi:type="mslv-sa:ASAPServiceValue">
       <mslv-sa:name>OLD_SERVICE</mslv-sa:name>
       <mslv-sa:value>DSL</mslv-sa:value>
       </mslv-sa:serviceValue>
</xsl:if>

<xsl:if test="osm:feature/osm:VoIP='true'">
       <mslv-sa:serviceValue xsi:type="mslv-sa:ASAPServiceValue">
       <mslv-sa:name>OLD_SERVICE</mslv-sa:name>
       <mslv-sa:value>VOIP</mslv-sa:value>
       </mslv-sa:serviceValue>
</xsl:if>

<xsl:if test="osm:feature/osm:tv='true'">
       <mslv-sa:serviceValue xsi:type="mslv-sa:ASAPServiceValue">
       <mslv-sa:name>OLD_SERVICE</mslv-sa:name>
       <mslv-sa:value>TV</mslv-sa:value>
       </mslv-sa:serviceValue>
</xsl:if>

Note: If you are mapping OSM data to a compound parameter, you can reference the CreateOrderByValueRequest_generated.xsl file to ensure that all XPath expressions are defined correctly. To review the CreateOrderByValueRequest_generated.xsl file, switch to the Java perspective and click the Package Explorer tab. Each activation task is listed in the Activation directory in the project resources folder.