Examples of addNewAddress()


Examples of org.activemq.ws.xmlbeans.addressing.v2003_03.EndpointReferenceType.addNewAddress()

        return (ActiveMQSubscription) subscriptions.remove(toReferenceId(subscriptionReference));
    }
   
    private EndpointReferenceType toEndpointReference(String ref) {
        EndpointReferenceType rc = EndpointReferenceType.Factory.newInstance();
        rc.addNewAddress().setStringValue(address);
        ReferencePropertiesType props = rc.addNewReferenceProperties();
        XmlCursor cursor = props.newCursor();
        cursor.setTextValue(ref);
        return rc;
    }
View Full Code Here

Examples of org.servicemix.ws.xmlbeans.addressing.v2003_03.EndpointReferenceType.addNewAddress()

        return (ActiveMQSubscription) subscriptions.remove(toReferenceId(subscriptionReference));
    }
   
    private EndpointReferenceType toEndpointReference(String ref) {
        EndpointReferenceType rc = EndpointReferenceType.Factory.newInstance();
        rc.addNewAddress().setStringValue(address);
        ReferencePropertiesType props = rc.addNewReferenceProperties();
        XmlCursor cursor = props.newCursor();
        cursor.setTextValue(ref);
        return rc;
    }
View Full Code Here

Examples of org.w3.x2005.x08.addressing.EndpointReferenceType.addNewAddress()

    UnicoreHostType host = (UnicoreHostType) jobExecutionContext.getApplicationContext().getHostDescription().getType();
       
        String factoryUrl = host.getUnicoreHostAddressArray()[0];

        EndpointReferenceType eprt = EndpointReferenceType.Factory.newInstance();
        eprt.addNewAddress().setStringValue(factoryUrl);

        CreateActivityDocument cad = CreateActivityDocument.Factory
                .newInstance();
       
        try {
View Full Code Here

Examples of org.w3.x2005.x08.addressing.EndpointReferenceType.addNewAddress()

             */
            securityProperties = initSecurityProperties();
            String factoryUrl = job.getFactoryUrl();
            EndpointReferenceType eprt = EndpointReferenceType.Factory
                    .newInstance();
            eprt.addNewAddress().setStringValue(factoryUrl);
            System.out.println("========================================");
            System.out.println(String.format("Job Submitted to %s.\n", factoryUrl));
            FactoryClient factory = null;
            try {
                factory = new FactoryClient(eprt, securityProperties);
View Full Code Here

Examples of org.w3.x2005.x08.addressing.EndpointReferenceType.addNewAddress()

    UnicoreHostType host = (UnicoreHostType) jobExecutionContext.getApplicationContext().getHostDescription().getType();
       
        String factoryUrl = host.getUnicoreBESEndPointArray()[0];

        EndpointReferenceType eprt = EndpointReferenceType.Factory.newInstance();
        eprt.addNewAddress().setStringValue(factoryUrl);

        CreateActivityDocument cad = CreateActivityDocument.Factory
                .newInstance();
       
    JobDefinitionType jobDefinition = null;
View Full Code Here

Examples of org.w3.x2005.x08.addressing.EndpointReferenceType.addNewAddress()

    UnicoreHostType host = (UnicoreHostType) jobExecutionContext.getApplicationContext().getHostDescription().getType();
       
        String factoryUrl = host.getUnicoreBESEndPointArray()[0];

        EndpointReferenceType eprt = EndpointReferenceType.Factory.newInstance();
        eprt.addNewAddress().setStringValue(factoryUrl);

        CreateActivityDocument cad = CreateActivityDocument.Factory
                .newInstance();
       
    JobDefinitionType jobDefinition = null;
View Full Code Here

Examples of org.w3.x2005.x08.addressing.EndpointReferenceType.addNewAddress()

                .getType();

        String factoryUrl = host.getUnicoreBESEndPointArray()[0];

        EndpointReferenceType eprt = EndpointReferenceType.Factory.newInstance();
        eprt.addNewAddress().setStringValue(factoryUrl);

        String userDN = getUserName(jobExecutionContext);

        if (userDN == null || userDN.equalsIgnoreCase("admin")) {
            userDN = "CN=zdv575, O=Ultrascan Gateway, C=DE";
View Full Code Here

Examples of org.w3.x2005.x08.addressing.EndpointReferenceType.addNewAddress()

            UnicoreHostType host = (UnicoreHostType) jobExecutionContext.getApplicationContext().getHostDescription()
                    .getType();

            String factoryUrl = host.getUnicoreBESEndPointArray()[0];
            EndpointReferenceType epr = EndpointReferenceType.Factory.newInstance();
            epr.addNewAddress().setStringValue(factoryUrl);

            FactoryClient factory = new FactoryClient(epr, secProperties);
            factory.terminateActivity(eprt);
        } catch (Exception e) {
            throw new GFacProviderException(e.getLocalizedMessage(),e);
View Full Code Here

Examples of org.w3.x2005.x08.addressing.EndpointReferenceType.addNewAddress()

                .getType();

        String factoryUrl = host.getUnicoreBESEndPointArray()[0];

        EndpointReferenceType eprt = EndpointReferenceType.Factory.newInstance();
        eprt.addNewAddress().setStringValue(factoryUrl);

        String userDN = getUserName(jobExecutionContext);

        if (userDN == null || userDN.equalsIgnoreCase("admin")) {
            userDN = "CN=zdv575, O=Ultrascan Gateway, C=DE";
View Full Code Here

Examples of org.w3.x2005.x08.addressing.EndpointReferenceType.addNewAddress()

            UnicoreHostType host = (UnicoreHostType) jobExecutionContext.getApplicationContext().getHostDescription()
                    .getType();

            String factoryUrl = host.getUnicoreBESEndPointArray()[0];
            EndpointReferenceType epr = EndpointReferenceType.Factory.newInstance();
            epr.addNewAddress().setStringValue(factoryUrl);

            FactoryClient factory = new FactoryClient(epr, secProperties);
            factory.terminateActivity(eprt);
        } catch (Exception e) {
            throw new GFacProviderException(e.getLocalizedMessage(),e);
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.