php - PHP 中的 SOAP Web 服务 API
问题描述
我正在尝试使用 PHP 中的 Web 服务询问 SOAP API:
Web 服务仅列出可用的数据集以及这些数据集包含的字段。Web 服务不接受任何参数,但需要身份验证。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v0="http://www.weatherservice.com/service/infrastructure/search/v0-1">;
<soapenv:Header>
<v0:HeaderLogin>
<username>johnsmith</username>
<password>secretpassword</password>
</v0:HeaderLogin>
</soapenv:Header>
<soapenv:Body>
<v0:listdatasets/>
</soapenv:Body>
</soapenv:Envelope>
我不知道从哪里开始 tbh,任何帮助将不胜感激。
解决方案
推荐阅读
- python-3.x - 通过用户输入 tkinter 编辑当前表值
- python - Conda 安装命令失败
- ruby-on-rails - 用缺失值填充哈希数组
- python - 查询权重在余弦相似度中的意义
- wordpress - 限制由主题/插件创建的图像大小
- angular - Angular If 语句 - 检查路线
- opengl - 如何避免在片段着色器中写入颜色附件
- javascript - 通过 onclick .js更改
- reactjs - DetailsList - Office UI Fabric - 如何在单击该行的按钮时突出显示该行?
- timer - 让进度条在我指定的时间段内运行