* encodingStyle="uri-list"? namespace="uri"?/>*
* <soap:header>
* </input>
*/
private void parseBindingInput() throws WSIFException {
BindingInput bindinginput = bindingOperation.getBindingInput();
List inExtElems = bindinginput.getExtensibilityElements();
SOAPBody inSoapBody =
(SOAPBody) wsifPort.getExtElem(
bindinginput,
javax.wsdl.extensions.soap.SOAPBody.class,
inExtElems);
if (inSoapBody != null) {
this.inputSOAPParts = parseSoapBody(inSoapBody, true);
}
MIMEMultipartRelated inMimeMultipart =
(MIMEMultipartRelated) wsifPort.getExtElem(
bindinginput,
MIMEMultipartRelated.class,
inExtElems);
if (inSoapBody != null && inMimeMultipart != null) {
throw new WSIFException(
"In a binding operation that contains a mime:multipartRelated, "
+ "a soap:body was found that was not in a mime:part. "
+ "OperationName="
+ getName());
}
if (inSoapBody == null && inMimeMultipart == null) {
throw new WSIFException(
"binding operation input must contain either a soap:body " +
"or a mime:multipartRelated element. "
+ "OperationName="
+ getName());
}
if (inMimeMultipart != null) {
parseMimeMultipart(inMimeMultipart, true);
}
MIMEMimeXml inMimeMimeXml =
(MIMEMimeXml) wsifPort.getExtElem(
bindinginput,
MIMEMimeXml.class,
inExtElems);
if (inMimeMimeXml != null)
throw new WSIFException(
"WSIF does not support mime:mimeXml. Operation="
+ getName());
parseSOAPHeaderElement(bindinginput);
List inJmsProps =
wsifPort.getExtElems(
bindinginput,
JMSProperty.class,
bindinginput.getExtensibilityElements());
if (inJmsProps != null && inJmsProps.size() > 0) {
if (wsifPort.isTransportJMS())
setInputJmsProperties(inJmsProps);
else
throw new WSIFException("jms:property found in non-jms binding");
}
List inJmsPropVals =
wsifPort.getExtElems(
bindinginput,
JMSPropertyValue.class,
bindinginput.getExtensibilityElements());
if (inJmsPropVals != null && inJmsPropVals.size() > 0) {
if (wsifPort.isTransportJMS())
addInputJmsPropertyValues(inJmsPropVals);
else
throw new WSIFException("jms:propertyValue found in non-jms binding");