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

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


               throw new SubscriptionError(EventingConstants.CODE_REQUESTED_FILTER_UNAVAILABLE, "The requested filter dialect is not supported.");
         }
      }

      // create subscription
      EndpointReferenceType epr = new EndpointReferenceType();
      AttributedURIType attrURI = new AttributedURIType();
      attrURI.setValue(eventSource.getManagerAddress().toString());
      epr.setAddress(attrURI);
      ReferenceParametersType refParam = new ReferenceParametersType();
      JAXBElement idqn = new JAXBElement(new QName("http://schemas.xmlsoap.org/ws/2004/08/eventing", "Identifier"), String.class, generateSubscriptionID().toString());
      refParam.getAny().add(idqn);
      epr.setReferenceParameters(refParam);

      Subscription subscription = new Subscription(eventSource.getNameSpace(), epr, notifyTo, endTo, expires, filter);

      subscriptionMapping.get(eventSourceNS).add(subscription);
View Full Code Here

TOP

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

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.