handlerChainInfo.portNamePattern = handlerChain.getPortNamePattern();
} else if (handlerChain.getProtocolBindings() != null) {
handlerChainInfo.protocolBindings.addAll(handlerChain.getProtocolBindings());
}
for (Handler handler : handlerChain.getHandler()) {
HandlerInfo handlerInfo = new HandlerInfo();
handlerInfo.handlerName = handler.getHandlerName();
handlerInfo.handlerClass = handler.getHandlerClass();
if (handler.getSoapRole() != null) {
handlerInfo.soapRoles.addAll(handler.getSoapRole());
}