diff options
author | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-03-14 12:53:16 +0000 |
---|---|---|
committer | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-03-14 12:53:16 +0000 |
commit | d67075dcf3790ed6858987c4100fcda2e5a097a5 (patch) | |
tree | 3f0ee078e4cce8a2056440a76812e0e5a91163f6 /BKUAppletExt/src/main/java/at/gv/egiz | |
parent | 13faadba869069940e12f8c5115521adb511fa16 (diff) | |
download | mocca-d67075dcf3790ed6858987c4100fcda2e5a097a5.tar.gz mocca-d67075dcf3790ed6858987c4100fcda2e5a097a5.tar.bz2 mocca-d67075dcf3790ed6858987c4100fcda2e5a097a5.zip |
Remove jsessionid from WSDL URL (if present)
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1033 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUAppletExt/src/main/java/at/gv/egiz')
-rw-r--r-- | BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/ActivationApplet.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/ActivationApplet.java b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/ActivationApplet.java index 5ca086ab..a7692b79 100644 --- a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/ActivationApplet.java +++ b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/ActivationApplet.java @@ -74,6 +74,8 @@ public class ActivationApplet extends BKUApplet { @Override public STALPortType getSTALPort() throws MalformedURLException { URL wsdlURL = getURLParameter(WSDL_URL); + if (wsdlURL.toString().contains(";jsessionid=")) + wsdlURL = new URL(wsdlURL.toString().replaceAll("\\;jsessionid=[^\\?#]*", "")); log.debug("Setting STAL WSDL: {}.", wsdlURL); QName endpointName = new QName(STAL_WSDL_NS, STAL_SERVICE); log.info("Creating STAL-X enabled webservice port."); |