Package: python-soappy
Version: 0.11.3-1.7
Severity: important

I'm trying to use SOAPpy with the SMS-sending service available from
<http://www.csoft.co.uk/sms/api/soap_to_sms.htm>.

        >>> import SOAPpy
        >>> p = SOAPpy.WSDL.Proxy('http://www.csoft.co.uk/dtd/sendsms5.wsdl')
        >>> p.soapproxy.config.dumpSOAPOut=1
        >>> p.soapproxy.config.dumpSOAPIn=1
        p.AvailableMessages ('user', 'pin')
        *** Outgoing SOAP ******************************************************
        <?xml version="1.0" encoding="UTF-8"?>
        <SOAP-ENV:Envelope
          SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
          xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
          xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
          xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
          xmlns:xsd="http://www.w3.org/1999/XMLSchema";
        >
        <SOAP-ENV:Body>
        <AvailableMessages SOAP-ENC:root="1">
        <v1 xsi:type="xsd:string">user</v1>
        <v2 xsi:type="xsd:string">pass</v2>
        </AvailableMessages>
        </SOAP-ENV:Body>
        </SOAP-ENV:Envelope>
        ************************************************************************
        *** Incoming SOAP ******************************************************
        <?xml version="1.0" encoding="UTF-8"?>
        <SOAP-ENV:Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/1999/XMLSchema"; 
xmlns:ns2="http://www.csoft.co.uk/dtd/sendsms5.xsd";><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Method
 'AvailableMessages' not implemented: method name or namespace not 
recognized</faultstring><faultactor/><detail/><SOAP-ENV:Code/><SOAP-ENV:Reason/><SOAP-ENV:Node/><SOAP-ENV:Role/><SOAP-ENV:Detail/></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
        ************************************************************************
        Traceback (most recent call last):
          File "<stdin>", line 1, in ?
          File "/var/lib/python-support/python2.4/SOAPpy/Client.py", line 470, 
in __call__
                return self.__r_call(*args, **kw)
          File "/var/lib/python-support/python2.4/SOAPpy/Client.py", line 492, 
in __r_call
                self.__hd, self.__ma)
          File "/var/lib/python-support/python2.4/SOAPpy/Client.py", line 406, 
in __call
                raise p
        SOAPpy.Types.faultType: <Fault SOAP-ENV:Client: Method 
'AvailableMessages' not implemented: method name or namespace not recognized: >

The data that SOAPpy is sending to the server is totally different to
that described on their page at
<http://www.csoft.co.uk/sms/api/soap_queryaccount.htm>. The namespace
for the method name is not specified, the parameters look wrong, etc.

Of course, it's entirely possible that their WSDL file is incorrect,
their server is currently broken, or that I am not using SOAPpy
correctly... in which case please don't LART too hard! :)

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (540, 'stable'), (520, 'testing'), (510, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.21-2-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages python-soappy depends on:
ii  python-fpconst                0.7.2-3    Utilities for handling IEEE 754 fl
ii  python-support                0.5.6      automated rebuilding support for p
ii  python-xml                    0.8.4-6    XML tools for Python

python-soappy recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to