我正在使用soap webservice 从服务器获取响应。目前我正在使用soap Envelope 创建xml 请求的主体。我能够从服务器获得响应,但它返回的是 <> 而不是 <>和 >。有没有其他方法可以在不使用 swift 的soapEnvelope 或我可以根据要求进行的任何更改的情况下获得soap 响应。我不想替换/更改响应中的任何内容?
例如:
肥皂信封
<Envelope xmlns=\"http://schemas.xmlsoap.org/soap/envelope/\”><Body><executeCommand xmlns=\"http://www.test.com/ts/test\”><arg0 xmlns=\"\">{}</arg0</executeCommand></Body></Envelope>
来自服务器的响应
<return><?xml version="1.0" encoding="UTF-8"?><Output><Status>Success</Status><Result><Message>values returned successfully</Message></Result></Output></return></ns0:executeCommandResponse></S:Body></S:Envelope>