reqEnv.declareNamespace("http://soapinterop.org", "m1");
SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns");
SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
block1.addAttribute("xsi:type", "xsd:string", null);
block1.addChild(omfactory.createOMText("string"));
header.addChild(block1);
SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
block2.addAttribute("xsi:type", "s:SOAPStruct", null);