Package org.openquark.cal.internal.runtime.lecc

Examples of org.openquark.cal.internal.runtime.lecc.RTPartialApp$_11$_3


            ServiceLocatorFaultDetail serviceFaultDetail = new ServiceLocatorFaultDetail();
            serviceFaultDetail.setLocatorFaultDetail(serviceName.toString()
                    + "throws ServiceLocatorFault");
            throw new ServiceLocatorFault(e.getMessage(), serviceFaultDetail);
        } catch (InterruptedException e) {
            InterruptionFaultDetail interruptionFaultDetail = new InterruptionFaultDetail();
            interruptionFaultDetail.setInterruptionDetail(serviceName
                    .toString() + "throws InterruptionFault");
            throw new InterruptedExceptionFault(e.getMessage(),
                    interruptionFaultDetail);
        }
        if (names != null && !names.isEmpty()) {
View Full Code Here


            ServiceLocatorFaultDetail serviceFaultDetail = new ServiceLocatorFaultDetail();
            serviceFaultDetail.setLocatorFaultDetail(serviceName.toString()
                    + "throws ServiceLocatorFault");
            throw new ServiceLocatorFault(e.getMessage(), serviceFaultDetail);
        } catch (InterruptedException e) {
            InterruptionFaultDetail interruptionFaultDetail = new InterruptionFaultDetail();
            interruptionFaultDetail.setInterruptionDetail(serviceName
                    .toString() + "throws InterruptionFault");
            throw new InterruptedExceptionFault(e.getMessage(),
                    interruptionFaultDetail);
        }
        if (endpoint != null) {
View Full Code Here

        builder.address(ENDPOINTURL);
        expectedRef = builder.build();

        LookupRequestType lrt = new LookupRequestType();
        lrt.setServiceName(SERVICE_NAME);
        LookupEndpointResponse ler = lps.lookupEndpoint(lrt);
        endpointRef = ler.getEndpointReference();
        assertTrue(endpointRef.toString().equals(expectedRef.toString()));

    }
View Full Code Here

        LookupRequestType request = new LookupRequestType();
        request.setServiceName(new QName("http://talend.org/esb/examples/",
                "GreeterService"));

        LookupEndpointResponse response = client.lookupEndpoint(request);
        W3CEndpointReference endpointReference = response
                .getEndpointReference();
        System.out.println(endpointReference.toString());

        javax.xml.ws.Service jaxwsServiceObject = Service.create(new QName(
                "http://talend.org/esb/examples/", "GreeterService"));
View Full Code Here

    public LookupEndpointResponse lookupEndpoint(LookupRequestType parameters)
            throws ServiceLocatorFault, InterruptedExceptionFault {

        W3CEndpointReference epr = lookupEndpoint(parameters.getServiceName(),
                parameters.getMatcherData());
        LookupEndpointResponse response = new LookupEndpointResponse();
        response.setEndpointReference(epr);
        return response;
    }
View Full Code Here

        builder.address(ENDPOINTURL);
        expectedRef = builder.build();

        LookupRequestType lrt = new LookupRequestType();
        lrt.setServiceName(SERVICE_NAME);
        LookupEndpointsResponse ler = lps.lookupEndpoints(lrt);
        endpointRef = ler.getEndpointReference().get(0);

        assertTrue(endpointRef.toString().equals(expectedRef.toString()));

    }
View Full Code Here

    public LookupEndpointsResponse lookupEndpoints(LookupRequestType parameters)
            throws ServiceLocatorFault, InterruptedExceptionFault {
        List<W3CEndpointReference> eprs = lookupEndpoints(
                parameters.getServiceName(), parameters.getMatcherData());

        LookupEndpointsResponse response = new LookupEndpointsResponse();
        response.getEndpointReference().addAll(eprs);
        return response;
    }
View Full Code Here

        W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
        // builder.serviceName(SERVICE_NAME);
        builder.address(ENDPOINTURL);
        expectedRef = builder.build();

        LookupRequestType lrt = new LookupRequestType();
        lrt.setServiceName(SERVICE_NAME);
        LookupEndpointResponse ler = lps.lookupEndpoint(lrt);
        endpointRef = ler.getEndpointReference();
        assertTrue(endpointRef.toString().equals(expectedRef.toString()));

    }
View Full Code Here

        W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
        // builder.serviceName(SERVICE_NAME);
        builder.address(ENDPOINTURL);
        expectedRef = builder.build();

        LookupRequestType lrt = new LookupRequestType();
        lrt.setServiceName(SERVICE_NAME);
        LookupEndpointsResponse ler = lps.lookupEndpoints(lrt);
        endpointRef = ler.getEndpointReference().get(0);

        assertTrue(endpointRef.toString().equals(expectedRef.toString()));
View Full Code Here

    public static void main(String[] args) throws Exception {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("/META-INF/client.xml");
        LocatorService client = (LocatorService) context.getBean("locatorService");

        LookupRequestType request = new LookupRequestType();
        request.setServiceName(new QName("http://talend.org/esb/examples/",
                "GreeterService"));

        LookupEndpointResponse response = client.lookupEndpoint(request);
        W3CEndpointReference endpointReference = response
                .getEndpointReference();
View Full Code Here

TOP

Related Classes of org.openquark.cal.internal.runtime.lecc.RTPartialApp$_11$_3

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.