What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Web Services?

Web Services?
Author: Message:
fmonroy
Junior Member
**


Posts: 19
Joined: Jul 2006
O.P. Web Services?
Hello group, is there a way to access XML Web Services within a script?

Tnx in advance.


FM
09-07-2007 01:20 AM
Profile E-Mail PM Find Quote Report
win_crook
Junior Member
**


Posts: 63
Reputation: 2
31 / Male / Flag
Joined: Apr 2007
RE: Web Services?
If you mean commands like open and send which ajax uses, here is some code I have taken straight from one of my unreleased projects... so it will need to some modifications for your needs.

code:
   
var ajax = new ActiveXObject("Microsoft.XMLHTTP");
ajax.open("POST", "http://127.0.0.1/testing-release/post.php", true);
ajax.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
encodeduser = encodeURIComponent(ReadRegistry("user"));
encodedpassword = encodeURIComponent(ReadRegistry("md5"));
ajax.send("title="+title+"&artist="+artist+"&user="+encodeduser+"&password="+encodedpassword);


Good Luck (y),
David
09-07-2007 03:43 PM
Profile PM Find Quote Report
fmonroy
Junior Member
**


Posts: 19
Joined: Jul 2006
O.P. RE: Web Services?
Thanks David, I think this will help me a lot.
09-07-2007 04:44 PM
Profile E-Mail PM Find Quote Report
fmonroy
Junior Member
**


Posts: 19
Joined: Jul 2006
O.P. RE: Web Services?
Great, it's working, do you know a way to parse XML?
09-08-2007 12:44 AM
Profile E-Mail PM Find Quote Report
fmonroy
Junior Member
**


Posts: 19
Joined: Jul 2006
O.P. RE: Web Services?
got it: ajax.responseXML.selectSingleNode("string").text

Tnx
09-08-2007 01:05 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On