port1 = getFreePort();
int brokerPort = getFreePort();
activemq = new ActiveMQConnectionFactory("vm:(broker:(tcp://localhost:" + brokerPort
+ ")?persistent=false)");
notificationBrokerServer = new JaxwsNotificationBroker("WSNotificationBroker", activemq);
notificationBrokerServer.setAddress("http://localhost:" + port1 + "/wsn/NotificationBroker");
notificationBrokerServer.init();
createPullPointServer = new JaxwsCreatePullPoint("CreatePullPoint", activemq);
createPullPointServer.setAddress("http://localhost:" + port1 + "/wsn/CreatePullPoint");