diff options
Diffstat (limited to 'src/main/java/at/gv/egiz/moazs/client')
-rw-r--r-- | src/main/java/at/gv/egiz/moazs/client/ClientFactory.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/client/ClientFactory.java b/src/main/java/at/gv/egiz/moazs/client/ClientFactory.java index a14e693..c294aa3 100644 --- a/src/main/java/at/gv/egiz/moazs/client/ClientFactory.java +++ b/src/main/java/at/gv/egiz/moazs/client/ClientFactory.java @@ -84,8 +84,8 @@ public class ClientFactory { * @param params for the client, such as service url and ssl parameters. * @return the client */ - public <T> T create(ClientType params, Class<T> clazz) { - return create(params, clazz, true); + public <T> T createSOAP12(ClientType params, Class<T> clazz) { + return createSOAPClient(params, clazz, true); } /** @@ -94,12 +94,12 @@ public class ClientFactory { * @param params for the client, such as service url and ssl parameters. * @return the client */ - public <T> T createSoap11(ClientType params, Class<T> clazz) { - return create(params, clazz, false); + public <T> T createSOAP11(ClientType params, Class<T> clazz) { + return createSOAPClient(params, clazz, false); } - private <T> T create(ClientType params, Class<T> clazz, boolean isSoap12) { + private <T> T createSOAPClient(ClientType params, Class<T> clazz, boolean isSoap12) { log.info("Create client for service {}", params.getURL()); |