Hi

I have this input document that I receive from a SOAP request. Have can
I do XPath on the data between the <return> .. </return> tag.

Need the information/data from: EmailAdress, ErrorCode etc.


<nds dtdversion="2.0">
<source>
<product build="20121219_161345" instance="SisWS Soap"
version="4.0.0.0">Identity Manager Driver for SOAP</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<ns1:WSCallSisResponse
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="SisWebServices" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<return xsi:type="xsd:string">&lt;Result
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">&lt;TimeStamp>2014-08-25T12:28:41&lt;/TimeStamp>
&lt;ParameterList>
&lt;PersonIdentifier>

&lt;EmployeeIdentifier>

&lt;CivilRegistrationNumber>1234561234&lt;/CivilRegistrationNumber>
&lt;/EmployeeIdentifier>

&lt;/PersonIdentifier>

&lt;UpdateContacts>
&lt;WorkEmail>
&lt;EmailAdress>
test@xyz.com
&lt;/EmailAdress>
&lt;/WorkEmail>
&lt;/UpdateContacts>

&lt;/ParameterList>
&lt;Error>&lt;ErrorCode>0&lt;/ErrorCode>&lt;ErrorText>OK.&lt;/ErrorText>&lt;/Error>&lt;/Result></return>
</ns1:WSCallSisResponse>

</output>
</nds>

Best regards
Michael


--
mJg2XW
------------------------------------------------------------------------
mJg2XW's Profile: https://forums.netiq.com/member.php?userid=442
View this thread: https://forums.netiq.com/showthread.php?t=51617