public class BasePortTypeFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
URN_IHE_ITI |
protected static String |
URN_IHE_RAD_2009 |
protected static String |
URN_IHE_RAD_XDSI_B_2009 |
| Constructor and Description |
|---|
BasePortTypeFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addHandler(BindingProvider bindingProvider,
SOAPHandler<?> handler)
Adds a new handler to the given
BindingProvider. |
static void |
configurePort(BindingProvider bindingProvider,
String endpointAddress,
boolean mtom,
boolean mustUnderstand,
boolean addLogHandler)
Configures the port with the default handlers, endpoint and mtom.
ATTENTION: If mtom is enabled, you need to provide a handler that forces MTOM to be done manually. |
protected static final String URN_IHE_ITI
protected static final String URN_IHE_RAD_XDSI_B_2009
protected static final String URN_IHE_RAD_2009
public static void configurePort(BindingProvider bindingProvider, String endpointAddress, boolean mtom, boolean mustUnderstand, boolean addLogHandler)
bindingProvider - the current binding providerendpointAddress - the target addressmtom - enables mtommustUnderstand - sets the must understand flag in certain headers, see EnsureMustUnderstandHandleraddLogHandler - add the log handlerpublic static void addHandler(BindingProvider bindingProvider, SOAPHandler<?> handler)
BindingProvider. This method also keeps all the
handlers which are already there.bindingProvider - the BindingProvider to add the handler tohandler - the handler to addCopyright © 2014. All Rights Reserved.