I want to get a list of all issues on a particular project. I have started with this request:
Code: Select all
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:man="http://futureware.biz/mantisconnect">
<soapenv:Header/>
<soapenv:Body>
<man:mc_project_get_issues soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<username xsi:type="xsd:string">Scambs_Reporter</username>
<password xsi:type="xsd:string">pass</password>
<project_id xsi:type="xsd:integer">9</project_id>
<page_number xsi:type="xsd:integer">1</page_number>
<per_page xsi:type="xsd:integer">10</per_page>
</man:mc_project_get_issues>
</soapenv:Body>
</soapenv:Envelope>
Code: Select all
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode xsi:type="xsd:string">Server</faultcode>
<faultactor xsi:type="xsd:string"/>
<faultstring xsi:type="xsd:string"><![CDATA[Error Type: APPLICATION ERROR #1502,
Error Description:
Category not found.,
Stack Trace:
category_api.php L295 trigger_error(<string>'1502', <integer>256)
category_api.php L499 category_get_row(<integer>0)
category_api.php L511 category_get_field(<integer>0, <string>'name')
mc_project_api.php L38 category_get_name(<integer>0)
UnknownFile L? mc_project_get_issues(<string>'Scambs_Reporter', <string>'pass', <integer>9, <integer>1, <integer>10)
nusoap.php L3997 call_user_func_array(<string>'mc_project_get_issues', <Array> { [0] => 'Scambs_Reporter', [1] => 'pass', [2] => 9, [3] => 1, [4] => 10 })
nusoap.php L3686 invoke_method()
mantisconnect.php L1390 service(<string>'<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:man="http://futureware.biz/mantisconnect">
<soapenv:Header/>
<soapenv:Body>
<man:mc_project_get_issues soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<username xsi:type="xsd:string">Scambs_Reporter</username>
<password xsi:type="xsd:string">pass</password>
<project_id xsi:type="xsd:integer">9</project_id>
<page_number xsi:type="xsd:integer">1</page_number>
<per_page xsi:type="xsd:integer">10</per_page>
</man:mc_project_get_issues>
</soapenv:Body>
</soapenv:Envelope>')]]></faultstring>
<detail xsi:type="xsd:string"/>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Code: Select all
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:man="http://futureware.biz/mantisconnect">
<soapenv:Header/>
<soapenv:Body>
<man:mc_issue_get soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<username xsi:type="xsd:string">Scambs_Reporter</username>
<password xsi:type="xsd:string">pass</password>
<issue_id xsi:type="xsd:integer">3911</issue_id>
</man:mc_issue_get>
</soapenv:Body>
</soapenv:Envelope>
Code: Select all
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode xsi:type="xsd:string">Server</faultcode>
<faultactor xsi:type="xsd:string"/>
<faultstring xsi:type="xsd:string"><![CDATA[Error Type: APPLICATION ERROR #1502,
Error Description:
Category not found.,
Stack Trace:
category_api.php L295 trigger_error(<string>'1502', <integer>256)
category_api.php L499 category_get_row(<integer>0)
category_api.php L511 category_get_field(<integer>0, <string>'name')
mc_issue_api.php L71 category_get_name(<integer>0)
UnknownFile L? mc_issue_get(<string>'Scambs_Reporter', <string>'pass', <integer>3911)
nusoap.php L3997 call_user_func_array(<string>'mc_issue_get', <Array> { [0] => 'Scambs_Reporter', [1] => 'pass', [2] => 3911 })
nusoap.php L3686 invoke_method()
mantisconnect.php L1390 service(<string>'<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:man="http://futureware.biz/mantisconnect">
<soapenv:Header/>
<soapenv:Body>
<man:mc_issue_get soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<username xsi:type="xsd:string">Scambs_Reporter</username>
<password xsi:type="xsd:string">pass</password>
<issue_id xsi:type="xsd:integer">3911</issue_id>
</man:mc_issue_get>
</soapenv:Body>
</soapenv:Envelope>')]]></faultstring>
<detail xsi:type="xsd:string"/>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Any assistance anyone can provide is very much appreciated!