Requesting SOAP using CURL on Codieigniter 4 |
I am consuming a service using CURL. I am able to connect all the functions of the services in the form of a CXF Service List using the following code.
$client = \Config\Services::curlrequest();
Code: $response = $client->request('GET', 'www.soapservice.co.za/service'); Var Dump Returns a string with Available services
The service has 10 functions listed in this manner getDataFunction.
How do i invoke the function? Or how do i get the contents of the body and start using Service functions ?
Any help would be appreciatedI was using SoapClient on CI3 now I have moved to CI4 and the same SoapClient code that worked on CI3 does not work on CI4. Does CI4 Support SOAP? I would use soap client too as it was much easier for me. I am very new to CURL. If you have a solution i would appreciate it. The service was developed using Java and it returns CXF Service List with all Available functions. |
Messages In This Thread |
Requesting SOAP using CURL on Codieigniter 4 - by remesses_thegreat - 05-27-2020, 01:08 AM
RE: Requesting SOAP using CURL on Codieigniter 4 - by jreklund - 06-01-2020, 02:26 PM
RE: Requesting SOAP using CURL on Codieigniter 4 - by remesses_thegreat - 06-02-2020, 12:14 AM
RE: Requesting SOAP using CURL on Codieigniter 4 - by korgoth - 06-02-2020, 01:42 AM
RE: Requesting SOAP using CURL on Codieigniter 4 - by remesses_thegreat - 06-02-2020, 01:46 AM
|