Package org.servicemix.ws.xmlbeans.resource.lifetime.SetTerminationTimeResponseDocument

Examples of org.servicemix.ws.xmlbeans.resource.lifetime.SetTerminationTimeResponseDocument.SetTerminationTimeResponse


       
        Calendar newTime = request.getSetTerminationTime().getRequestedTerminationTime();
        Calendar oldTime = subscription.setTerminationTime(newTime);
       
        SetTerminationTimeResponseDocument response = SetTerminationTimeResponseDocument.Factory.newInstance();
        SetTerminationTimeResponse ttr = response.addNewSetTerminationTimeResponse();
        ttr.setCurrentTime(oldTime);
        ttr.setNewTerminationTime(newTime);
       
        return response;
    }
View Full Code Here

TOP

Related Classes of org.servicemix.ws.xmlbeans.resource.lifetime.SetTerminationTimeResponseDocument.SetTerminationTimeResponse

Copyright © 2018 www.massapicom. 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.