String mtomThreshold = getAttribute(attrs, ATTR_MTOM_THRESHOLD_VALUE);
String bindingId = getAttribute(attrs, ATTR_BINDING);
if (bindingId != null)
// Convert short-form tokens to API's binding ids
bindingId = getBindingIdForToken(bindingId);
WSBinding binding = createBinding(bindingId,implementorClass,
enable_mtom,mtomThreshold);
String urlPattern =
getMandatoryNonEmptyAttribute(reader, attrs, ATTR_URL_PATTERN);
// TODO use 'docs' as the metadata. If wsdl is non-null it's the primary.