thinkt4nk / suds-py3

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

suds-py3

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:

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!"

Fixes by Me

  1. Applied some changes to make it work with python 3
  2. Tested with .NET WCF basicHttpBinding with BasicAuthentication

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

About

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

License:GNU Lesser General Public License v3.0


Languages

Language:Python 100.0%Language:Shell 0.0%