kartagis / pysimplesoap

Automatically exported from code.google.com/p/pysimplesoap
0 stars 0 forks source link

AttributeError #121

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. from pysimplesoap.client import SoapClient
2. wsdl_url = 'http://test.mmgroup.ru/WestCrm-Anonymous/?wsdl'
3. connect = SoapClient(wsdl=wsdl_url)

What is the expected output? What do you see instead?

AttributeError at /feedback/
Tag not found: binding (No elements found)

What version of the product are you using? On what operating system?
PySimpleSOAP==1.10

Please provide any additional information below.
This is traceback

Traceback:
File 
"/Users/gurinov/work/west_feedback_form/python/lib/python2.7/site-packages/djang
o/core/handlers/base.py" in get_response
  115.                         response = callback(request, *callback_args, **callback_kwargs)
File "/Users/gurinov/work/west_feedback_form/repo/dev/feedback/views.py" in 
feedback
  14.             responseCRM = CRMobject.pushData()
File "/Users/gurinov/work/west_feedback_form/repo/dev/feedback/WestCRM.py" in 
pushData
  35.         connect = SoapClient(wsdl=self.wsdl_url, namespace='WestCrm')
File 
"/Users/gurinov/work/west_feedback_form/python/lib/python2.7/site-packages/pysim
plesoap/client.py" in __init__
  133.         self.services = wsdl and self.wsdl_parse(wsdl, cache=cache)
File 
"/Users/gurinov/work/west_feedback_form/python/lib/python2.7/site-packages/pysim
plesoap/client.py" in wsdl_parse
  514.         for binding in wsdl.binding:
File 
"/Users/gurinov/work/west_feedback_form/python/lib/python2.7/site-packages/pysim
plesoap/simplexml.py" in __getattr__
  374.         return self.__call__(tag)
File 
"/Users/gurinov/work/west_feedback_form/python/lib/python2.7/site-packages/pysim
plesoap/simplexml.py" in __call__
  370.             raise AttributeError("Tag not found: %s (%s)" % (tag, e))

Exception Type: AttributeError at /feedback/
Exception Value: Tag not found: binding (No elements found)

Original issue reported on code.google.com by alexande...@gmail.com on 30 Sep 2013 at 2:35

GoogleCodeExporter commented 8 years ago
The WSDL http://test.mmgroup.ru/WestCrm-Anonymous/?wsdl returns and invalid xml 
(HTTP Error 404. The requested resource is not found.)

Anyway, this error should be fixed in the latest developement version 1.12

Please download and test the latest source code from the repository until the 
release:

https://pysimplesoap.googlecode.com/archive/default.zip

Please update the issue (comment / attach) if the problem persists.

Original comment by reingart@gmail.com on 22 Jan 2014 at 4:49