target.setContentOnly(contentOnly);
seenBody = true;
}
}else{
while(tv.hasNext()){
Header ht = (Header)tv.next();
if(!allHeaders && !seenSignTarget(ht)){
SignatureTarget target = targetCreator.newQNameSignatureTarget(new QName(ht.getURI(),ht.getLocalName()));
targetCreator.addTransform(target);
target.isSOAPHeadersOnly(true);
target.setContentOnly(contentOnly);
binding.addTargetBinding(target);
}