read&Print soap response with Groovy script
Hi,
I am trying to the automate the my requirement as read soap response and write it.
In groovy script , i am getting the response and need to read the ResponseHeader and list of the people form getlist
Below is the Sample Soap Response
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
<soapenv:Body>
<ns0:GetListBy_QualificationResponse xmlns:ns0="urn:WS_CTM_People_ICEVA">
<ResponseHeader>
<Status></Status>
<ErrorCode></ErrorCode>
<ErrorMessage></ErrorMessage>
</ResponseHeader>
<getList>
<get1>
<Person_ID>PPL000000301739</Person_ID>
<Submitter>soehler</Submitter>
</get1>
<get2>
<Person_ID>PPL000000301739</Person_ID>
<Submitter>soehler</Submitter>
</get2>
<get3>
<Person_ID>PPL000000301739</Person_ID>
<Submitter>soehler</Submitter>
</get3>
<get4>
<Person_ID>PPL000000301739</Person_ID>
<Submitter>soehler</Submitter>
</get4>
</getListValues>
<personStatus></personStatus>
</ns0:GetListBy_QualificationResponse>
</soapenv:Body>
</soapenv:Envelope>
Hi Rao,
Sorry for delay for your response. finally i am able to read and validate response.
I had good progress after couple your response.