Warning: Function registration failed - duplicate name - xslt_create in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_sax_handlers in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_scheme_handlers in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_error_handler in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_base in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_encoding in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_log in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_process in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_error in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_errno in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_free in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_object in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_setopt in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_getopt in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_backend_version in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_backend_name in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_backend_info in /home/avernet/public_html/misc/controller.php on line 2

Warning: xslt: Unable to register functions, unable to load in Unknown on line 0
Yahoo! Instant Messenging Web Service

Yahoo! Instant Messenging
Web Service

Alessandro Vernet
Last Modified: May 25, 2003

Updates

  • 6 Sep 2002 - The service used to return a fault message, even though the IM was sent correctly. This is fixed now. Thanks to Ron Lue-Sang who reported this issue.

FAQ

  • What is this about?
    This page documents a Web service that can be used to send Yahoo instant messages.
  • What is a Web service?
    Web services are software components that that can be called using well defined, simple and cross-platform protocol. See the XMethods Web site to learn more about Web services.
  • Where is the WSDL for this service?
    http://www.scdi.org/~avernet/webservice/yim.wsdl
  • What if my tool doesn't support WSDL?
    You can call this service using directly the SOAP API available in your favorite language. You just need to know that the endpoint is http://www.scdi.org/~avernet/webservice/, the operation name is sendYIM, its namespace is urn:avernet and its argument names are to (who the message is sent to) and body (the text of the message).
  • What if my question isn't covered on this page?
    Please contact me by email at avernet@scdi.org.

Statistics

  • Total number of instant messages sent since August 2002: 154,782
  • This statistics is updated every day. Last update: Wed Dec 20 11:40:07 PST 2006

Sample Code

  • Here is an example written in PHP using the standard PEAR::SOAP library:
            require_once("SOAP/Client.php");
            $soapclient = new SOAP_Client
            ("http://localhost/~avernet/webservice/");
            $soapclient->call("sendYIM",
            array("to" => "someone", "body" => "Hey, there!"),
            "urn:avernet");
  • If you are using AST.NET, see this this article over at dotnetjunkies.com. It explains how to call a Web service by first generating a proxy class with the wsdl.exe tool.

Restrictions

You cannot use this service for commercial purposes. You cannot use this service for reasons other than experimenting. This service is available for free to anyone, please help us keep it this way by not abusing it.

To prevent any abuse and to play fair with the Yahoo servers, we are send a maximum of one message every 10 seconds. Also, any single client cannot send more than 100 messages every day. If you want you want to use this service for commercial reasons and/or you would like some of there restrictions to be waived, please just contact me at avernet@scdi.org.

Try it out

You can fill out and submit the form below to test this Web service.

Send Message
To:
Message: