Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSXML2.XMLHTTP Error 500
Message
From
21/01/2014 10:23:05
 
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01592218
Message ID:
01592219
Views:
40
HTTP 500 is an internal server error. So, it may not be you.

>Hello, I'm running this code:
>
>loHttp = CREATEOBJECT('MSXML2.XMLHTTP')
>m.URL = "https://celcer.sri.gob.ec/comprobantes-electronicos-ws/RecepcionComprobantes?wsdl"
>loHttp.Open("POST",m.URL,.F.)
>loHttp.Send(ALLTRIM(FILETOSTR("factura.xml")))
>
>but after the SEND command I get loHTTP.status = 500
>with the following response text
>
>soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>soap:Body> soap:Fault>
>faultcode>soap:VersionMismatch faultcode>
>faultstring>No namespace on "factura" element. You must send a SOAP request. faultstring>
>soap:Fault> soap:Body>
>soap:Envelope>
>
>the file factura XML that I'm sending does match the structure required by the web service, so I don't know whay I'm doing wrong.
>Thank you for any help.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform