payload.addAttribute(attribute);
}
private void addDelivery(OMElement payload, Delivery delivery) throws AxisFault {
OMFactory factory = null;
OMAttributeImpl attribute = null;
OMElement deliveryElement = null;
factory = OMAbstractFactory.getOMFactory();
attribute = new OMAttributeImpl("mode", null, delivery.getDeliveryMode(), factory);
deliveryElement = factory.createOMElement(new QName("Delivery"));
deliveryElement.addAttribute(attribute);
addEndToEpr(deliveryElement, delivery.getDeliveryEPR());
payload.addChild((OMNode) deliveryElement);
}