Examples of EndToEndpoint


Examples of org.apache.cxf.ws.eventing.client.EndToEndpoint

            service.getOutInterceptors().add(new LoggingOutInterceptor());
            service.setServiceClass(EndToEndpoint.class);
            service.setAddress(target.getEndToURL());
            service.getHandlers().add(handler);

            EndToEndpoint endpoint = (EndToEndpoint)service.create();
            SubscriptionEnd message = new SubscriptionEnd();
            message.setStatus(status.toString());
            if (reason != null) {
                LanguageSpecificStringType reasonElement = new LanguageSpecificStringType();
                reasonElement.setLang("en-US");
                reasonElement.setValue(reason);
                message.getReason().add(reasonElement);
            }
            endpoint.subscriptionEnd(message);

        } catch (Exception e) {
            e.printStackTrace();
        }
    }
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.