summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/util/client')
-rw-r--r--src/main/java/at/gv/util/client/szr/SZRClient.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/main/java/at/gv/util/client/szr/SZRClient.java b/src/main/java/at/gv/util/client/szr/SZRClient.java
index 159f718..e14da50 100644
--- a/src/main/java/at/gv/util/client/szr/SZRClient.java
+++ b/src/main/java/at/gv/util/client/szr/SZRClient.java
@@ -120,14 +120,16 @@ public class SZRClient {
FremdBPKRequestType rt = new FremdBPKRequestType();
rt.setBereichsKennung(target);
rt.setVKZ(vkz);
- List<FremdBPKRequestType> list = new ArrayList<FremdBPKRequestType>();
- list.add(rt);
-
+// List<FremdBPKRequestType> list = new ArrayList<FremdBPKRequestType>();
+
TransformBPK req = new TransformBPK();
req.setPersonInfo(personInfo);
- req.setInputBereichsKennung(targetString);
+ req.setInputBereichsKennung(inputTarget);
req.setInputBPK(inputBpk);
req.setBegruendung("kt");
+
+ req.getTarget().add(rt);
+
TransformBPKResponse resp = this.szr.transformBPK(req );
List<FremdBPKType> response = resp.getTransformBPKReturn();
if (response == null) {
@@ -198,7 +200,7 @@ public class SZRClient {
HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy();
httpClientPolicy.setConnectionTimeout(36000);
- httpClientPolicy.setReceiveTimeout(32000);
+ httpClientPolicy.setReceiveTimeout(60000);
http.setClient(httpClientPolicy);