diff --git a/pom.xml b/pom.xml index 7bc76d9..463ffc9 100644 --- a/pom.xml +++ b/pom.xml @@ -1,11 +1,18 @@ + 4.0.0 com.payline payline-java-sdk - 4.44.1 + 4.44.1.1 Payline JAVA SDK Project The Payline API provides access to the various functions of the Payline payment solution. It is based on standard web service components, which include the SOAP protocol, the WSDL and XSD definition languages. These standards are supported by a large range of development tools on multiple platforms. This SDK covers all the functions of the Payline payment solution. + + + 1.6 + 4.44.1 + + www.payline.com @@ -25,9 +32,7 @@ MONEXT http://www.monext.fr/ - - 1.6 - + ossrh @@ -38,6 +43,35 @@ https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + sign + + true + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + + + + + + + payline-java-sdk-${project.version} src/main/java @@ -110,24 +144,11 @@ - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - sign-artifacts - verify - - sign - - - - + org.codehaus.mojo jaxws-maven-plugin - 1.12 + 2.4.1 wsimport-from-jdk @@ -144,7 +165,7 @@ ${basedir}/src/main/resources/wsdls - v${project.version}.wsdl + v${payline.wsdl.version}.wsdl true @@ -152,6 +173,7 @@ com.payline.ws.model ${basedir}/generated/src + wsdls/v${payline.wsdl.version}.wsdl diff --git a/src/main/java/com/payline/kit/utils/Utils.java b/src/main/java/com/payline/kit/utils/Utils.java index 65cb5a5..a786bb1 100644 --- a/src/main/java/com/payline/kit/utils/Utils.java +++ b/src/main/java/com/payline/kit/utils/Utils.java @@ -73,7 +73,7 @@ public final class Utils { /** * WSDL */ - public static final String WSDL = "v4.44.1.wsdl"; + public static final String WSDL = "wsdls/v4.44.1.wsdl"; /** * logger. @@ -145,7 +145,7 @@ public static void setHTTPBasicCredentialAndEndPointFromBundle(final Object prox System.setProperty("http.proxyPassword", PaylineProperties.getString("PROXY_PWD")); } } else { - // Suppression des paramètres proxy pour éviter un effet cache + // Suppression des param�tres proxy pour �viter un effet cache System.setProperty("http.proxySet", "false"); System.clearProperty("http.proxyHost"); System.clearProperty("http.proxyPort"); @@ -217,7 +217,7 @@ public static void setHTTPBasicCredentialAndEndPointFromParams(final Object prox System.setProperty("http.proxyPassword", params.getProxyPassword()); } } else { - // Suppression des paramètres proxy pour éviter un effet cache + // Suppression des param�tres proxy pour �viter un effet cache System.setProperty("http.proxySet", "false"); System.clearProperty("http.proxyHost"); System.clearProperty("http.proxyPort"); @@ -447,7 +447,7 @@ public static String gzipDecompress(final byte[] decrypt) { } } catch (Exception e) { e.printStackTrace(); - logger.log(LOG_LEVEL, "Erreur lors de la décompression"); + logger.log(LOG_LEVEL, "Erreur lors de la d�compression"); } return outStr; }