What does suds mean by "<faultcode/> not mapped to message part" ?

Posted by Pratik Patel on Stack Overflow See other posts from Stack Overflow or by Pratik Patel
Published on 2010-06-03T03:10:54Z Indexed on 2010/06/03 3:14 UTC
Read the original article Hit count: 679

Filed under:
|

I'm using suds for the first time and trying to communicate with a server hosted by an external company. When I call a method on the server I get this XML back.




  
    
      soap:Server

      Can't use string ("") as an ARRAY ref while "strict refs" in use at /vindicia/site_perl/Vindicia/Soap/DocLitUtils.pm line 130.

    
  


The exception thrown is this:


  File "C:\Python26\lib\site-packages\suds-0.4-py2.6.egg\suds\client.py", line 538, in __call__
    return client.invoke(args, kwargs)
  File "C:\Python26\lib\site-packages\suds-0.4-py2.6.egg\suds\client.py", line 602, in invoke
    result = self.send(msg)
  File "C:\Python26\lib\site-packages\suds-0.4-py2.6.egg\suds\client.py", line 634, in send
    result = self.succeeded(binding, reply.message)
  File "C:\Python26\lib\site-packages\suds-0.4-py2.6.egg\suds\client.py", line 669, in succeeded
    r, p = binding.get_reply(self.method, reply)
  File "C:\Python26\lib\site-packages\suds-0.4-py2.6.egg\suds\bindings\binding.py", line 157, in get_reply
    result = self.replycomposite(rtypes, nodes)
  File "C:\Python26\lib\site-packages\suds-0.4-py2.6.egg\suds\bindings\binding.py", line 227, in replycomposite
    raise Exception(' not mapped to message part' % tag)
Exception:  not mapped to message part

Any idea why suds is throwing the exception? Any thoughts on how it could be fixed?

© Stack Overflow or respective owner

Related posts about python

Related posts about suds