I have several web services I need to call from the SOAP driver and
understand there are 2 methods. I'm not able to get either one to
work.

1. Creating and Using Multple Subscriber Option Sets (connections)
<operation-data connection="2">
...(other operation-data elements)
</operation-data>

2. Overriding Single Subscriber Options
<operation-data soap-action="addUser">
...(other operation-data elements if required)
</operation-data>

I've tried setting each of these in both the SOAP Output and SPML
Output Transformation policies on the Subscriber Channel:

<xsl:template match="trigger">
<operation-data connection="2"/>
</xsl:template>

<xsl:template match="trigger">
<operation-data soap-action="LogIn"/>
</xsl:template>

I've also tried creating a GCV and calling it from a policy:

GCV:
<definition display-name="SOAP Action - Login" name="SOAPActionLogin"
type="string">
<value>&lt;nds&gt;&lt;operation-data xmlns:epr="http://Eprise"
epr:soap-action="https://flagstar-redcarpet.silkroad.com:443/eprise/WebServices/LogIn"&gt;&lt;/operation-data&gt;&lt;/nds&gt;</value>
<description/>
</definition>

Policy:

<rule>
<description>Set SOAP Action</description>
<conditions/>
<actions>
<do-set-local-variable name="LV-Login">
<arg-node-set>
<token-xml-parse>
<token-global-variable name="SOAPActionLogin"/>
</token-xml-parse>
</arg-node-set>
</do-set-local-variable>
<do-set-local-variable name="SOAPActionResult">
<arg-node-set>
<token-xpath expression="query:query($destQueryProcessor,
$LV-Login)"/>
</arg-node-set>
</do-set-local-variable>
<do-trace-message level="3">
<arg-string>
<token-text xml:space="preserve">Login SOAP Action:
</token-text>
<token-local-variable name="SOAPActionResult"/>
</arg-string>
</do-trace-message>
</actions>
</rule>
<rule>
<description>Login to Web Service</description>
<conditions/>
<actions>
<do-set-local-variable name="LV-RCLogin">
<arg-node-set>
<token-xml-parse>
<token-global-variable name="RCLogin"/>
</token-xml-parse>
</arg-node-set>
</do-set-local-variable>
<do-set-local-variable disabled="true" name="LV-RCLogin">
<arg-node-set>
<token-xml-parse>
<token-global-variable name="RCLoginAction"/>
</token-xml-parse>
</arg-node-set>
</do-set-local-variable>
<do-set-local-variable name="EstablishSession" scope="policy">
<arg-node-set>
<token-xpath
expression="query:query($destQueryProcessor,$LV-RCLogin)"/>
</arg-node-set>
</do-set-local-variable>
<do-trace-message level="3">
<arg-string>
<token-text xml:space="preserve">Do we have sessionid:
</token-text>
<token-local-variable name="EstablishSession"/>
</arg-string>
</do-trace-message>
<do-set-local-variable name="LV-SessionNum" scope="policy">
<arg-node-set>
<token-xpath expression="$EstablishSession//*[local-name() =
'LogInResult']"/>
</arg-node-set>
</do-set-local-variable>
<do-trace-message level="3">
<arg-string>
<token-text xml:space="preserve">The session number is:
</token-text>
<token-local-variable name="LV-SessionNum"/>
</arg-string>
</do-trace-message>
</actions>
</rule>

Any help would be greatly appreciated!

Cindy


+----------------------------------------------------------------------+
|Filename: soap.txt |
|Download: http://forums.novell.com/attachment....achmentid=4067 |
+----------------------------------------------------------------------+

--
SyncUp
------------------------------------------------------------------------
SyncUp's Profile: http://forums.novell.com/member.php?userid=55472
View this thread: http://forums.novell.com/showthread.php?t=404020