Skip to content

Instantly share code, notes, and snippets.

@asoldano
Last active December 16, 2015 09:39
ClientConfigFeature
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import org.jboss.ws.api.configuration.ClientConfigFeature;
...
Service service = Service.create(wsdlURL, serviceName);
MyEndpoint port = (MyEndpoint)service.getPort(MyEndpoint.class,
new ClientConfigFeature("META-INF/jaxws-client-config.xml", "Custom Client Config"));
port.echo("Foo");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment