inputBodyType = BindingEntry.USE_LITERAL;
}
break;
}
else if (obj instanceof MIMEMultipartRelated) {
IntHolder holder = new IntHolder(inputBodyType);
opMimeTypes.putAll(collectMIMETypes(
(MIMEMultipartRelated) obj, holder, bindOp));
inputBodyType = holder.value;
}
}
}
}
// output
if (bindingOutput != null) {
if (bindingOutput.getExtensibilityElements() != null) {
Iterator outIter = bindingOutput.getExtensibilityElements().iterator();
for (; outIter.hasNext();) {
Object obj = outIter.next();
if (obj instanceof SOAPBody) {
String use = ((SOAPBody) obj).getUse();
if (use == null) {
throw new IOException(Messages.getMessage(
"noUse", opName));
}
if (use.equalsIgnoreCase("literal")) {
outputBodyType = BindingEntry.USE_LITERAL;
}
break;
}
else if (obj instanceof MIMEMultipartRelated) {
IntHolder holder = new IntHolder(outputBodyType);
opMimeTypes.putAll(collectMIMETypes(
(MIMEMultipartRelated) obj, holder, bindOp));
outputBodyType = holder.value;
}
}