Package org.oasis_open.docs.wsn.br_2

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


    public Publisher(EndpointReferenceType publisherRegistrationReference, ServiceMixClient client) {
        super(publisherRegistrationReference, client);
    }

    public void destroy() throws JBIException {
        request(new DestroyRegistration());
    }
View Full Code Here


    public W3CEndpointReference getEpr() {
        return epr;
    }

    public void destroy() throws ResourceUnknownFault, ResourceNotDestroyedFault {
        registration.destroyRegistration(new DestroyRegistration());
    }
View Full Code Here

  public Publisher(EndpointReferenceType publisherRegistrationReference, ServiceMixClient client) {
    super(publisherRegistrationReference, client);
  }

  public void destroy() throws JBIException {
    request(new DestroyRegistration());
  }
View Full Code Here

    public W3CEndpointReference getEpr() {
        return epr;
    }

    public void destroy() throws ResourceUnknownFault, ResourceNotDestroyedFault {
        registration.destroyRegistration(new DestroyRegistration());
    }
View Full Code Here

                      targetNamespace = "http://docs.oasis-open.org/wsn/br-2",
                      partName = "DestroyRegistrationRequest")
            DestroyRegistration destroyRegistrationRequest) throws ResourceNotDestroyedFault, ResourceUnknownFault {

        destroy();
        return new DestroyRegistrationResponse();
    }
View Full Code Here

                      partName = "DestroyRegistrationRequest")
            DestroyRegistration destroyRegistrationRequest)
        throws ResourceNotDestroyedFault, ResourceUnknownFault {

        destroy();
        return new DestroyRegistrationResponse();
    }
View Full Code Here

        @WebParam(name = "DestroyRegistration", targetNamespace = "http://docs.oasis-open.org/wsn/br-2", partName = "DestroyRegistrationRequest")
        DestroyRegistration destroyRegistrationRequest)
        throws ResourceNotDestroyedFault, ResourceUnknownFault {
     
      destroy();
      return new DestroyRegistrationResponse();
    }
View Full Code Here

                      partName = "DestroyRegistrationRequest")
            DestroyRegistration destroyRegistrationRequest)
        throws ResourceNotDestroyedFault, ResourceUnknownFault {

        destroy();
        return new DestroyRegistrationResponse();
    }
View Full Code Here

            RegisterPublisherResponse response = new RegisterPublisherResponse();
            response.setPublisherRegistrationReference(createEndpointReference(publisher.getAddress()));
            success = true;
            return response;
        } catch (EndpointRegistrationException e) {
            PublisherRegistrationFailedFaultType fault = new PublisherRegistrationFailedFaultType();
            throw new PublisherRegistrationFailedFault("Unable to register new endpoint", fault, e);
        } finally {
            if (!success && publisher != null) {
                publishers.remove(publisher.getAddress());
                try {
View Full Code Here

        // Check demand based
        demand = registerPublisherRequest.isDemand() != null ? registerPublisherRequest.isDemand().booleanValue()
                : false;
        // Check all parameters
        if (publisherReference == null) {
            PublisherRegistrationFailedFaultType fault = new PublisherRegistrationFailedFaultType();
            throw new PublisherRegistrationFailedFault("Invalid PublisherReference: null", fault);
        }
        if (demand && (topic == null || topic.size() == 0)) {
            InvalidTopicExpressionFaultType fault = new InvalidTopicExpressionFaultType();
            throw new InvalidTopicExpressionFault(
View Full Code Here

TOP

Related Classes of org.oasis_open.docs.wsn.br_2.PublisherRegistrationFailedFaultType

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.