Examples of RegisterPublisherResponse


Examples of org.oasis_open.docs.wsn.br_2.RegisterPublisherResponse

      TopicExpressionType topicExp = new TopicExpressionType();
      topicExp.getContent().add(topic);
      registerPublisherRequest.getTopic().add(topicExp);
    }
    registerPublisherRequest.setDemand(Boolean.valueOf(demand));
    RegisterPublisherResponse response = (RegisterPublisherResponse) request(registerPublisherRequest);
    return new Publisher(response.getPublisherRegistrationReference(), getClient());
  }
View Full Code Here

Examples of org.oasis_open.docs.wsn.br_2.RegisterPublisherResponse

                topicExp.getContent().add(topic);
                registerPublisherRequest.getTopic().add(topicExp);
            }
        }
        registerPublisherRequest.setDemand(demand);
        RegisterPublisherResponse response = getBroker().registerPublisher(registerPublisherRequest);
        return new Registration(response.getPublisherRegistrationReference());
    }
View Full Code Here

Examples of org.oasis_open.docs.wsn.br_2.RegisterPublisherResponse

        boolean success = false;
        try {
            publisher = createPublisher(idGenerator.generateSanitizedId());
            publisher.register();
            publisher.create(registerPublisherRequest);
            RegisterPublisherResponse response = new RegisterPublisherResponse();
            response.setPublisherRegistrationReference(publisher.getEpr());
            if (publisher.getPublisherReference() != null) {
                publishers.put(WSNHelper.getWSAAddress(publisher.getPublisherReference()), publisher);
            } else {
                nonContactPublishers.add(publisher);
            }
View Full Code Here

Examples of org.oasis_open.docs.wsn.br_2.RegisterPublisherResponse

        boolean success = false;
        try {
            publisher = createPublisher(idGenerator.generateSanitizedId());
            publisher.register();
            publisher.create(registerPublisherRequest);
            RegisterPublisherResponse response = new RegisterPublisherResponse();
            response.setPublisherRegistrationReference(publisher.getEpr());
            if (publisher.getPublisherReference() != null) {
                publishers.put(WSNHelper.getInstance()
                                   .getWSAAddress(publisher.getPublisherReference()),
                               publisher);
            } else {
View Full Code Here

Examples of org.servicemix.ws.xmlbeans.notification.brokered.RegisterPublisherResponseDocument.RegisterPublisherResponse

            throw new NotificationException(e);
        }
       
        // Send response.
        RegisterPublisherResponseDocument responseDoc = RegisterPublisherResponseDocument.Factory.newInstance();
        RegisterPublisherResponse response = responseDoc.addNewRegisterPublisherResponse();
        response.setPublisherRegistrationReference(registrationEndpointReference);
        return responseDoc;
    }
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.