Package javax.xml.ws.wsaddressing

Examples of javax.xml.ws.wsaddressing.W3CEndpointReferenceBuilder.serviceName()


        try {
            W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
            final QName serviceName = BusinessActivityConstants.PARTICIPANT_COMPLETION_COORDINATOR_SERVICE_QNAME;
            final QName endpointName = BusinessActivityConstants.PARTICIPANT_COMPLETION_COORDINATOR_PORT_QNAME;
            final String address = ServiceRegistry.getRegistry().getServiceURI(BusinessActivityConstants.PARTICIPANT_COMPLETION_COORDINATOR_SERVICE_NAME);
            builder.serviceName(serviceName);
            builder.endpointName(endpointName);
            builder.address(address);
            InstanceIdentifier.setEndpointInstanceIdentifier(builder, id);
            return builder.build();
        } catch (Exception e) {
View Full Code Here


        try {
            W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
            final QName serviceName = BusinessActivityConstants.COORDINATOR_COMPLETION_COORDINATOR_SERVICE_QNAME;
            final QName endpointName = BusinessActivityConstants.COORDINATOR_COMPLETION_COORDINATOR_PORT_QNAME;
            final String address = ServiceRegistry.getRegistry().getServiceURI(BusinessActivityConstants.COORDINATOR_COMPLETION_COORDINATOR_SERVICE_NAME);
            builder.serviceName(serviceName);
            builder.endpointName(endpointName);
            builder.address(address);
            InstanceIdentifier.setEndpointInstanceIdentifier(builder, id);
            return builder.build();
        } catch (Exception e) {
View Full Code Here

                                                                LOG).toString());
        }       
       
        W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
        builder.address(address);
        builder.serviceName(serviceName);
        builder.endpointName(endpointName);
        if (referenceParameters != null) {
            for (Element referenceParameter : referenceParameters) {
                builder.referenceParameter(referenceParameter);
            }
View Full Code Here

                                                        LOG).toString());
        }       
       
        W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
        builder.address(address);
        builder.serviceName(serviceName);
        builder.endpointName(endpointName);
        if (referenceParameters != null) {
            for (Element referenceParameter : referenceParameters) {
                builder.referenceParameter(referenceParameter);
            }
View Full Code Here

                                                                LOG).toString());
        }       
       
        W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
        builder.address(address);
        builder.serviceName(serviceName);
        builder.endpointName(endpointName);
        if (referenceParameters != null) {
            for (Element referenceParameter : referenceParameters) {
                builder.referenceParameter(referenceParameter);
            }
View Full Code Here

        W3CEndpointReferenceBuilder builder = new  W3CEndpointReferenceBuilder();
        builder.address("http://localhost:"
                        + greeterPort
                        + "/SOAPDispatchService/SoapDispatchPort");
        builder.serviceName(SERVICE_NAME);
        builder.endpointName(PORT_NAME);
        W3CEndpointReference w3cEpr = builder.build();
        Dispatch<SOAPMessage> disp = service
            .createDispatch(w3cEpr, SOAPMessage.class, Service.Mode.MESSAGE);
        InputStream is = getClass().getResourceAsStream("resources/GreetMeDocLiteralReq.xml");
View Full Code Here

        javax.xml.namespace.QName serviceQname)
        throws EndpointNotExistFault {
        LOG.info("Executing operation lookupEndpoint");
        W3CEndpointReferenceBuilder eprBuilder = new  W3CEndpointReferenceBuilder();
        eprBuilder.address("http://bar");
        eprBuilder.serviceName(serviceQname);
        eprBuilder.wsdlDocumentLocation("wsdlLoc");
       
        // just in case, for backward compatibility, the builder may be asked to
        // create a wsdlLocation attribute with a location only
        if (serviceQname.getNamespaceURI().endsWith("2")) {
View Full Code Here

        org.apache.cxf.message.Message msg = ctx.getWrappedMessage();
        Endpoint ep = msg.getExchange().get(Endpoint.class);

        W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
        builder.address(ep.getEndpointInfo().getAddress());
        builder.serviceName(ep.getService().getName());
        builder.endpointName(ep.getEndpointInfo().getName());

//        builder.wsdlDocumentLocation(wsdlLocation);       
        if (referenceParameters != null) {
            for (Element referenceParameter : referenceParameters) {
View Full Code Here

                                                                LOG).toString());
        }       
       
        W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
        builder.address(address);
        builder.serviceName(serviceName);
        builder.endpointName(endpointName);
        if (referenceParameters != null) {
            for (Element referenceParameter : referenceParameters) {
                builder.referenceParameter(referenceParameter);
            }
View Full Code Here

        }
       
        W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
       
        builder.address(this.endpoint.getEndpointInfo().getAddress());
        builder.serviceName(this.endpoint.getService().getName());
        builder.endpointName(this.endpoint.getEndpointInfo().getName());
       
        //TODO: get wsdlDocumentLocation
        //builder.wsdlDocumentLocation(endpoint.getService().getServiceInfos().toString());       
       
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.