Examples of UDDIClient


Examples of org.apache.juddi.v3.client.config.UDDIClient

    @Test
    public void Test8_InvalidCallbackAddress() throws Exception {
        log.info("Test8_InvalidCallbackAddress");

        UDDIClient c = new UDDIClient("META-INF/uddi-subcallback3.xml");
        BindingTemplate start = SubscriptionCallbackListener.start(c, "default");
        Assert.assertNotNull(start);
        Assert.assertNotNull(SubscriptionCallbackListener.getCallbackURL());
        Assert.assertNotNull(start.getAccessPoint());
        Assert.assertNotNull(start.getAccessPoint().getValue());
        log.log(Level.INFO, "AP url: {0} EP url: {1}", new Object[]{start.getAccessPoint().getValue(), SubscriptionCallbackListener.getCallbackURL()});
        Assert.assertEquals(start.getAccessPoint().getValue(), SubscriptionCallbackListener.getCallbackURL());
        SubscriptionCallbackListener.stop(c, "default", null);
        c.stop();
    }
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.