View Issue Details

IDProjectCategoryView StatusLast Update
0017735mantisbtapi soappublic2014-10-18 11:52
Reportersprintas Assigned Torombert  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionduplicate 
PlatformPHP 5.4.16OSCentos OS Version7
Product Version1.2.17 
Summary0017735: mc_projects_get_user_accessible error
Description

I send a soap message into http://localhost/api/soap/mantisconnect.php
<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_projects_get_user_accessible soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<username xsi:type="xsd:string">user</username>
<password xsi:type="xsd:string">psswd</password>
</man:mc_projects_get_user_accessible>
</soapenv:Body>
</soapenv:Envelope>

and getting answer

<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">Error Type: SYSTEM NOTICE,
Error Description: Array to string conversion</faultstring>
<detail xsi:type="xsd:string"/>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Additional Information

PHP 5.4.16 (cli) (built: Sep 30 2014 09:44:39)
Copyright (c) 1997-2013 The PHP Group

TagsNo tags attached.

Relationships

duplicate of 0014871 closedrombert Add support for the built-in soap extension in addition to nusoap 

Activities

rombert

rombert

2014-10-08 10:40

reporter   ~0041461

The problem is that you're using the nusoap extension with PHP 5.4 . Please install the native soap extensions and it will be automatically picked up and the SOAP API will work as expected.