I've got a SOAP driver that has to auth to the webservice and get a
token back before it can perform any actions. I've got it performing
the auth and I'm getting results back, but I can't seem to parse the
results so I can use it later. Below is my code and any help is much
appreciated!!

<xsl:variable name="lvarAuthXML">
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:app="http://app.webservice.com">
<soapenv:Header/>
<soapenv:Body>
<app:authByLoginPassword>
<login>idm-user</login>
<password>password</password>
</app:authByLoginPassword>
</soapenv:Body>
</soapenv:Envelope>
</xsl:variable>
<xsl:variable name="lvarAuth">
<xsl:value-of
select="cmd:execute($destCommandProcessor,$lvarAut hXML)"/>
</xsl:variable>

I'm getting this in the return doc:

<nds dtdversion="2.0">
<source>
<product build="20100818_191709" instance="App SOAP"
version="3.5.5">Identity Manager Driver for SOAP</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<SOAP-ENV:Envelope xmlns="http://app.webservice.com"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="http://app.webservice.com"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<SOAP-ENV:Body>
<authByLoginPasswordResponse>
<retval xmlns=""
xsi:type="xs:string">7bfe8551d6595c872f72a6f49376e ef8</retval>
</authByLoginPasswordResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
</output>
</nds>


I created an XSL Message to display the contents of the variable and
here's what it shows:

Identity Manager Driver for SOAPNovell,
Inc.7bfe8551d6595c872f72a6f49376eef8


What am I missing here??


Thanks in advance!!



JK


--
jkinney
------------------------------------------------------------------------
jkinney's Profile: http://forums.novell.com/member.php?userid=140
View this thread: http://forums.novell.com/showthread.php?t=419833