Examples of MessageInformationType


Examples of org.oasisOpen.docs.wsdm.x2004.x12.mows.wsdmMows.MessageInformationType

            //RequestProcessingNotification
            RequestProcessingNotificationDocument notifDocument = RequestProcessingNotificationDocument.Factory.newInstance();
            RequestProcessingNotificationDocument.RequestProcessingNotification notif = notifDocument.addNewRequestProcessingNotification();

            //request message
            MessageInformationType requestInformationType = notif.addNewRequest();
            MessageContentType requestMessage = requestInformationType.addNewMessage();
            AnyXmlContentsType requestAnyXmlContentsType = requestMessage.addNewXml();
            XmlBeanUtils.addChildElement(requestAnyXmlContentsType, getCurrentTemperatureRequestDoc);

            //reply message
            MessageInformationType replyInformationType = notif.addNewReply();
            MessageContentType replyMessage = replyInformationType.addNewMessage();
            AnyXmlContentsType replyAnyXmlContentsType = replyMessage.addNewXml();
            XmlBeanUtils.addChildElement(replyAnyXmlContentsType, getCurrentTemperatureResponseDocument);

            //todo flesh out
            //StateInformation
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.