Hello All,
I am trying to get my web services running.When I do http request
http://localhost/RunSelectQuery it works fine and I see all the
results.
However when i try to do a soap request http://localhost/soap/ through
the browser i get the following error
<Envelope>
-
<Body>
-
<Fault>
<faultcode>Server</faultcode>
-
<faultstring>
("invalid literal for int() with base 10: ''", <bound method
SoapController.index of <tgwebservices.soap.SoapController object at
0x8ae24cc>>)
</faultstring>
-
<detail>
Error occurred at Tue Jul 31 07:54:51 2007
SOAP method:
Raw request (first 2K):
Traceback:
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/CherryPy-2.2.1-
py2.5.egg/cherrypy/_cphttptools.py", line 105, in _run
self.main()
File "/usr/local/lib/python2.5/site-packages/CherryPy-2.2.1-
py2.5.egg/cherrypy/_cphttptools.py", line 254, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in index
File "/usr/local/lib/python2.5/site-packages/TurboGears-1.0.2.2-
py2.5.egg/turbogears/controllers.py", line 336, in expose
*args, **kw)
File "<string>", line 5, in run_with_transaction
File "/usr/local/lib/python2.5/site-packages/TurboGears-1.0.2.2-
py2.5.egg/turbogears/database.py", line 303, in so_rwt
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "/usr/local/lib/python2.5/site-packages/TurboGears-1.0.2.2-
py2.5.egg/turbogears/controllers.py", line 351, in <lambda>
mapping, fragment, args, kw)))
File "/usr/local/lib/python2.5/site-packages/TurboGears-1.0.2.2-
py2.5.egg/turbogears/controllers.py", line 378, in _execute_func
output = errorhandling.try_call(func, *args, **kw)
File "/usr/local/lib/python2.5/site-packages/TurboGears-1.0.2.2-
py2.5.egg/turbogears/errorhandling.py", line 73, in try_call
return func(self, *args, **kw)
File "/usr/lib/python2.5/site-packages/TGWebServices-1.1.2-py2.5.egg/
tgwebservices/soap.py", line 182, in index
clen = int(request.headers.get('Content-Length')) or 0
ValueError: ("invalid literal for int() with base 10: ''", <bound
method SoapController.index of <tgwebservices.soap.SoapController
object at 0x8ae24cc>>)
</detail>
</Fault>
</Body>
</Envelope>
I can get the wsdl file properly from http://localhost/soap/api.wsdl.
Also when I try to instantiate the web services from my .net client i
get the following error
"The request failed with HTTP status 405:Method not allowed."
Any help will be highly appreciated.
Thanks,
Vishal
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---