if(serviceProperties != null){
ServiceProperty[] props =serviceProperties.properties();
for(int i=0;i<props.length;i++){
ServiceProperty serviceProperty = props[i];
if(!"".equals(serviceProperty.value()) && serviceProperty.list().length>0 ){
throw new XFireRuntimeException("Service property cant have set both value and list values");
}
if( !"".equals(serviceProperty.value()) ){
properties.put(serviceProperty.key(),serviceProperty.value());
}else{
properties.put(serviceProperty.key(), Arrays.asList(serviceProperty.list()));