Package org.jboss.soa.esb.listeners.config

Examples of org.jboss.soa.esb.listeners.config.Action


        final Properties properties = new Properties() ;

        properties.put(WebServiceUtils.JBOSSWS_ENDPOINT, "BlahEndpoint");
        properties.put(AbstractWsdlContractPublisher.REWRITE_ENDPOINT_URL, Boolean.toString(rewriteUrls));
       
        return new Action("name", "class", "process", properties) ;
    }
View Full Code Here


* @author <a href="mailto:tom.fennelly@jboss.com">tom.fennelly@jboss.com</a>
*/
public class AbstractWsdlContractPublisherUnitTest extends TestCase {

    public void test_transform_01() throws Exception {
        Action actionConfig = new Action(null, null, null, new Properties());

        actionConfig.getProperties().setProperty("rewrite-endpoint-url", "true");
        actionConfig.getProperties().setProperty("wsdlTransform", "/org/jboss/soa/esb/actions/soap/wsdl-transform.xml");
        execTransformTest(actionConfig, "wsdl-transform.expected-01.xml"); // Both transforms
    }
View Full Code Here

        actionConfig.getProperties().setProperty("wsdlTransform", "/org/jboss/soa/esb/actions/soap/wsdl-transform.xml");
        execTransformTest(actionConfig, "wsdl-transform.expected-01.xml"); // Both transforms
    }

    public void test_transform_02() throws Exception {
        Action actionConfig = new Action(null, null, null, new Properties());

        actionConfig.getProperties().setProperty("rewrite-endpoint-url", "false");
        actionConfig.getProperties().setProperty("wsdlTransform", "/org/jboss/soa/esb/actions/soap/wsdl-transform.xml");
        execTransformTest(actionConfig, "wsdl-transform.expected-02.xml"); // Just the user defined transform
    }
View Full Code Here

        actionConfig.getProperties().setProperty("wsdlTransform", "/org/jboss/soa/esb/actions/soap/wsdl-transform.xml");
        execTransformTest(actionConfig, "wsdl-transform.expected-02.xml"); // Just the user defined transform
    }

    public void test_transform_03() throws Exception {
        Action actionConfig = new Action(null, null, null, new Properties());

        actionConfig.getProperties().setProperty("rewrite-endpoint-url", "false");
        execTransformTest(actionConfig, "/test-in.wsdl"); // Neither transforms - should be unchanged from the in-wsdl
    }
View Full Code Here

        actionConfig.getProperties().setProperty("rewrite-endpoint-url", "false");
        execTransformTest(actionConfig, "/test-in.wsdl"); // Neither transforms - should be unchanged from the in-wsdl
    }

    public void test_transform_04() throws Exception {
        Action actionConfig = new Action(null, null, null, new Properties());

        actionConfig.getProperties().setProperty("rewrite-endpoint-url", "true");
        execTransformTest(actionConfig, "wsdl-transform.expected-04.xml"); // Just the url rewriting transform
    }
View Full Code Here

TOP

Related Classes of org.jboss.soa.esb.listeners.config.Action

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.