aboutsummaryrefslogtreecommitdiff
path: root/spss.server/src/at/gv/egovernment/moa/spss
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-11-07 14:52:31 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-11-07 14:52:31 +0000
commit28211a11ee4ca7905769c5d23758eeb9a63e86ab (patch)
tree8093c2e1a83608bf68eb30fc2c23eb43230bdace /spss.server/src/at/gv/egovernment/moa/spss
parenteaf970433ce35349c1c7d07d25e7b6fc26e8d81e (diff)
downloadmoa-id-spss-28211a11ee4ca7905769c5d23758eeb9a63e86ab.tar.gz
moa-id-spss-28211a11ee4ca7905769c5d23758eeb9a63e86ab.tar.bz2
moa-id-spss-28211a11ee4ca7905769c5d23758eeb9a63e86ab.zip
Resource-String für WSDL-Location als Member ausgelagert (siehe Bug 6).
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@37 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss.server/src/at/gv/egovernment/moa/spss')
-rw-r--r--spss.server/src/at/gv/egovernment/moa/spss/server/service/AxisHandler.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/service/AxisHandler.java b/spss.server/src/at/gv/egovernment/moa/spss/server/service/AxisHandler.java
index 9d6b255c2..19e5aa9fa 100644
--- a/spss.server/src/at/gv/egovernment/moa/spss/server/service/AxisHandler.java
+++ b/spss.server/src/at/gv/egovernment/moa/spss/server/service/AxisHandler.java
@@ -43,12 +43,15 @@ import at.gv.egovernment.moa.spss.util.MessageProvider;
*/
public class AxisHandler extends BasicHandler {
+ /** The resource names of the messages to load. */
+ private static final String MOA_SPSS_WSDL_RESOURCE_ = "/resources/wsdl/MOA-SPSS-1.1.wsdl";
+
/** The property name for accessing the HTTP request. */
- private static final String REQUEST_PROPERTY =
- HTTPConstants.MC_HTTP_SERVLETREQUEST;
+ private static final String REQUEST_PROPERTY = HTTPConstants.MC_HTTP_SERVLETREQUEST;
+
/** The property name for accessing the X509 client certificate chain. */
- private static final String X509_CERTIFICATE_PROPERTY =
- "javax.servlet.request.X509Certificate";
+ private static final String X509_CERTIFICATE_PROPERTY = "javax.servlet.request.X509Certificate";
+
/** The property name for accessing the SOAP action header. */
private static final String SOAP_ACTION_HEADER = "soapaction";
@@ -206,10 +209,8 @@ public class AxisHandler extends BasicHandler {
public void generateWSDL(MessageContext msgContext) throws AxisFault {
InputStream instream = null;
- // Got a WSDL file in the service description, so try and read it
try {
- String filename = "/resources/wsdl/MOA-SP-SS-1.0-20020829.wsdl";
- msgContext.getService().getServiceDescription().getWSDLFile();
+ String filename = MOA_SPSS_WSDL_RESOURCE_;
File file = new File(filename);
if (file.exists()) {
//if this resolves to a file, load it