不能向Mantis发送请求

时间:2017-11-08 15:13:36

标签: mantis

我在url my_domain / api / soap / mantisconnect.php上向mantisBT发送请求

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="wsdl-viewer.xsl" ?>

<definitions targetNamespace="http://futureware.biz/mantisconnect" xmlns="http://schemas.xmlsoap.org/wsdl/">

  <message name="mc_loginRequest">
    <part name="username" type="xsd:string">admin</part>
    <part name="password" type="xsd:string">password</part>
  </message>

</definitions>

并回复:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <SOAP-ENV:Fault>
            <faultcode>SOAP-ENV:Client</faultcode>
            <faultstring>Bad Request</faultstring>
        </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

我不知道我做错了什么

0 个答案:

没有答案