Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 TouchJson 进行 SOAP 调用?它与 REST 调用配合得很好。
您在这里缺少一些基础知识。SOAP 是基于 XML 的。JSON 是一种更紧凑的 XML 替代标记。进行“REST 调用”仅仅意味着您正在请求资源。如果资源以 JSON 格式返回,则使用 TouchJSON 对您有效是有意义的。但是,如果您调用 SOAP Web 服务,它不会返回 JSON,而是需要使用 SOAP 库将其转换为对象的 XML。
最好的祝福。