// client JAX-WS APIs (i.e. sync, async, and async callback) use this method to
// invoke the handlers.
List<QName> understood = new ArrayList<QName>();
for(Handler handler:handlers){
if(handler instanceof SOAPHandler){
SOAPHandler soapHandler = (SOAPHandler)handler;
//Invoking getHeaders.
if(log.isDebugEnabled()){
log.debug("Client side: Invoking getHeader() on SOAPHandler: " + soapHandler);
}
Set<QName> headers = soapHandler.getHeaders();
if(headers!=null){
for(QName header:headers){
if(!understood.contains(header)){
if(log.isDebugEnabled()){
log.debug("Adding Header QName" + header + " to uderstoodHeaderQName List");