if (i == 31) {
OMNamespace omNamespace = OMAbstractFactory.getOMFactory().createOMNamespace(
"http://sample.com", "myNs");
SOAPHeaderBlock header = OMAbstractFactory.getSOAP12Factory()
.createSOAPHeaderBlock("VitalHeader", omNamespace);
header.addChild(AXIOMUtil.stringToOM("<foo>This is a sample Header</foo>"));
serviceClient.addHeader(header);
}
// Invoking the serive in the TestCase-28 should fail. So handling it differently..
if (i == 28) {