Object ee = it.next();
if (ee instanceof JMSProperty) {
JMSProperty prop = (JMSProperty) ee;
props.put(prop.getPart(), prop.getName());
} else if (ee instanceof JMSPropertyValue) {
JMSPropertyValue propVal = (JMSPropertyValue) ee;
String name = propVal.getName();
if (name == null || name.length() == 0)
throw new WSIFException("jms:propertyValue found without a name");
QName type = propVal.getType();
if (type == null)
throw new WSIFException(
"jms:propertyValue " + name + " did not have a type");
if (type.getNamespaceURI() == null || type.getLocalPart() == null)
throw new WSIFException(
"jms:propertyValue " + name + " has a badly formed type");
String value = propVal.getValue();
if (value == null || value.length() == 0)
throw new WSIFException(
"jms:propertyValue " + name + " did not have a value");
TypeMapping tm = (TypeMapping) (simpleTypeReg.get(type));