Binding bnd = ep.getBinding();
assertTrue("The returned Binding instance was null", bnd != null);
assertTrue("The returned Binding instance was of the wrong type (" + bnd.getClass().getName() + "), expected SOAPBinding",
SOAPBinding.class.isAssignableFrom(bnd.getClass()));
ep.stop();
}
public void testCreateAndPublishOnAlternatePort() throws Exception {
Endpoint ep = Endpoint.create(new SampleEndpoint());
ep.publish("http://localhost:16060/SampleEndpoint");