Giter VIP home page Giter VIP logo

soappy's Introduction

==============================================
SOAPpy - Simple to use SOAP library for Python 
==============================================

Current Maintainer: 	

	jeff kit <[email protected]>

Original Authors: 

	Cayce Ullman <[email protected]>
        Brian Matthews <[email protected]>

Contributions by:

	Christopher Blunck <[email protected]>
	Brad Knotwell <[email protected]>
	Mark Bucciarelli <[email protected]> (ported WSDL
             client from ZSI)
	Ivan R. Judson 	<[email protected]> (Globus support)
	Kirk Strauser <[email protected]>
	Antonio Beamud Montero <[email protected]> (patches
  	     for integrating SOAPpy into Zope)
	And others.

Copyright (c) 2002-2005, Pfizer, Inc.
Copyright (c) 2001, Cayce Ullman.
Copyright (c) 2001, Brian Matthews.
All rights reserved, see the file LICENSE for conditions of use.

INTRODUCTION
============

    The goal of the SOAPpy team is to provide a full-featured SOAP library
    for Python that is very simple to use and that fully supports dynamic
    interaction between clients and servers.
    
    INCLUDED
    --------

    - General SOAP Parser based on sax.xml
    - General SOAP Builder
    - SOAP Proxy for RPC client code
    - SOAP Server framework for RPC server code
    
    FEATURES
    --------

    - Handles all SOAP 1.0 types
    - Handles faults 
    - Allows namespace specification
    - Allows SOAPAction specification
    - Homogeneous typed arrays
    - Supports multiple schemas
    - Header support (mustUnderstand and actor)
    - XML attribute support
    - Multi-referencing support (Parser/Builder)
    - Understands SOAP-ENC:root attribute
    - Good interop, passes all client tests for Frontier, SOAP::LITE, SOAPRMI
    - Encodings
    - SSL clients (with Python compiled with OpenSSL support)
    - SSL servers (with Python compiled with OpenSSL support and M2Crypto
      installed)
    - Encodes XML tags per SOAP 1.2 name mangling specification (Gregory Warnes)
    - Automatic stateful SOAP server support (Apache v2.x) (blunck2)
    - WSDL client support
    - WSDL server support
    
    TODO (See RELEASE_INFO and CHANGELOG for recent changes)
    ----

    - Timeout on method calls
    - Advanced arrays (sparse, multidimensional and partial)
    - Attachments
    - mod_python example
    - medusa example
    - Improved documentation
    
    MANIFEST
    --------
    
    Files

    
        README	        This file
        RELEASE_NOTES       General information about each release
        ChangeLog           Detailed list of changes
        TODO		List of tasks that need to be done
    
        setup.py            Python installation control files
        MANIFEST
        MANIFEST.in
        
        SOAPpy.spec*        RPM package control file
    
    Directories
    
        SOAPpy/*            Source code for the package
        SOAPpy/wstools/*    Source code for WSDL tools
        tests/*             unit tests and examples
        validate/*          interop client and servers
        bid/*		N+I interop client and server
        doc/*		Documentation
        contrib/		Contributed examples (also see test/)
        docs/		Documentation
        tools/              Misc tools useful for the SOAPpy developers
        zope/               Patches to Zope allowing it to provide SOAP services
    

INSTALLATION
============

    REQUIRED PACKAGES:
    -----------------

    - fpconst 0.6.0 or later,
      <http://research.warnes.net/projects/rzope/fpconst/>

    - pyXML 0.8.3 or later, <http://pyxml.sourceforge.net>
    
    OPTIONAL PACKAGES
    -----------------
    
    - pyGlobus, optional support for Globus,
      <http://www-itg.lbl.gov/gtg/projects/pyGlobus/>
    
    - M2Crypto.SSL, optional support for server-side SSL
      <http://sandbox.rulemaker.net/ngps/m2/>
    
    - If Python is compiled with SSL support (Python 2.3 does so by
      default), client-side use of SSL is supported
    
    INSTALLATION STEPS
    ------------------
    
    As of version 0.9.8 SOAPpy can be installed using the standard python
    package installation tools.  
    
    To install:
    
      1) Unpack the distribution package:
    
         On Windows, use your favorite zip file uncompression tool.
    
         On Unix: 
        
             $ tar -xvzf SOAPpy-$VERSION$.tar.gz
        
             if you have gnu tar, otherwise
        
             $ gzcat SOAPpy-$VERSION$.tar.gz | tar -xvf -
        
      2) Change into the source directory
    
         $ cd SOAPpy-$VERSION$
    
      3) Compile the package 
    
         $ python setup.py build
    
      4) Install the package

	 On Windows:

	     $ python setup.py install

	 On Unix install as the owner of the python directories
	 (usally root):
    
	     $ su root
             Password: XXXXXX
             $ python setup.py install
    
    
DOCUMENTATION
=============

    QUICK START
    -----------

    A simple "Hello World" http SOAP server:

        import SOAPpy
        def hello():
	    return "Hello World"

        server = SOAPpy.SOAPServer(("localhost", 8080))
        server.registerFunction(hello)
        server.serve_forever()

    And the corresponding client:

        import SOAPpy
        server = SOAPpy.SOAPProxy("http://localhost:8080/")
        print server.hello()

    BASIC TUTORIAL
    --------------

    Mark Pilgrims' _Dive Into Python_, published in printed form by
    Apress and online at at http://diveintopython.org provides a
    nice tutorial for SOAPpy in Chapter 12, "SOAP Web Services".
    See http://diveintopython.org/soap_web_services .

    OTHER DOCUMENTATION
    -------------------
      
    For further information see the files in the docs/ directory.

    Note that documentation is one of SOAPpy's current weak points.
    Please help us out!


GETTING HELP
============

    REPORTING BUGS
    --------------
    
    Please submit bug reports, feature requests, patches, etc at the
    Python Web Services web site:  http://pywebsvcs.sourceforge.net.
    
    MAILING LIST
    ============
    
    Please address questions and general discussion to the
    pywebsvcs-talk mailing list, [email protected].
    
    For subscription information visit
    http://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk.  
    List archives are available at
    http://sourceforge.net/mailarchive/forum.php?forum=pywebsvcs-talk

    Please remember that the authors do have day jobs, so please try
    the mailing list before contacting them directy.  
        
$Id: README,v 1.18 2005/02/22 15:58:35 warnes Exp $

soappy's People

Contributors

jeffkit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

soappy's Issues

do_GET is incorrectly indented

I am puzzled that this simple typo bug has persisted for so many years: The method do_GET on RequestHandler in Server.py is simply incorrectly indented. This way you cannot do a GET request on the SOAP server.

Error in SOAPpy.Client: 'NoneType' object has no attribute 'read'

I've noticed this happening a few times, usually when the underlying socket is dropped. I'd guess in those cases getfile() returns None and read() doesn't make any sense.

File "/home/jono/work/virtualenvs/f5test2/eggs/SOAPpy-0.12.5-py2.7.egg/SOAPpy/Client.py", line 540, in call
return self.__r_call(_args, *_kw)
File "/home/jono/work/virtualenvs/f5test2/eggs/SOAPpy-0.12.5-py2.7.egg/SOAPpy/Client.py", line 562, in __r_call
self.__hd, self.__ma)
File "/home/jono/work/virtualenvs/f5test2/eggs/SOAPpy-0.12.5-py2.7.egg/SOAPpy/Client.py", line 425, in __call
timeout = self.timeout)
File "/home/jono/work/virtualenvs/f5test2/eggs/SOAPpy-0.12.5-py2.7.egg/SOAPpy/Client.py", line 286, in call
data = r.getfile().read()
AttributeError: 'NoneType' object has no attribute 'read'

SOAPpy.Client.__Method.__nonzero__ should return an int

Hi. When I create a SOAPProxy() object and try to put it in standard collections I get problems because it doesn't follow the nonzero rules.

calling bool(SOAPProxy(...)) results in:

TypeError: nonzero should return an int

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.