ileandros Posted February 9, 2013 Posted February 9, 2013 Hello, As the tittle says i am trying to get access to the responseXML of a url. ConsoleWrite returns nothing. As i read at the msdn site to get access to the responseXML i have to set the responseType = "msxml-document" but i got an error because responseType doesn't seem to return nothing at all. Anyone knows how to get responseXML of url? $xml = ObjCreate("Microsoft.XMLHTTP") $xml.Open("GET", $url, 0) $xml.Send $xml.responseXML ConsoleWrite($xml.responseXML) ConsoleWrite($xml.responseXML.xml) I feel nothing.It feels great.
EndFunc Posted February 9, 2013 Posted February 9, 2013 I recommend using an autoit udf. WinHttp. It works great for my application. I'm able to call a php URL and get the response(echo) from PHP. So an ajax/or responseXML should work. It's not hard to use. Refer to this post for more info and the UDF link is below too. http://code.google.com/p/autoit-winhttp/downloads/list EndFuncAutoIt is the shiznit. I love it.
ileandros Posted February 9, 2013 Author Posted February 9, 2013 Thanks but i already have that udf. I prefere doing it my self than using that udf, no offence to that udf of course. It is great but doing it my self i can modify it easier. I have managed making most of those functions in that udf. My problem is that i would like to know why doesn't it returns me an response. Just for educative reasons Anyway, i will find my way out. Thanks a lot I feel nothing.It feels great.
FireFox Posted February 9, 2013 Posted February 9, 2013 Hi, Why do you want the response to be in XML format ? $xml.responseText ;text $xml.responseXML ;object type, I don't know the sub classes. Br, FireFox.
ileandros Posted February 10, 2013 Author Posted February 10, 2013 Hi, Why do you want the response to be in XML format ? $xml.responseText ;text $xml.responseXML ;object type, I don't know the sub classes. Br, FireFox. because i want to pass it in an other object which aquiers XML format. Anyway thanks already found it. I feel nothing.It feels great.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now