At 11:10 AM 7/23/2001 -0600, Liaw, Wan-Bih wrote:
>I kept getting status code 500, i.e. server side error, when I did something like the
>followings. Can someone help? TIA.
>
> this._xmlHttp = new ActiveXObject("microsoft.xmlhttp");
> this._serviceUrl =
>"<http://c004266a/soap/rpcrouter>http://c004266a/soap/rpcrouter";
> this._xmlHttp.Open("POST",this._serviceUrl , false);
> this._xmlHttp.setRequestHeader("Content-Type", "text/xml; charset=\"utf-8\"
> ");
> this._xmlHttp.Send(SOAPRequest);
>
>alert("http status code="+this._xmlHttp.status);
I compared with one of mine, which works fine...
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.Open("POST", "http://192.168.80.66:8080/soap/servlet/rpcrouter", false);
xmlhttp.setRequestHeader("SOAPAction", "''")
xmlhttp.setRequestHeader("Content-Type", "text/xml; charset=iso-8859-1")
xmlhttp.Send(SOAPRequest.xml);
There are trivial differences, but I'm not sure any of them are likely to be
causing the problem, so you may have to look at your actual sending and the
actual return via TcpTunnelGui.
Tom Myers