I'm having the following problem to perform invoice issue:
Unable to handle request. The action 'https://nfe.prefeitura.sp.gov.br/ws/lotenfe.asmx?WSDL' was not recognized.
This is my submission XML:
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<TesteEnvioLoteRPS xmlns="http://www.prefeitura.sp.gov.br/nfe">
<MensagemXML>...</MensagemXML>
</TesteEnvioLoteRPS>
</soap:Body>
</soap:Envelope>
And these are my CURL settings
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $params['CURLOPT_URL']);
curl_setopt($ch, CURLOPT_PORT , 443);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_SSLCERT, $params['CURLOPT_SSLCERT']);
curl_setopt($ch, CURLOPT_SSLKEY, $params['CURLOPT_SSLKEY']);
curl_setopt($ch, CURLOPT_SSLCERTPASSWD, $params['CURLOPT_SSLCERTPASSWD']);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $params['CURLOPT_POSTFIELDS']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, $params['CURLOPT_HTTPHEADER']);
$output = curl_exec($ch);
Any ideas?