Skip to content

Instantly share code, notes, and snippets.

Donato dmarrazzo

  • Red Hat
  • Roma, Italia
Block or report user

Report or block dmarrazzo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@aviramsegal
aviramsegal / gist:3075966
Created Jul 9, 2012
JAX-WS Custom Endpoint
View gist:3075966
/**
* The following snippets shows how to set a custom endpoint for a JAX-WS generated WebClient on runtime
*/
// Get the service and the port
SampleService service = new SampleService();
Sample port = service.getESamplePort();
// Use the BindingProvider's context to set the endpoint
BindingProvider bp = (BindingProvider)port;
You can’t perform that action at this time.