Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用php调用javaweb服务_Php_Web Services_Soap_Wsdl - Fatal编程技术网

如何使用php调用javaweb服务

如何使用php调用javaweb服务,php,web-services,soap,wsdl,Php,Web Services,Soap,Wsdl,我有一个使用java及其返回strct类型编写的web服务 当我调用$OutResult=$client->\uu getFunctions;随之而来的是它的回归 Array ( [0] => PPMAccesibilityResult getPPMAccesibility(EmployeeDetails $parameters) [1] => ProjectProgressResult getProjectProgressStatusForEmployee(EmployeeYear

我有一个使用java及其返回strct类型编写的web服务

当我调用$OutResult=$client->\uu 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
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->\uuu getTypes;它将随后返回

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
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->getppmaccessibility6;它的获取错误找不到主机,但我的web服务工作正常


如何使用php正确调用此web服务请帮助检查您的web服务是否与此链接一起工作


我想您已经检查了函数名,因此它是$client->getPPMAccesibility6;而不是$client->u getPPMAccesibility6,不是吗?