diff options
author | troessler <troessler@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2008-04-02 09:23:35 +0000 |
---|---|---|
committer | troessler <troessler@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2008-04-02 09:23:35 +0000 |
commit | 861c81934a6596f6ec001248fc8f16476b816d2f (patch) | |
tree | 93b0ec42c80297be4e3bb40d2a211e3b443a8576 /src/main/java/at/knowcenter | |
parent | 440e74f9de28d2df476e1b98f952e98a80c6d7e4 (diff) | |
download | pdf-as-3-861c81934a6596f6ec001248fc8f16476b816d2f.tar.gz pdf-as-3-861c81934a6596f6ec001248fc8f16476b816d2f.tar.bz2 pdf-as-3-861c81934a6596f6ec001248fc8f16476b816d2f.zip |
Bug Fix: "XmlRequest" -> "XMLRequest"
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@255 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java | 3 | ||||
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/BKUPostConnection.java | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java index cd67c95..3437a6e 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java @@ -818,12 +818,13 @@ public class SignatureObject implements Serializable {
final String msg = "The BKU environment " + productName + " is not trustDeskbasic and therefore the productVersion cannot be decided.";
logger_.error(msg);
+ // uncomment the following line in order to check new bkus
throw new SignatureException(0, msg);
}
String productVersion = response_properties.getProperty("productVersion");
logger_.debug("productVersion = " + productVersion);
- boolean new_etsi = decideNewEtsiByBKUVersion(productVersion);
+ boolean new_etsi = decideNewEtsiByBKUVersion(productVersion);
logger_.debug("verwende neue etsi properties = " + new_etsi);
String etsi_prefix = "";
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/BKUPostConnection.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/BKUPostConnection.java index 02013a5..1a720d8 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/BKUPostConnection.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/BKUPostConnection.java @@ -60,7 +60,7 @@ public final class BKUPostConnection {
log.debug("doPostRequestMultipart:"); //$NON-NLS-1$
- StringPart xmlpart = new StringPart("XmlRequest", request, "UTF-8"); //$NON-NLS-1$//$NON-NLS-2$
+ StringPart xmlpart = new StringPart("XMLRequest", request, "UTF-8"); //$NON-NLS-1$//$NON-NLS-2$
// TODO this is a BUG in BKU that doesn't allow the Content-Type header
xmlpart.setContentType(null);
@@ -104,6 +104,7 @@ public final class BKUPostConnection post_method.setRequestEntity(mprqe);
HttpClient http_client = new HttpClient();
+
int method_response = http_client.executeMethod(post_method);
log.debug("method_response = " + method_response); //$NON-NLS-1$
|