我有使用java编写的Web服务及其返回条目类型
当我打电话给$OutResult = $client->__getFunctions();
时,回复
Array ( [0] => PPMAccesibilityResult getPPMAccesibility(EmployeeDetails $parameters) [1] => ProjectProgressResult getProjectProgressStatusForEmployee(EmployeeYearDetails $parameters) [2] => ProjectCountForLocationResult getProjectCountForLocation(LocationYearDetails $parameters) [3] => CircularSummaryInfo getCircularSummaryInfo(DeptYearDetails $parameters) [4] => BeneficiaryProjectDetailsResult getProjectDetailsOfBeneficiary(BeneficiaryDetails $parameters) ) 1
当我致电$OutResult = $client->__getTypes();
时,它将返回
Array ( [0] => struct EmployeeDetails { string employeeId; } [1] => struct EmployeeYearDetails { string employeeId; string financialYear; } [2] => struct PPMWebServiceException { string message; } [3] => struct PPMAccesibilityResult { string response; } [4] => struct ProjectProgressResult { ImplementationProject projectList; } [5] => struct ImplementationProject { string charterCode; string title; string titleSinhala; string titleTamil; string completionPercentage; string deptId; string financialYear; } [6] => struct LocationYearDetails { string locationId; string financialYear; } [7] => struct ProjectCountForLocationResult { ImplementationProjectCount projectCountList; } [8] => struct ImplementationProjectCount { string programId; string programName; string programNameSinhala; string programNameTamil; string impProjectCount; } [9] => struct DeptYearDetails { string deptId; string financialYear; } [10] => struct CircularSummaryInfo { string circularId; string circularName; string introduction; string objective; string goal; string projectExecution; string projectTimeline; string contactDetails; string proposalApprovalCriteria; ProjectDetails projectList; } [11] => struct ProjectDetails { string projectId; string projectName; string indicatorName; } [12] => struct BeneficiaryDetails { string beneficiaryId; string financialYear; } [13] => struct BeneficiaryProjectDetailsResult { ImplementationProject projectList; } ) 1
现在尝试使用此$OutResult =$client->getPPMAccesibility("6");
进行调用时,其获取错误无法找到主机,但我的网络服务正常运行
如何使用php正确调用此Web服务请帮助