Code Monkey home page Code Monkey logo

suds-py3's Introduction

suds-py3

travisci readthedocs

Suds is a lightweight SOAP python client for consuming Web Services.

Mirror of http://svn.fedorahosted.org/svn/suds/trunk/ supporting Python3 and some fixes.

Overview

The "Suds" web services client is a lightweight soap-based client for python the is licensed under LGPL.

For details, visit:

Since the original library is no longer supported and documentation also disappeared along with it.

A copy of the documentation is hosted at https://suds-py3.readthedocs.io/en/latest/

This is not my original documentation however I have reformatted to sphinx rST style and updated few parts to keep the code examples clean and working.

Pull requests are welcome for the docs.

Features

  • No class generation
  • Provides an object API.
  • Reads wsdl at runtime for encoding/decoding
  • Supports the following SOAP binding styles:
  • Document/Literal
  • RPC/Literal
  • RPC/Encoded
  • Provides objectification of WSDL defined:
  • Types ''(objects)''
  • Enumerations
  • Service and type objects provide inspection via ''print''
  • Supports unicode
  • HTTP authentication
  • ''Basic'' WS-Security

Installation

pip3 install suds-py3

Sample usage

from suds.client import Client
client = Client('http://localhost:8181/soap/helloservice?wsdl', username='bob', password='catbob')
result = client.service.sayHello('bob')
# result -> "Hello, bob!"

Examples

Examples folder contains sample SOAP services in JAVA, .NET WCF.

Example has a python client that loads WSDL from http://localhost:8181/soap/helloservice?wsdl <- This is served by one of the below services.

RUN Any one of the JAVA/.NET WCF services

RUN python examples/test_client.py to test whether this package is working properly.

Running JAVA Soap service

  • cd examples/java-soap/ && sh run_service.sh

Running .NET WCF service

  • cd examples/NET45_WCF/ && run_service.bat <- Run this in Visual Studio developer command prompt

suds-py3's People

Contributors

andreif avatar cackharot avatar dougroyal avatar filipleczynski avatar funkybob avatar orangensaft avatar sbywater avatar victorjabur avatar

Watchers

 avatar  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.