WSITag.ELEM_SOAP_HEADER);
headerRarts = new Vector();
if (headerElem != null)
headerRarts = XMLUtils.getChildElements(headerElem);
WSDLTraversal traversal = new WSDLTraversal();
//VisitorAdaptor.adapt(this);
traversal.setVisitor(this);
traversal.visitSOAPBody(true);
traversal.visitSOAPHeader(true);
traversal.visitSOAPHeaderFault(true);
traversal.visitSOAPFault(true);
traversal.ignoreReferences();
traversal.ignoreBindingInput2SOAPBody();
if (isRequest)
traversal.ignoreBindingOutput();
else
traversal.ignoreBindingInput2SOAPHeader();
if (responseSig != null && responseSig.isFault())
traversal.ignoreBindingOutput();
else
traversal.ignoreBindingFault();
existSOAPHeaderFault = true;
Map m = new HashMap();
WSDLUtil.expandDefinition(
validator.analyzerContext
.getCandidateInfo()
.getWsdlDocument()
.getDefinitions());
m.put(
"definition",
validator.analyzerContext
.getCandidateInfo()
.getWsdlDocument()
.getDefinitions());
TypesRegistry tReg =
new TypesRegistry(
validator.analyzerContext
.getCandidateInfo()
.getWsdlDocument()
.getDefinitions(),
validator);
m.put("TypesRegistry", tReg);
traversal.traverse(match.getOperation(), m);
if (isRequest == false)
if (existSOAPHeaderFault == true)
existSOAPHeader = true;