Share

Web Services for Python

Subscribe

Can't start simple-test.py

  1. 2009-11-05 20:08:22 UTC

    Just starting with python web services. python 2.6 and just downloaded an installed zsi now.

    Trying the simplest examples from here:

    http://pywebsvcs.sourceforge.net/zsi.html

    I'm using IIS 7.5 with Windows Server 2008. Maybe not a great idea but that's what I have most readily available.

    Have turned CGI for IIS 7.5 (doesn't come turned on by default).

    Try to run the simple-test.py server and get:

    C:\inetpub\wwwroot\cgi-bin>python simple-test.py
    c:\python26\lib\site-packages\zsi-2.0_rc3-py2.6.egg\ZSI\resolvers.py:7: Deprecat
    ionWarning: the multifile module has been deprecated since Python 2.5
    Status: 500
    Content-Type: text/xml; charset="utf-8"
    Content-Length: 480
    
    <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xm
    lns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ZSI="http://www.z
    olera.com/schemas/ZSI/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header></SOAP-ENV:Header><S
    OAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>
    Must use POST</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
    
    
    C:\inetpub\wwwroot\cgi-bin>
    

    Well, it's telling me faultcode but not what faultcode - as best I can tell. Any help appreciated.

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.