* @param index
*/
protected MessagePartInfo findMessagePart(Exchange exchange, Collection<OperationInfo> operations,
QName name, boolean client, int index,
Message message) {
Endpoint ep = exchange.get(Endpoint.class);
MessagePartInfo lastChoice = null;
BindingOperationInfo lastBoi = null;
BindingMessageInfo lastMsgInfo = null;
BindingMessageInfo msgInfo = null;
BindingOperationInfo boi = null;
for (Iterator<OperationInfo> itr = operations.iterator(); itr.hasNext();) {
OperationInfo op = itr.next();
boi = ep.getEndpointInfo().getBinding().getOperation(op);
if (boi == null) {
continue;
}
if (client) {
msgInfo = boi.getOutput();