WSDLMessageImpl inMsg = messages.get(inMsgName.getName());
int bodyindex = 0;
if(inMsg != null){
for(WSDLPartImpl part:inMsg.parts()){
String name = part.getName();
ParameterBinding pb = bop.getInputBinding(name);
if(pb.isBody()){
part.setIndex(bodyindex++);
part.setBinding(pb);
bop.addPart(part, Mode.IN);
}
}
}
bodyindex=0;
if(pto.isOneWay())
continue;
WSDLMessage outMsgName = pto.getOutput().getMessage();
if(outMsgName == null)
continue;
WSDLMessageImpl outMsg = messages.get(outMsgName.getName());
if(outMsg!= null){
for(WSDLPartImpl part:outMsg.parts()){
String name = part.getName();
ParameterBinding pb = bop.getOutputBinding(name);
if(pb.isBody()){
part.setIndex(bodyindex++);
part.setBinding(pb);
bop.addPart(part, Mode.OUT);
}
}