Giter Site home page Giter Site logo

caller's Introduction

Caller

Caller is a utility library that allows to call SOAP web services without having to use fully WSDL compliant stub classes.

Caller allows for using any kind of input and output classes for generating the SOAP request, and as long as the getters and setters of such classes have the same name as the attributes of the datatypes defined in the XSD part of the WSDL of the service, the matching is made in an automatic fashion.

Usage

The provided class is com.github.tranchis.caller.Caller and the syntax of the call is:

Caller c = new Caller();
result = c.callService(
  "http://server:port/webapp/service?WSDL#operationName",
  new Object[] { input1, input2 },
  OutputClass.class);

The first parameter points to the operation section of the service WSDL, the second parameter is an array of objects with the inputs that match the inputs of the SOAP request, and the third parameter is the class that matches the SOAP response.

License

The code contributed for this package is licensed under LGPL v3 (see LICENSE).

caller's People

Contributors

tranchis avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.