else
throw new WSIFException("jms:propertyValue found in non-jms binding");
}
// try to get soap:body for output message
BindingOutput boutpt = bop.getBindingOutput();
if (boutpt != null) {
SOAPBody soapOutputBody =
(SOAPBody) getExtElem(boutpt,
SOAPBody.class,
boutpt.getExtensibilityElements());
if (soapOutputBody != null) {
// NOTE: element ignored
//String namespaceURI = soapOutputBody.getNamespaceURI();
String use = soapOutputBody.getUse();
operation.setOutputUse(use);
// NOTE: element ignored
//List encodingStyles = soapInputBody.getEncodingStyles();
List parts = soapOutputBody.getParts();
if (parts != null && parts.size() > 0) {
operation.setReturnName((String) parts.get(0));
}
}
soapHeader =
(SOAPHeader) getExtElem(boutpt,
SOAPHeader.class,
boutpt.getExtensibilityElements());
if (soapHeader != null) {
throw new WSIFException(
"not supported output soap:header " + soapHeader);
}
List outJmsProps =
getExtElems(
boutpt,
JMSProperty.class,
boutpt.getExtensibilityElements());
if (outJmsProps != null && outJmsProps.size() > 0) {
if (st instanceof SOAPJMSConnection)
operation.setOutputJmsProperties(outJmsProps);
else
throw new WSIFException("jms:properties found in non-jms binding");