[Fedora-suds-list] Exception: (400, u'Bad Request')
Joshua J. Kugler
joshua at eeinternet.com
Tue May 25 18:41:44 UTC 2010
On Tuesday 25 May 2010, Jake Emerson elucidated thus:
> DEBUG:suds.client:http failed:
> Traceback (most recent call last):
> File "/usr/lib/python2.6/dist-packages/GRT/reporting/SOAP.py", line
> 47, in <module>
> result = client.service.GetData(userID, password, configurationKey,
> lastRowID, maxReturnSize)
> File
> "/usr/lib/python2.6/dist-packages/python-suds-0.3.9/suds/client.py",
> line 539, in __call__
> return client.invoke(args, kwargs)
> File
> "/usr/lib/python2.6/dist-packages/python-suds-0.3.9/suds/client.py",
> line 598, in invoke
> result = self.send(msg)
> File
> "/usr/lib/python2.6/dist-packages/python-suds-0.3.9/suds/client.py",
> line 641, in send
> result = self.failed(binding, e)
> File
> "/usr/lib/python2.6/dist-packages/python-suds-0.3.9/suds/client.py",
> line 698, in failed
> raise Exception((status, reason))
> Exception: (400, u'Bad Request')
> Script terminated.
Without more information from the server it would be very hard to guess.
According to http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html:
10.4.1 400 Bad Request
The request could not be understood by the server due to malformed
syntax. The client SHOULD NOT repeat the request without modifications.
For some reason, the server is not liking the format of the request.
What does the WSDL say for the method you are calling? How are you
calling it. It sounds like you may be passing incorrect or mal-formed
parameters.
j
--
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A
More information about the suds
mailing list