* @author Saminda Abeyruwan <saminda@opensource.lk>
*/
public class OMElementCreator {
public static OMElement creatQueueElement(String createQueueElement, String key) {
SOAPFactory factory = OMAbstractFactory.getSOAP11Factory();
OMNamespace opN = factory.createOMNamespace(
"http://webservices.amazon.com/AWSSimpleQueueService/2005-01-01", "nsQ");
OMElement createQueue = factory.createOMElement("CreateQueue", opN);
OMElement subID = factory.createOMElement("SubscriptionId", opN);
OMElement request = factory.createOMElement("Request", opN);
OMElement queueName = factory.createOMElement("QueueName", opN);