* @param model The configuration model from which the mapping is being performed.
* @throws ConfigurationException
*/
public static void map(Element listenerConfigTree, Service listenerService, XMLBeansModel model) throws ConfigurationException {
if (listenerService.getActions()!=null) {
final Actions actions = listenerService.getActions();
final MepType.Enum mep = actions.getMep() ;
if (mep != null)
{
listenerConfigTree.setAttribute(ListenerTagNames.MEP_ATTRIBUTE_TAG, mep.toString()) ;
}
final String inxsd = actions.getInXsd();
if (inxsd != null)
{
listenerConfigTree.setAttribute(ListenerTagNames.IN_XSD_ATTRIBUTE_TAG, inxsd);
}
final String outxsd = actions.getOutXsd();
if (outxsd != null)
{
listenerConfigTree.setAttribute(ListenerTagNames.OUT_XSD_ATTRIBUTE_TAG, outxsd);
}
final String faultxsd = actions.getFaultXsd();
if (faultxsd != null)
{
listenerConfigTree.setAttribute(ListenerTagNames.FAULT_XSD_ATTRIBUTE_TAG, faultxsd);
}
if (actions.isSetValidate())
{
listenerConfigTree.setAttribute(ListenerTagNames.VALIDATE_ATTRIBUTE_TAG, Boolean.toString(actions.getValidate())) ;
}
final String requestLocation = actions.getRequestLocation() ;
if (requestLocation != null)
{
listenerConfigTree.setAttribute(ListenerTagNames.REQUEST_LOCATION_TAG, requestLocation) ;
}
final String responseLocation = actions.getResponseLocation() ;
if (responseLocation != null)
{
listenerConfigTree.setAttribute(ListenerTagNames.RESPONSE_LOCATION_TAG, responseLocation) ;
}
SecurityMapper.map(listenerConfigTree, listenerService);
List<Action> actionList = actions.getActionList();
HashMap<String,String> hm = new HashMap<String,String>();
for(Action action : actionList) {
mapAction(listenerConfigTree, action);
if (hm.containsKey(action.getName())) {