Bom ! no meu caso, quando altero o F não funciona mais o Ambiente de Produção, me traz esse retorno:
<soap:Fault><soap:Code><soap:Value>soap:Sender</soap:Value></soap:Code><soap:Reason><soap:Text xml:lang="en">Unable to handle request without a valid action parameter. Please supply a valid soap action.</soap:Text></soap:Reason><soap:Detail /></soap:Fault>
e a Classe esta assim :
METHOD NFeStatus( cUF, cCertificado, cAmbiente ) CLASS SefazClass
cCertificado := iif( cCertificado == NIL, ::cCertificado, cCertificado )
cAmbiente := iif( cAmbiente == NIL, ::cAmbiente, cAmbiente )
cUF := iif( cUF == NIL, ::cUF, cUF )
::cVersaoXml := "4.00"
::cServico := "http://www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico4"
::cSoapAction := "nfeStatusServicoNF"
::cWebService := ::GetWebService( cUF, WS_NFE_STATUSSERVICO, cAmbiente, WS_PROJETO_NFE )
::cXmlDados := ''
::cXmlDados += [<consStatServ versao="] + ::cVersaoXml + [" xmlns="http://www.portalfiscal.inf.br/nfe">]
// precisava disto antes, de repente alguma UF ainda precisa
::cXmlDados += XmlTag( "tpAmb", cAmbiente )
::cXmlDados += XmlTag( "cUF", UFCodigo( cUF ) )
::cXmlDados += XmlTag( "xServ", "STATUS" )
::cXmlDados += [</consStatServ>]
::XmlSoapPost( cUF, cCertificado, WS_PROJETO_NFE )
RETURN ::cXmlRetorno
Fiquei sem entender ,kkk