getPara(xmlReader, dr, parameters, itr, message);
}
} else {
//Bare style
BindingMessageInfo msgInfo = null;
Endpoint ep = exchange.get(Endpoint.class);
ServiceInfo si = ep.getEndpointInfo().getService();
if (bop != null) { //for xml binding or client side
if (client) {
msgInfo = bop.getOutput();
} else {
msgInfo = bop.getInput();
if (bop.getOutput() == null) {
exchange.setOneWay(true);
}
}
if (msgInfo == null) {
return;
}
setMessage(message, bop, client, si, msgInfo.getMessageInfo());
}
Collection<OperationInfo> operations = null;
operations = new ArrayList<OperationInfo>();
operations.addAll(si.getInterface().getOperations());
if (xmlReader == null || !StaxUtils.toNextElement(xmlReader)) {
// empty input
getBindingOperationForEmptyBody(operations, ep, exchange);
return;
}
setDataReaderValidation(service, message, dr);
int paramNum = 0;
do {
QName elName = xmlReader.getName();
Object o = null;
MessagePartInfo p;
if (!client && msgInfo != null && msgInfo.getMessageParts() != null
&& msgInfo.getMessageParts().size() == 0) {
//no input messagePartInfo
return;
}
if (msgInfo != null && msgInfo.getMessageParts() != null
&& msgInfo.getMessageParts().size() > 0) {
if (msgInfo.getMessageParts().size() > paramNum) {
p = msgInfo.getMessageParts().get(paramNum);
} else {
p = null;
}
} else {
p = findMessagePart(exchange, operations, elName, client, paramNum, message);