Je reçois l'erreur suivante lorsque vous essayez d'utiliser JQuery avec le plugin JqSOAPClient: http://plugins.jquery.com/project/jqSOAPClientBizarre JQuery Erreur
Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://localhost:1320/jquery-1.3.2.min.js :: anonymous :: line 19" data: no]
s'il vous plaît conseiller.
J'appelle un webservice locale en utilisant Javascript .net:
var soapBody = new SOAPObject("FindCountryAsString");
soapBody.ns = "http://localhost:1320";
soapBody.appendChild(new SOAPObject("V4IPAddress")).val(a);
var sr = new SOAPRequest("http://localhost:1320/Service1.asmx/FindCountryAsString", soapBody);
SOAPClient.SOAPServer = "http://localhost:1320/Service1.asmx/";
SOAPClient.SendRequest(sr, processResponse);
fois cette page et le .net webservice run sur le même domaine (localhost dans ce cas).
vous pourriez vouloir inclure plus de détails que cela ... semble assez vague. Ce pourrait être une restriction inter-sites ou quelque chose comme ça, mais sans plus de contexte, comment le saurions-nous? – Rich