我是使用 WSDL 的新手。我以前使用过 REST,但不是这个。我正在尝试运行 UPS 开发人员站点中包含的示例代码文件。本指南的第 23 页是我正在使用的 API。您可以下载的文件包括我仔细阅读过的十个指南,但我只是想弄清楚如何填写下面的顶部配置部分(我使用的是 php 示例代码文件 SoapRateClient.php)。我为 WSDL 放了什么?我为端点网址放了什么?您在他们的网站上下载的文件有几个 wsdl 文件,我不确定应该选择哪一个。指导表示赞赏。
<?php
//Configuration
$access = "secret";//I have this no problem
$userid = "";//I have this as well
$passwd = "";//I have this
$wsdl = " Add Wsdl File Here ";//What the heck do I put here!?
$operation = "ProcessRate";
$endpointurl = ' Add URL Here';//Also what do I put here?
$outputFileName = "XOLTResult.xml";