File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -95,13 +95,13 @@ buffering the STDOUT and use ``ob_get_clean()`` to dump the echoed output
95
95
into the content of the Response and clear the output buffer. Finally, you're
96
96
ready to return the ``Response ``.
97
97
98
- Below is an example calling the service using a ` NuSOAP `_ client. This example
98
+ Below is an example calling the service using a native ` SoapClient `_ client. This example
99
99
assumes that the ``index() `` method in the controller above is accessible via
100
100
the route ``/soap ``::
101
101
102
- $soapClient = new nusoap_client ('http://example.com/index.php/soap?wsdl');
102
+ $soapClient = new \SoapClient ('http://example.com/index.php/soap?wsdl');
103
103
104
- $result = $soapClient->call ('hello', ['name' => 'Scott']);
104
+ $result = $soapClient->__soapCall ('hello', ['name' => 'Scott']);
105
105
106
106
An example WSDL is below.
107
107
@@ -169,3 +169,4 @@ An example WSDL is below.
169
169
.. _`NuSOAP` : https://sourceforge.net/projects/nusoap
170
170
.. _`output buffering` : https://www.php.net/manual/en/book.outcontrol.php
171
171
.. _`Laminas SOAP` : https://docs.laminas.dev/laminas-soap/server/
172
+ .. _`SoapClient` : https://www.php.net/manual/en/class.soapclient.php
You can’t perform that action at this time.
0 commit comments