Hi!:
I had an error, CLRInterop in Ax 2,009 calling a C# class.
Now, I don't have the issue in Ax.
But, in the C# class, I get this message calling the send method
(user, password and class with document).
public class Send { public String returnValue;
public String SendDocument(String _User, String _Password, DocumentoElectronico documentoElectronico) { System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls; AXV5ElectronicInvoice.WebService.Service service = new Service(); System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls; try { EnviarResponse enviarResponse = new EnviarResponse(); var responseCode = service.Enviar(_User, _Password, documentoElectronico); returnValue = responseCode.ToString(); return returnValue; } catch(Exception ex) { returnValue = ex.Message; return returnValue; } } }
What can be wrong?. The site only ask for user, password and class instance.