我在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>
我不知道我做错了什么