*/
private static Message buildOutputMessage(javax.wsdl.Message format,
WSIFMessage output)
throws WSIFException {
Message result = new Message();
List parts = format.getOrderedParts(null);
for (int i = 0; i < parts.size(); i++) {
javax.wsdl.Part wsdlPart = (javax.wsdl.Part)parts.get(i);
String partName = wsdlPart.getName();
Object value = output.getObjectPart(partName);
Part wsDriverPart = new Part();
wsDriverPart.setName(partName);
wsDriverPart.setValue(value);
result.addPart(wsDriverPart);
}
return result;
}