Home > Backend Development > PHP Tutorial > PHP calls JAVA webservices that require certification_PHP tutorial

PHP calls JAVA webservices that require certification_PHP tutorial

WBOY
Release: 2016-07-13 17:48:13
Original
1053 people have browsed it

According to official documents, header information is generally sent, but this SOAP server does not support it. Finally, the relevant parameters are sent during new to pass the authentication
The official examples of PHP are basically the following code, 'authentication' => SOAP_AUTHENTICATION_BASIC basically lack this line
The main problem encountered this time was that the service provider did not clearly explain the specific authentication method and specific parameters, which led to a period of fussing.
Among them: login and password parameters can be customized

Help 010203040506 $soapParams = array(                                                                                                                                                                ient = new SoapClient('xxxx?wsdl', $soapParams );

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/478445.htmlTechArticleAccording to official documents, header information is generally sent, but this SOAP server does not support it. It is finally sent when new The official PHP examples that require relevant parameters to pass certification are basically the following...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template