Re: [Dev] Test automation framework - get SOAP envelope or headers from a response

2015-01-05 Thread Nuwan Wimalasekara
Hi Sandamal, in current implementation, StockQuoteClient does not have the ability to get he http response herders. So you can use a Http Client to send a HTTP POST request and get the http response headers. Please refer the doPost method in [1] for how to get the response headers. since This

[Dev] Test automation framework - get SOAP envelope or headers from a response

2015-01-05 Thread Sandamal Weerasinghe
Hi, axis2Client.sendSimpleStockQuoteRequest(..) returns only the SOAP body of the response. Upon inspecting the code I found that org.apache.axis2.client.ServiceClient.sendReceive(..) gets the SOAP body of the response and returns it (return response.getEnvelope().getBody().getFirstElement()). Is