Package org.jboss.ws.extensions.eventing.jaxws

Examples of org.jboss.ws.extensions.eventing.jaxws.GetStatusResponse


      AddressingProperties requestProps =
            buildFollowupProperties(response, EventingConstants.GET_STATUS_ACTION, eventSourceURI.toString());
      setRequestProperties((BindingProvider)managerPort, requestProps);

      Date expectedLeaseTime = response.getExpires();
      GetStatusResponse statusResponse = managerPort.getStatusOp(new GetStatus());

      assertNotNull(statusResponse);
      assertNotNull(statusResponse.getExpires());

      AddressingProperties responseProps = getResponseProperties((BindingProvider)managerPort);
      assertEquals(responseProps.getAction().getURI().toString(), EventingConstants.GET_STATUS_RESPONSE_ACTION);
      assertEquals("Incorrect lease time", expectedLeaseTime, statusResponse.getExpires());
   }
View Full Code Here

TOP

Related Classes of org.jboss.ws.extensions.eventing.jaxws.GetStatusResponse

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.