Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
499 commits
Select commit Hold shift + click to select a range
b95087a
Fixed a typo, per request.
Jan 16, 2013
0f76b56
Renamed new getResponseStatus() method to getResponseCode() in order …
Jan 16, 2013
45cd8c6
Adjusted the exception handling so that we never try to parse SOAP da…
Jan 16, 2013
c929a18
Update ksoap2-base/src/main/java/org/ksoap2/serialization/SoapSeriali…
antoniov72 Feb 13, 2013
912d7f6
Update ksoap2-base/src/main/java/org/ksoap2/serialization/SoapSeriali…
antoniov72 Feb 13, 2013
f14ed54
Update ksoap2-base/src/main/java/org/ksoap2/serialization/SoapSeriali…
antoniov72 Feb 13, 2013
5e07e98
Duplicated variables have been removed
Feb 26, 2013
ad5260d
KeepAliveHttpsTransportSE class simplified
Feb 26, 2013
d98d21d
HttpsServiceConnectionSEIgnoringConnectionClose public modifier added
Feb 26, 2013
a336849
Merge pull request #34 from AShuba/mymaster
mosabua Feb 27, 2013
d764793
implemented usage of progressive company pom to reduce boiler plate c…
mosabua Feb 27, 2013
a8595e4
junit upgrade
mosabua Feb 27, 2013
e181169
removed unnecessary config
mosabua Feb 27, 2013
77c8ab7
Merge pull request #32 from baldheadedguy/master
mosabua Mar 1, 2013
59b4725
Merge pull request #33 from antoniov72/master
mosabua Mar 2, 2013
aeda085
replaced tab with spaces to fix build
mosabua Mar 2, 2013
005569d
Duplicated code has been removed
Feb 27, 2013
96c93f8
Unused imports have been removed
Feb 27, 2013
71b235f
Proposition: moving duplicated code to parent class (Transport)
Feb 27, 2013
352ba88
ServiceConnection field removed from HttpTransport related classes
Mar 1, 2013
50be31c
Merge pull request #35 from AShuba/mymaster
mosabua Mar 4, 2013
6ac0ad8
fix for checkstyle build break
mosabua Mar 5, 2013
187d1bf
updated version
mosabua Mar 5, 2013
af26c7a
[maven-release-plugin] prepare release 3.0.0
mosabua Mar 5, 2013
9913f29
[maven-release-plugin] prepare for next development iteration
mosabua Mar 5, 2013
2abf35e
If outFile is present return FileInputStream instead of
Apr 15, 2013
6f7594c
Error correction in readDebug() return value
joschi70 Apr 26, 2013
20f0ebf
Fixed SoapFault parsing on responses with HTTP 500 codes
nduplessis May 9, 2013
3954638
Removed whitespace
nduplessis May 9, 2013
fb19799
Fixed some logic errors
nduplessis May 10, 2013
d0ddbd8
Merge pull request #38 from nduplessis/master
mosabua May 14, 2013
7bc0202
Merge pull request #37 from joschi70/master
mosabua May 14, 2013
a0be8e0
changed return statement to be more explicit to actually compile
mosabua May 28, 2013
fe05bd2
when http response code is different from 200, it throws a HttpProtoc…
syshex Oct 11, 2013
4a6410c
when http response code is different from 200, it throws a HttpProtoc…
syshex Oct 11, 2013
7d538ef
when http response code is different from 200, it throws a HttpProtoc…
syshex Oct 11, 2013
efbebde
when http response code is different from 200, it throws a HttpProtoc…
syshex Oct 11, 2013
421d9ca
correcting stylecheck error
syshex Oct 11, 2013
a447460
Merge pull request #40 from syshex/master
mosabua Oct 11, 2013
7c51bfb
Fixed logic around ignoring connections closure as remarked in https:…
mosabua Oct 15, 2013
c9b810a
removing connection close request property as it created numerous pro…
mosabua Oct 19, 2013
0424d56
migrated to new parent pom
mosabua Oct 19, 2013
a611436
adding travis build file
mosabua Oct 24, 2013
a080592
upgrading to Maven 3.1.1
mosabua Oct 24, 2013
025d96d
added travis link and section about contributions and migrated to asc…
mosabua Oct 24, 2013
c0bbc1b
[maven-release-plugin] prepare release 3.1.0
mosabua Oct 24, 2013
6b82684
[maven-release-plugin] prepare for next development iteration
mosabua Oct 24, 2013
f3c0f59
fixed markup
mosabua Oct 24, 2013
320c256
Adding accessor for the value, improved toString method, supplied by …
mosabua Nov 20, 2013
577ba17
updated value to be an object
mosabua Nov 21, 2013
c3bb5ad
opening up access to attributes to protected
mosabua Nov 25, 2013
bfa13c3
[maven-release-plugin] prepare release 3.1.1
mosabua Nov 29, 2013
1fe4721
[maven-release-plugin] prepare for next development iteration
mosabua Nov 29, 2013
3c34e7f
updated parent
mosabua Dec 3, 2013
6928df2
Now ksoap2 has a possibility to skip properties with null values from…
mm-rpodstawa Jan 28, 2014
e5a1569
Now if our custom class (which implements KvmSerializable) inherits f…
mm-rpodstawa Jan 28, 2014
59ca06b
Improvement for extends SoapSerializationEnvelope class
mm-rpodstawa Jan 28, 2014
117366e
Merge pull request #44 from robocik/branch5
mosabua Jan 29, 2014
0b4aad5
Merge pull request #42 from robocik/branch1
mosabua Jan 29, 2014
4a6ca3f
Merge pull request #43 from robocik/branch3
mosabua Jan 29, 2014
4f1ef4f
fixed code style
mosabua Jan 29, 2014
95d9932
new parent version
mosabua Jan 30, 2014
fc5eec2
fix for issue 181, avoid creation of input stream ifcontentlength is …
mosabua Jan 30, 2014
e407e24
initializing input stream
mosabua Jan 30, 2014
9533c9a
Update HttpTransportSE.java
Islandman93 Jan 31, 2014
48840c4
Update ServiceConnectionFixture.java
Islandman93 Jan 31, 2014
2e0c009
Update HttpTransportSE.java
Islandman93 Jan 31, 2014
c289b98
Merge pull request #47 from Islandman93/master
mosabua Feb 8, 2014
cebb0d5
In RPC encoded arrays we can have multidimentional arrays and in this…
mm-rpodstawa Feb 22, 2014
d6f0dd5
Added an inteface HasAttribute which can be used for any class to ser…
mm-rpodstawa Feb 22, 2014
4fdd3e2
Merge pull request #48 from robocik/refatorWithAttributeInterface
mosabua Feb 24, 2014
c94c758
Merge pull request #49 from robocik/rpcArraysFix
mosabua Feb 24, 2014
8decdca
[maven-release-plugin] prepare release 3.2.0
mosabua Feb 24, 2014
c4c641c
[maven-release-plugin] prepare for next development iteration
mosabua Feb 24, 2014
0ca2dd3
Merge pull request #1 from mosabua/master
Islandman93 Feb 28, 2014
82b0d00
Fix getPrimitiveProperty methods null exception
Islandman93 Feb 28, 2014
85680ec
Merge pull request #50 from Islandman93/master
mosabua Mar 1, 2014
d488c00
Added feature to control a null value representation in SOAP message
mm-rpodstawa Apr 24, 2014
78546ea
Merge pull request #51 from robocik/master
mosabua Apr 24, 2014
a2442e2
fixed code style problem
mosabua Apr 24, 2014
b1bfa0d
Fixed the issue of not being able to set an SSLSocketFactory using ge…
May 5, 2014
b82beb2
Merge pull request #52 from yousifucv/master
mosabua May 7, 2014
a24ca79
fixed checkstyle problems
mosabua May 7, 2014
c9e5349
[maven-release-plugin] prepare release 3.3.0
mosabua May 9, 2014
2a653a0
[maven-release-plugin] prepare for next development iteration
mosabua May 9, 2014
728cd2a
HashTable accesible for global namespace prefixes in Transport class
chelala May 16, 2014
8f5daa1
Added extensibility points
mm-rpodstawa Jul 12, 2014
d07d4ab
Fixed coding style
mm-rpodstawa Jul 12, 2014
7ebb0fd
Merge pull request #55 from robocik/master
mosabua Jul 19, 2014
940dbb4
Merge pull request #53 from chelala/master
mosabua Jul 21, 2014
2a980e7
upgraded to latest progressive org pom as parent
mosabua Jul 21, 2014
3f4b8ac
removed redundant check
mosabua Jul 21, 2014
1f67c85
SoapFault fixed for upper and lower case tags.
satansly Aug 11, 2014
fd19e48
Merge pull request #57 from satansly/master
mosabua Aug 30, 2014
c05c38f
Addition of interface methods to HasAttributes to get and set attrib…
satansly Oct 4, 2014
ec4e43f
Fixed check style build errors.
satansly Oct 4, 2014
d56c301
Merge branch 'development' of github.com:satansly/ksoap2-android into 58
mosabua Jan 7, 2015
79657eb
upgraded parent pom for plugin version mgt
mosabua Jan 7, 2015
2fc4536
release version 3.4.0
mosabua Jan 8, 2015
a8b8c1d
new development version set to 3.5.0-SNAPSHOT since we will rev java …
mosabua Jan 8, 2015
ed556eb
Update Java language level to 1.5,
mosabua Jan 8, 2015
a85bef3
Update README.asciidoc
mosabua Jan 8, 2015
d6c02bf
Update README.asciidoc
mosabua Jan 8, 2015
0657d0d
Fixed using https connection with proxy.
Feb 11, 2015
5bae847
Bug fix related with missing namespace info for SoapObjects read from…
mm-rpodstawa Feb 12, 2015
6cb28ff
Store all http headers from the response in HttpResponseException
mm-rpodstawa Feb 12, 2015
7df290d
Style fix
mm-rpodstawa Feb 12, 2015
9b318d1
Added unit tests for namespace aware methods
mm-rpodstawa Feb 12, 2015
1d916be
Merge pull request #59 from jvlppm/fix-204-ignored-https-proxy
mosabua Mar 1, 2015
1905fad
Merge pull request #62 from robocik/NamespaceExtensions
mosabua Mar 1, 2015
f774c28
Merge pull request #61 from robocik/HttpResponseExceptionExtended
mosabua Mar 1, 2015
5e710ef
Refactored Inner Text methods
satansly Mar 2, 2015
451b048
Travis build force
satansly Mar 2, 2015
16eee68
Check style errors fixes
satansly Mar 2, 2015
a875fa7
Merge pull request #63 from satansly/master
mosabua Mar 23, 2015
c93be31
SoapObject implements HasInnerText
satansly Mar 23, 2015
3fde1d3
Merge branch 'master' of https://github.com/mosabua/ksoap2-android
satansly Mar 23, 2015
5177a18
Merge pull request #64 from satansly/master
mosabua Mar 23, 2015
8182b51
upgraded parent
mosabua Mar 31, 2015
5e53c2d
refactored to use the new Sonatype sponsored repositories on OSSRH
mosabua Aug 5, 2015
9acdf48
removed svn wagon since maven repo is no longer in svn
mosabua Aug 5, 2015
fe5c543
removed manually provisioned mvn 3.1.1 and replaced it with usage of …
mosabua Aug 5, 2015
9e051ea
running mvnw as local script
mosabua Aug 5, 2015
2fc3afa
added maven site config with navigation elements
mosabua Aug 7, 2015
a8fdc45
added generic useful docs from Android Maven Plugin and did some mino…
mosabua Aug 7, 2015
de09682
ported index page from google code and adapted a bit
mosabua Aug 7, 2015
ef4b0e4
ported changelog from google code an adapted a bit
mosabua Aug 7, 2015
e407fb9
added license info from google code and adapted a bit
mosabua Aug 7, 2015
00080ce
added site profile and maven based site rendering with asciidoc support
mosabua Aug 7, 2015
b95332e
updated URLs to point to simpligility
mosabua Aug 7, 2015
cda959a
change issuemgt url to github
mosabua Aug 7, 2015
6aadc79
cleaned up pom with tidy maven plugin
mosabua Aug 7, 2015
3f3b301
reformatted pom
mosabua Aug 7, 2015
f32ed05
fixed URLs in readme
mosabua Aug 7, 2015
f5952a1
adapted issue reporting page
mosabua Aug 7, 2015
1a7ef41
added getting started and users page links
mosabua Aug 7, 2015
75b8980
updated contributors page content
mosabua Aug 7, 2015
3019c3c
moved history from changelog to contributors page
mosabua Aug 7, 2015
29a8e1d
moved history from changelog to contributors page
mosabua Aug 7, 2015
49c945f
added download/getting started page
mosabua Aug 7, 2015
4c0da3d
added users page as skeleton:
mosabua Aug 7, 2015
c0fd092
checked and updated contributing page
mosabua Aug 7, 2015
a653a68
updated documentation for development
mosabua Aug 7, 2015
9a1b306
fixed links on index page
mosabua Aug 7, 2015
918ca47
improved layout in index page
mosabua Aug 7, 2015
5bf802b
fixed layout of changelog
mosabua Aug 7, 2015
2d4b024
added migration efforts to changelog
mosabua Aug 13, 2015
36be0cd
added docs for code style
mosabua Aug 13, 2015
b1220ca
fixed release docs
mosabua Aug 13, 2015
37ae73f
adding users page with bunch of apps and tools
mosabua Aug 13, 2015
faf3f14
adding new howto and tips pages and linking them into the nav
mosabua Aug 13, 2015
0d9f109
style fixes on users page
mosabua Aug 13, 2015
eda1c70
updated howto page and reformatted,migrated tips
mosabua Aug 13, 2015
7035c73
fixed travis url
mosabua Aug 13, 2015
cf76382
reduced reports and fixed some data
mosabua Aug 13, 2015
74a07d1
removed unused config in travis setup
mosabua Aug 13, 2015
8756e02
updated parent to new release
mosabua Aug 29, 2015
9e433f2
Adding connection timeouts and some enhancements
jpelgrim Sep 9, 2015
1b3dae2
Merge pull request #69 from jpelgrim/master
mosabua Sep 10, 2015
88ebf25
changelog update with latest merged PR and release date
mosabua Sep 10, 2015
06442df
updated versions in usage docs
mosabua Sep 10, 2015
eabcc59
updated git scm provider for release, configured tag name
mosabua Sep 10, 2015
3d33ed7
[maven-release-plugin] prepare release 3.5.0
mosabua Sep 10, 2015
1442bc7
[maven-release-plugin] prepare for next development iteration
mosabua Sep 10, 2015
e6fcd92
Added extensions which allows to customize soap message
mm-rpodstawa Oct 7, 2015
a59db38
Rename interface IValueWriter to ValueWriter (java style name)
mm-rpodstawa Oct 14, 2015
4e3757c
Merge pull request #74 from robocik/SoapMessageExtension
mosabua Oct 15, 2015
eec0494
updated changelog for release
mosabua Oct 15, 2015
7adbef9
added next release for changelog
mosabua Oct 15, 2015
af142a9
[maven-release-plugin] prepare release 3.6.0
mosabua Oct 15, 2015
361a142
[maven-release-plugin] prepare for next development iteration
mosabua Oct 15, 2015
baf0749
update docs for releasing
mosabua Oct 15, 2015
8a8efaa
updated maven wrapper
mosabua Oct 22, 2015
33f9ba3
update parent pom and therefore plugin versions
mosabua Dec 9, 2015
e39f394
OkHttp3 Transport and ServiceConnection initial implementations
nicolabeghin Mar 30, 2016
2d40d21
updated parent pom and therefore plugin versions
mosabua Apr 5, 2016
f738e17
:Merge github.com:nicolabeghin/ksoap2-android into okkhttp
mosabua Apr 5, 2016
febb9cf
added ignore for checkstyle file
mosabua Apr 5, 2016
9eed712
fixed checkstyle violation
mosabua Apr 5, 2016
951da89
updated changelog for okhttp contrib
mosabua Apr 5, 2016
739fcc4
updated docs to use latest release version
mosabua May 10, 2016
7f18bf5
updated parent and therefore plugin versions
mosabua May 25, 2016
e9ff33a
updated junit
mosabua May 25, 2016
b6df34c
updated docs for new release
mosabua May 25, 2016
9ebc426
[maven-release-plugin] prepare release 3.6.1
mosabua May 25, 2016
1528b0f
[maven-release-plugin] prepare for next development iteration
mosabua May 25, 2016
3852785
Added ksoap2-jsoup module, with a JsoupHttpTransportSE transport
Jul 22, 2016
a8ce689
Added missing JsoupHttpTransportSE
Jul 22, 2016
cb8a66d
Merge pull request #97 from gmazzo/jsoup-module
mosabua Aug 8, 2016
b500d95
new constructor added that allows to specify an existing OkHttpClient
Aug 31, 2016
3c42219
OkHttpTransportSE adapted to use new OkHttpServiceConnectionSE constr…
Aug 31, 2016
f373cbe
Accept 202 http status code (instead throwing exception). This status…
mm-rpodstawa Oct 7, 2016
561c7e1
Merge pull request #102 from robocik/Http202StatusFix
mosabua Oct 8, 2016
35b4d4c
changelog for Accept 202 http status code, https://github.com/simplig…
mosabua Oct 8, 2016
46df53d
Merge pull request #99 from rob-X1/master
mosabua Oct 8, 2016
aa18eb1
added changelog entry for okhttp client reuse, PR 99
mosabua Oct 8, 2016
3bbe1ea
changed site publishing to use scm publish instead of github plugin
mosabua Oct 8, 2016
92e8559
disabled doclint for javadoc run so build works with Java 8 as well
mosabua Oct 8, 2016
6559ed4
[maven-release-plugin] prepare release 3.6.2
mosabua Oct 8, 2016
435380b
[maven-release-plugin] prepare for next development iteration
mosabua Oct 8, 2016
62528d4
updated versions in getting started guide to latest release
mosabua Oct 8, 2016
483d9de
upgraded to maven 3.3.9
mosabua Nov 14, 2016
bc45883
minimal looper build file
mosabua Nov 14, 2016
2fc8b0e
changed to latest java 8 release with official name
mosabua Nov 14, 2016
11588bb
updated to use full version string for JDK
mosabua Nov 14, 2016
c9813a7
back to simple 1.8 for JDK version
mosabua Nov 14, 2016
38170c5
reverted to old parent
mosabua Nov 14, 2016
1753608
simple 8 as JDK version, testing
mosabua Nov 14, 2016
82d9ac4
cleaned up indentations
mosabua Nov 14, 2016
d5355a0
Adding ksoap2-okhttp module. Keep in mind that, OkHttp supports Andro…
canyapan Mar 4, 2018
fd2824c
FIX TravisCI not supporting JDK7 any more.
canyapan Mar 4, 2018
e21cf3b
FIX Wrong package for okhttp module's tests.
canyapan Mar 4, 2018
e069916
FIX Wrong package for okhttp module's tests.
canyapan Mar 4, 2018
f14ca56
ADD documentations and comments.
canyapan Mar 5, 2018
7fb4913
FIX CodeStyle errors.
canyapan Mar 5, 2018
960c75d
CHANGE using OpenJDK7 for travis builds now.
canyapan Mar 6, 2018
6b672bf
CHANGE NTLM authentication and basic authentication now throw Authent…
canyapan Mar 6, 2018
860ec68
FIX CodeStyle check
canyapan Mar 6, 2018
3fae8cf
FIX Parse SoapFault.
canyapan Mar 6, 2018
4048c40
CHANGE deprecated Float and Double constructors.
canyapan Mar 6, 2018
f75c08b
CHANGE Basic and Ntlm authentication, for unnecessary authentication …
canyapan Mar 7, 2018
37da685
FIX CodeStyle checks
canyapan Mar 7, 2018
57fa0af
ADD printing debug info to the console using JUL.
canyapan Mar 7, 2018
2b21308
FIX JUL not loading logger configurations in jar.
canyapan Mar 8, 2018
7ea6665
Merge pull request #121 from canyapan/master
mosabua Mar 20, 2018
dfccb46
Added read timeout to transport and connections
Sep 26, 2018
a317e67
Fixed code style issues
Sep 28, 2018
41d3b80
setting tests to ignore for now since remote ws is offline
mosabua Nov 22, 2018
367fbc7
Merge pull request #124 from salmattia/read-timeout
mosabua Nov 22, 2018
42050f8
updated for 3.6.3 release
mosabua Nov 22, 2018
1887072
removed need for dep mgt of reactor projects
mosabua Nov 22, 2018
55a1df4
ignoring javadoc error for now
mosabua Nov 27, 2018
30c497b
updated release date
mosabua Nov 27, 2018
ca49d7e
[maven-release-plugin] prepare release 3.6.3
mosabua Nov 27, 2018
d3b6938
[maven-release-plugin] prepare for next development iteration
mosabua Nov 27, 2018
ec74247
upgrade to okhttp 3.12.0
mosabua Nov 27, 2018
c9acff6
Update OkHttp
zaclimon Mar 2, 2019
02ed633
Merge pull request #127 from zaclimon/j2se-update-okhttp
mosabua Mar 5, 2019
828da37
consistent okhttp version via dep mgt
mosabua Mar 5, 2019
9ed2966
added changelog entry for okhttp update
mosabua Mar 5, 2019
9735611
updated Maven wrapper
mosabua Mar 5, 2019
e9e5723
adding version to http header user agent
mosabua Mar 5, 2019
81fed78
link to commit
mosabua Mar 5, 2019
efc95f6
Removed dead link in site nav
mosabua Mar 5, 2019
ac3c874
updated parent pom
mosabua Mar 7, 2019
6412373
one more entry
mosabua Mar 7, 2019
3e67856
fixes to site build
mosabua Mar 8, 2019
9309e01
[maven-release-plugin] prepare release 3.6.4
mosabua Mar 8, 2019
78249ec
[maven-release-plugin] prepare for next development iteration
mosabua Mar 8, 2019
0d2b179
updated docs to version 3.6.4
mosabua Mar 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
bin/
target*/
*.log
out
*~

# Project config files
.settings/
.project
.classpath

.idea/
*.iml
.checkstyle
.DS_Store
11 changes: 11 additions & 0 deletions .looper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
tools:
jdk:
- 8
maven:
- 3.3.9

flows:
master:
- (on master, name build) mvn clean install -B
pr:
- call: master
117 changes: 117 additions & 0 deletions .mvn/wrapper/MavenWrapperDownloader.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
/*
* Copyright 2007-present the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import java.net.*;
import java.io.*;
import java.nio.channels.*;
import java.util.Properties;

public class MavenWrapperDownloader {

private static final String WRAPPER_VERSION = "0.5.3";
/**
* Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
*/
private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/"
+ WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + " .jar";

/**
* Path to the maven-wrapper.properties file, which might contain a downloadUrl property to
* use instead of the default one.
*/
private static final String MAVEN_WRAPPER_PROPERTIES_PATH =
".mvn/wrapper/maven-wrapper.properties";

/**
* Path where the maven-wrapper.jar will be saved to.
*/
private static final String MAVEN_WRAPPER_JAR_PATH =
".mvn/wrapper/maven-wrapper.jar";

/**
* Name of the property which should be used to override the default download url for the wrapper.
*/
private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl";

public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());

// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if(mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if(mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: " + url);

File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if(!outputFile.getParentFile().exists()) {
if(!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}

private static void downloadFileFromURL(String urlString, File destination) throws Exception {
if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) {
String username = System.getenv("MVNW_USERNAME");
char[] password = System.getenv("MVNW_PASSWORD").toCharArray();
Authenticator.setDefault(new Authenticator() {
@Override
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(username, password);
}
});
}
URL website = new URL(urlString);
ReadableByteChannel rbc;
rbc = Channels.newChannel(website.openStream());
FileOutputStream fos = new FileOutputStream(destination);
fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
fos.close();
rbc.close();
}

}
Binary file added .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
2 changes: 2 additions & 0 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.3/maven-wrapper-0.5.3.jar
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sudo: false
language: java
jdk: openjdk7

script: ./mvnw clean install

29 changes: 29 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Copyright (c) 2009-2012 the ksoap2-android project (http://code.google.com/p/ksoap2-android)
Copyright (c) 2006, James Seigel, Calgary, AB., Canada
Copyright (c) 2003,2004, Stefan Haustein, Oberhausen, Rhld., Germany

Expand All @@ -19,3 +20,31 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.

Further patches have been contributed under the same license by:

Jorge Jimenez <jota@tuxpan.com> http://groups.google.com/groups/profile?enc_user=Ey3jEg8AAACg1wBgVrjM04pX08V0u_rp
Karl Michael Davis <karl.michael.davis@gmail.com> https://github.com/karlmdavis
Manfred Moser <manfred@simpligility.com> http://www.simpligility.com
Matt Fletcher <fletcher@atomicobject.com> http://www.atomicobject.com/pages/Matt+Fletcher
Zachary Kurmasz <zachary.kurmas@atomicobject.com> http://www.cis.gvsu.edu/~kurmasz/
Juraj Ivančić" <juraj.ivancic@gmail.com>
Edgar Hernández García <edgar_hz@yahoo.com>
Jim Redman <ergouser@sourceforge.net>
Nebojsa Licina <nebe.daredevil@gmail.com>
Rainer Klier <rainer.klier@gmail.com>
Andreas Mattisson <andreas.mattisson@gmail.com>
Mark Radbourne <markradb@gmail.com>
Andrew Oppenlander <andrew.oppenlander@gmail.com> https://github.com/Usagimaru57
Petter Uvesten <petter@everichon.com> http://www.everichon.com
John Lindemann <jwlindemann@gmail.com>
Finn Larsen <fl@digroli.com>
Dawid Drozd <dordoz@debianPC.unauth.amu.edu.pl> https://github.com/gelldur
Konrad Barth <Konrad.Barth@gmail.com>
Nikolay Ivanets <> https://github.com/StenaviN
Sergej Koščejev <> https://github.com/sergej-koscejev
Anatoliy Shuba <ashuba@ya.ru> https://github.com/AShuba
Jose Castellanos Molina <Jose_castellanos@hotmail.com> https://github.com/matlock08
Dominik Maier domenukk@googlemail.com https://github.com/domenukk
Vadim Kotov vkotovv@gmail.com https://github.com/vkotovv
Ahmad Maziz Esa maziz.esa@gmail.com https://github.com/MazizEsa

30 changes: 30 additions & 0 deletions README.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
== KSOAP2-ANDROID

This is the master code repository for the ksoap2-android project. For further information see:

=== Project website

For documentation, links, issue tracker, wiki and so on:

http://simpligility.github.io/ksoap2-android/[http://simpligility.github.io/ksoap2-android/]

=== Mailing list

For discussions with others users, questions and more:

http://groups.google.com/group/ksoap2-android[http://groups.google.com/group/ksoap2-android]

=== CI Build

image:https://travis-ci.org/simpligility/ksoap2-android.png["Build Status", link="https://travis-ci.org/simpligility/ksoap2-android"]

=== Contributions

We welcome your feature enhancements and bug fixes in pull requests!

=== License

This project uses the MIT license. See LICENSE.txt and
http://simpligility.github.io/ksoap2-android/license-information.html[http://simpligility.github.io/ksoap2-android/license-information.html]
for more information.

12 changes: 12 additions & 0 deletions build-tools/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.google.code.ksoap2-android</groupId>
<artifactId>ksoap2-parent</artifactId>
<version>3.6.5-SNAPSHOT</version>
</parent>

<artifactId>build-tools</artifactId>
</project>
130 changes: 130 additions & 0 deletions build-tools/src/main/resources/simpligility/checkstyle.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">

<!-- Rules documentation at http://checkstyle.sourceforge.net/config.html -->

<module name="Checker">
<module name="FileTabCharacter"></module>
<!--<module name="NewlineAtEndOfFile"/>-->
<module name="TreeWalker">
<module name="RedundantImport">
<!-- Checks for redundant import statements. -->
<property name="severity" value="error"/>
</module>
<!--<module name="ImportOrder">-->
<!--Checks for out of order import statements. -->
<!--<property name="severity" value="warning"/>-->
<!--<property name="groups" value="com.google,android,junit,net,org,java,javax"/>-->
<!-- This ensures that static imports go first. -->
<!--<property name="option" value="top"/>-->
<!--<property name="tokens" value="STATIC_IMPORT, IMPORT"/>-->
<!--</module>-->

<!--<module name="JavadocMethod">-->
<!--<property name="scope" value="protected"/>-->
<!--<property name="severity" value="warning"/>-->
<!--<property name="allowMissingJavadoc" value="true"/>-->
<!--<property name="allowMissingParamTags" value="true"/>-->
<!--<property name="allowMissingReturnTag" value="true"/>-->
<!--<property name="allowMissingThrowsTags" value="true"/>-->
<!--<property name="allowThrowsTagsForSubclasses" value="true"/>-->
<!--<property name="allowUndeclaredRTE" value="true"/>-->
<!--</module>-->

<!--<module name="JavadocType">-->
<!--<property name="scope" value="protected"/>-->
<!--<property name="severity" value="error"/>-->
<!--</module>-->

<!--<module name="JavadocStyle">-->
<!--<property name="severity" value="warning"/>-->
<!--</module>-->

<!--NAMING CHECKS-->

<module name="PackageName">
<!-- Validates identifiers for package names against the supplied expression. -->
<property name="format" value="^[a-z]+(\.[a-z][a-z0-9]{1,})*$"/>
<property name="severity" value="warning"/>
</module>

<module name="TypeNameCheck">
<!-- Validates static, final fields against the
expression "^[A-Z][a-zA-Z0-9]*$". -->
<metadata name="altname" value="TypeName"/>
<property name="severity" value="warning"/>
</module>

<module name="LineLength">
<!-- Checks if a line is too long. -->
<property name="max" value="${com.puppycrawl.tools.checkstyle.checks.sizes.LineLength.max}" default="120"/>
<property name="severity" value="error"/>
<!--
The default ignore pattern exempts the following elements:
- import statements
- long URLs inside comments
-->
<property name="ignorePattern"
value="${com.puppycrawl.tools.checkstyle.checks.sizes.LineLength.ignorePattern}"
default="^(package .*;\s*)|(import .*;\s*)|( *\* *https?://.*)$"/>
</module>

<!--Checks for placement of the left curly brace ('{'). -->
<!--<module name="LeftCurly">-->
<!--<property name="severity" value="error"/>-->
<!--</module>-->
<!-- Checks right curlies on CATCH, ELSE, and TRY blocks are on
the same line. e.g., the following example is fine:
<pre>
if {
...
} else
</pre>
-->
<!-- This next example is not fine:
<pre>
if {
...
}
else
</pre>
-->
<!--<module name="RightCurly">-->
<!--<property name="option" value="same"/>-->
<!--<property name="severity" value="error"/>-->
<!--</module>-->
<!-- Checks for braces around if and else blocks -->
<module name="NeedBraces">
<property name="severity" value="error"/>
<property name="tokens" value="LITERAL_IF, LITERAL_ELSE, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO"/>
</module>
<!--<module name="WhitespaceAfter">-->
<!--&lt;!&ndash; Checks that commas, semicolons and typecasts are followed by-->
<!--whitespace.-->
<!--&ndash;&gt;-->
<!--<property name="tokens" value="COMMA, SEMI, TYPECAST"/>-->
<!--</module>-->
<!--<module name="NoWhitespaceAfter">-->
<!--&lt;!&ndash; Checks that there is no whitespace after various unary operators.-->
<!--Linebreaks are allowed.-->
<!--&ndash;&gt;-->
<!--<property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"/>-->
<!--<property name="allowLineBreaks" value="true"/>-->
<!--<property name="severity" value="error"/>-->
<!--</module>-->
<!--<module name="NoWhitespaceBefore">-->
<!--&lt;!&ndash; Checks that there is no whitespace before various unary operators.-->
<!--Linebreaks are allowed.-->
<!--&ndash;&gt;-->
<!--<property name="tokens" value="SEMI, DOT, POST_DEC, POST_INC"/>-->
<!--<property name="allowLineBreaks" value="true"/>-->
<!--<property name="severity" value="error"/>-->
<!--</module>-->
<!--<module name="ParenPad">-->
<!--<property name="severity" value="error"/>-->
<!--</module>-->
</module>
</module>

Loading