use of jakarta.xml.ws.soap.AddressingFeature in project metro-jax-ws by eclipse-ee4j.
the class EndpointFeaturesTest method testCreateBindingImplFeatures.
// Tests Endpoint.create(bindingId, impl, features)
public void testCreateBindingImplFeatures() throws Exception {
int port = PortAllocator.getFreePort();
String address = "http://localhost:" + port + "/hello";
Endpoint endpoint = Endpoint.create(SOAPBinding.SOAP11HTTP_BINDING, new FeaturesEndpoint(), new AddressingFeature(true, true, AddressingFeature.Responses.ANONYMOUS));
publishVerifyStop(address, endpoint);
}
Aggregations