Skip to content

Instantly share code, notes, and snippets.

View dmarrazzo's full-sized avatar

Donato dmarrazzo

  • Red Hat
  • Roma, Italia
View GitHub Profile
apiVersion: app.kiegroup.org/v2
kind: KieApp
spec:
commonConfig:
adminPassword: 'sec_pwd_here'
adminUser: dmAdmin
environment: rhdm-production-immutable
objects:
servers:
- id: demo-ks
@aviramsegal
aviramsegal / gist:3075966
Created July 9, 2012 11:35
JAX-WS Custom Endpoint
/**
* 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;