AnsweredAssumed Answered

how to extract soap details , headers etc., using code

Question asked by DevTestUser on Mar 21, 2016
Latest reply on Mar 23, 2016 by sdetweil2

Hi ,

How do I start extracting payloads and customize the way we want ? example I have been trying use a grovy code to extra the soap headers , body , soap action etc., but could not get through..

 

Any suggestions on using the groovy in devtest ?

 

cant we use below groovy directly in lisa ? please share some info on these classes and methods..

 

SOAPMessage soapMsg = lisa_vse_request.getBodyText();

SOAPEnvelope soapEnv = soapMsg.getSOAPPart().getEnvelope();

SOAPHeader soapHeader = soapEnv.getHeader();

Outcomes