testDiskPortSetResourcePropertiesUpdate( );
String incomingMessage = notificationListener.waitForIncomingMessage( );
assertFalse( incomingMessage.startsWith( "ERROR" ) );
EndpointReferenceType subscriptionReference = sub_response.getSubscriptionReference( );
SubscriptionManagerHttpBindingStub subMgrBinding = getSubMgrBinding( );
assertNotNull( subMgrBinding );
subMgrBinding.setResourceId( AxisGenTypesUtils.getResourceId( subscriptionReference ) );
SetTerminationTime termTime = new SetTerminationTime( );
Calendar calendar = Calendar.getInstance( );
//set to the start of time ;-) ..its already expired
calendar.setTimeInMillis( 0 );
termTime.setRequestedTerminationTime( calendar );
subMgrBinding.setTerminationTime( termTime );
notificationListener = new PortListen( NOTIFICATION_LISTENER_PORT, 5000 );
testDiskPortSetResourcePropertiesUpdate( );
String response = notificationListener.waitForIncomingMessage( );