I am working on a SOAP driver that has the matching policing doing a
query against the API to see if there is an existing user. I have the
query working and it's returning the expected SOAP response, however I
need to take that response and process it so that it will recognize a
match has been found. I am doing this in DirXML Script as opposed to
XSLT and this is my first real deep dive into doing a SOAP driver this
way, so I'm sure if I threw the XSLT back in, it may work better, but
I'd really like to figure this out in DirXML Script if possible. Here's
a sample of what my request & response document look like:

REQUEST:

<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.14.5471">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<soapenv:Envelope
xmlns:get="http://singleSignOn.oraint.is.rackspace.com/schema/singleSignOn/getUserDetails"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username>idm_user</wsse:Username>
<wsse:Password>oracless0</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<get:getUserDetailRequestElement>
<get:username>john.doe</get:username>
</get:getUserDetailRequestElement>
</soapenv:Body>
</soapenv:Envelope>
<operation-data parent-node-1="getUserDetail-OracleUsername">
<return-to-me src-dn=""/>
</operation-data>
</input>
</nds>

RESPONSE:

<nds dtdversion="2.0">
<source>
<product build="20090519_235451" instance="Oracle"
version="3.5.4">Identity Manager Driver for SOAP</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<ns3:getUserDetailResponseElement
xmlns="http://oraint.is.rackspace.com/schema/oracleIntegrationFault"
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns2="http://oraint.is.rackspace.com/schema/authFault"
xmlns:ns3="http://singleSignOn.oraint.is.rackspace.com/schema/singleSignOn/getUserDetails"
xmlns:ns4="http://singleSignOn.oraint.is.rackspace.com/schema/singleSignOn/setUserDetails">
<ns3racleUserId>1448</ns3racleUserId>
<ns3:ssoUserName>GERARD.LECANU</ns3:ssoUserName>
<ns3:firstName>GERARD</ns3:firstName>
<ns3:lastName>LE CANU</ns3:lastName>
<ns3:accountStatus>ACTIVE</ns3:accountStatus>
<ns3asswordExpDate>2011-05-30-05:00</ns3asswordExpDate>
<ns3:startDate>2007-08-28-05:00</ns3:startDate>
<ns3:description>Gerard Y Le Canu (US)</ns3:description>
<ns3:country>US</ns3:country>
<ns3:emailAddress>gerard.lecanu@rackspace.com</ns3:emailAddress>
<ns3:gender>M</ns3:gender>
<ns3:statusCode>0</ns3:statusCode>
</ns3:getUserDetailResponseElement>
</output>
<operation-data parent-node-1="getUserDetail-OracleUsername">
<return-to-me src-dn=""/>
</operation-data>
</nds>


Any help would be greatly appreciated!!


JK


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