Simple SOAP client for Java
Clone or download
Pull request Compare This branch is 2 commits ahead of shunjikonishi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
src
testdata
.gitignore
LICENSE.txt
README.md
pom.xml

README.md

flectSoap


Overview

Simple SOAP client for Java.

Its features consist of

  • Generate SOAP template from WSDL
  • Embed parameters to SOAP template
  • Invoke SOAP request by http(s)

JavaDoc

http://oss.flect.co.jp/apidocs/flectSoap/index.html

Dependencies

If you want to build this library, you must build and install following maven projects.

Usage

File wsdl = new File("partner.wsdl");
SoapClient client = new SoapClient(wsdl);

//Make input parameters
ExtendedMap input = new ExtendedMap(true);
input.putDeep("login.username", username);
input.putDeep("login.password", password);

//Invoke and get results
SoapResponse res = invoke("login", null, input);
ExtendedMap output = res.getAsMap();
String sessionId = (String)output.getDeep("loginResponse.result.sessionId");
int sessionLifetime = Integer.parseInt((String)output.getDeep("loginResponse.result.userInfo.sessionSecondsValid"));

License

MIT

We have an commercial use version of this application officially supported.

Please contact us for details.

info@flect.co.jp