appendTextChild(wshNode,
WebServicesTagNames.HANDLER_CLASS,
handler.getHandlerClass());
for(Iterator iter = handler.getInitParams().iterator();iter.hasNext();){
NameValuePairDescriptor next = (NameValuePairDescriptor)iter.next();
Node initParamNode =
appendChild(wshNode, WebServicesTagNames.INIT_PARAM);
appendTextChild(initParamNode, WebServicesTagNames.INIT_PARAM_NAME,
next.getName());
appendTextChild(initParamNode, WebServicesTagNames.INIT_PARAM_VALUE,
next.getValue());
}
for(Iterator iter = handler.getSoapHeaders().iterator();
iter.hasNext();) {
QName next = (QName) iter.next();
// Append soap header QName. NOTE : descriptor does not contain
// a prefix so always generate one.
appendQNameChild(WebServicesTagNames.SOAP_HEADER, wshNode,
next.getNamespaceURI(), next.getLocalPart(), null);
}
for(Iterator iter = handler.getSoapRoles().iterator(); iter.hasNext();){
String next = (String) iter.next();
appendTextChild(wshNode, WebServicesTagNames.SOAP_ROLE, next);