Note that there are some explanatory texts on larger screens.

plurals
  1. POSuds + JIRA = SAXException
    primarykey
    data
    text
    <p>I'm using Python 2.6 and suds 0.3.7 to interact with JIRA 4.0.</p> <p>When I connect to the JIRA server, I get information on all the issues just fine.</p> <p>However, when I want to update an issue, I get a SAXException from suds (presumably):</p> <blockquote> <p>WebFault: Server raised fault: org.xml.sax.SAXException: Found character data inside an array element while deserializing</p> </blockquote> <p>I'm following the steps described here: <a href="http://confluence.atlassian.com/display/JIRA/Creating+a+SOAP+Client" rel="nofollow noreferrer">http://confluence.atlassian.com/display/JIRA/Creating+a+SOAP+Client</a></p> <p>only replacing SOAPpy calls with suds. </p> <p>My attempt to update an issue looks like this, complete with exceptions:</p> <pre><code> &gt;&gt;&gt; w="http://bugs/rpc/soap/jirasoapservice-v2?wsdl" &gt;&gt;&gt; from suds.client import Client &gt;&gt;&gt; client = Client(w) &gt;&gt;&gt; auth = client.service.login("myname","mypass") &gt;&gt;&gt; issue = client.service.getIssue(auth,"BUG-30112") &gt;&gt;&gt; issue.summary This is the original summary for BUG-30112 &gt;&gt;&gt; &gt;&gt;&gt; client.service.updateIssue(auth,"BUG-30112",[ ... {"id":"summary","values":["My new summary"]}]) Traceback (most recent call last): File "&lt;interactive input&gt;", line 2, in &lt;module&gt; File "C:\Python26\lib\suds\client.py", line 535, in __call__ return client.invoke(args, kwargs) File "C:\Python26\lib\suds\client.py", line 595, in invoke result = self.send(msg) File "C:\Python26\lib\suds\client.py", line 630, in send result = self.failed(binding, e) File "C:\Python26\lib\suds\client.py", line 681, in failed r, p = binding.get_fault(reply) File "C:\Python26\lib\suds\bindings\binding.py", line 235, in get_fault raise WebFault(p, faultroot) WebFault: Server raised fault: 'org.xml.sax.SAXException: Found character data inside an array element while deserializing' &gt;&gt;&gt; </code></pre> <p>Has anyone seen a problem like this?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload