diff options
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | src/main/java/at/gv/util/client/szr/SZRClient.java | 12 |
2 files changed, 8 insertions, 6 deletions
@@ -5,7 +5,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>at.gv.util</groupId> <artifactId>egovutils</artifactId> - <version>2.0.0</version> + <version>2.0.1</version> <name>zuseutil</name> <url>http://maven.apache.org</url> <properties> 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); |