I have this problem trying to consume a webservice wsdl
:
The code in php
I am doing to consume the web service is as follows:
$wsdlURL = 'https://e-factura.sunat.gob.pe/ol-ti-itcpfegem/billService?wsdl'; $client = new SoapClient($wsdlURL, array('trace' => true)); print_r($client);
This is the error:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: 'BillServicePortBinding' already defined in C: \ xampp \ htdocs \ invoicePHP \ xmlFactura.php: 45 Stack trace
How can I solve it?