如题,接口地址中如果包含-,提示错误好下:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Error reading XMLStreamReader: Unexpected character '-' (code 45) in prolog; expected '<'
at [row,col {unknown-source}]: [1,1]</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
看下控制台,实际发送过去的URL是什么