View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0012977||mantisbt||api soap||public||2011-05-04 04:10||2018-05-20 06:56|
|Summary||0012977: When webservice throw an exception, the "faultstring" element doesn't have a valid namespace.|
When the webservice throw an error (wrong login by exemple, or bad value type in a customfield, etc.) the webservice send a malformed XML message.
An element "faultstring" has namespace "".
It looks like the way mantisconnect throw exceptions isn't compatible with .NET.
Here is the MantisConnect response when an exception is thrown :
<?xml version="1.0" encoding="UTF-8" ?>
Here is a standard .NET execption response :
<?xml version="1.0" encoding="utf-8" ?>
|Tags||No tags attached.|
I am having a hard time reproducing this since both Java and PHP implementations work just fine. Please provide a sample implementation in C# ( preferrably running under Mono ) which fails. It can be whichever is most convenient for you, e.g. a minimal SQL dump of the database and a SOAP invocation.
You can use the small application sample I uploaded on the ticket 0012971
Unassigned after a long time of inactivity.