summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/gv/util/client/ersb/ERsBClient.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/at/gv/util/client/ersb/ERsBClient.java b/src/main/java/at/gv/util/client/ersb/ERsBClient.java
index b0f7ca7..5f68ea5 100644
--- a/src/main/java/at/gv/util/client/ersb/ERsBClient.java
+++ b/src/main/java/at/gv/util/client/ersb/ERsBClient.java
@@ -57,27 +57,27 @@ public class ERsBClient {
ErsbServiceService service = new ErsbServiceService(url, new QName("http://statistik.at/namespace/ersb/1#", "ErsbServiceService"));
ErsbService port = service.getErsbServiceSoap11();
- log.debug("MISSTORK connection URL: " + ersbServiceURL);
+ log.debug("ERsB connection URL: " + ersbServiceURL);
BindingProvider bindingProvider = (BindingProvider) port;
Map<String, Object> requestContext = bindingProvider.getRequestContext();
requestContext.put(
BindingProvider.ENDPOINT_ADDRESS_PROPERTY, ersbServiceURL);
-
- log.trace("Adding JAX-WS request/response trace handler.");
-
+
List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain();
if (handlerList == null) {
handlerList = new ArrayList();
}
- LoggingHandler loggingHandler = new LoggingHandler();
- handlerList.add(loggingHandler);
- bindingProvider.getBinding().setHandlerChain(handlerList);
log.trace("Adding WS-Security Header handler.");
PvpTokenType pvpToken = config.getERsBPVPToken();
SZRSOAPHandler szrSOAPHandler = new SZRSOAPHandler();
szrSOAPHandler.configure(pvpToken);
handlerList.add(szrSOAPHandler);
+
+ log.trace("Adding JAX-WS request/response trace handler.");
+ LoggingHandler loggingHandler = new LoggingHandler();
+ handlerList.add(loggingHandler);
+
bindingProvider.getBinding().setHandlerChain(handlerList);
// check for ssl