• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
XML-RPC call fails with -916 error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XML-RPC call fails with -916 error


  • Subject: XML-RPC call fails with -916 error
  • From: Yosuke Ichikawa <email@hidden>
  • Date: Fri, 15 Feb 2002 11:24:50 +0900

Having been told that AppleScript now supports a wonderful protocol called
xml-rpc, I'm trying out some simple sample scripts. But I can't get them to
work. Can someone tell this web services newbie what might be wrong?

The two scripts I've tried are both taken directly from tutorials.

One from an Oreilly article;
http://www.oreillynet.com/lpt/a//mac/2002/02/01/applescript_macosx.html

tell application "http://time.xmlrpc.com/RPC2";
set returnValue to call xmlrpc ,
{method name:"currentTime.getCurrentTime"}
set theDate to (returnValue as date) + (3 * hours)
end tell

Another from an Apple document;
http://developer.apple.com/techpubs/macosx/Carbon/interapplicationcomm/soapX
MLRPC/chapter2/index.html

set myText to "My frstt naem is John"
tell application "http://www.stuffeddog.com/speller/speller-rpc.cgi";
set returnValue to call xmlrpc ,
{method name:"speller.spellCheck", parameters:{myText}}
end tell

In both scripts, I get a type -916 error at the call xmlrpc part.

- I do have an internet connection on 10.1.2, and have no problem viewing on
IE the sites the scripts are trying to call.
- One thing is that our LAN does not support SSL connection. Could this be
it?
- I've searched the list archives but I couldn't find the answer there.

Thanks in advance,

Yosuke Ichikawa
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: XML-RPC call fails with -916 error
      • From: Ron Bishop <email@hidden>
  • Prev by Date: Re: John Delacour (was: monthNumber)
  • Next by Date: Re: Raw Event Database
  • Previous by thread: Re: URL Access 2.3 sucks
  • Next by thread: Re: XML-RPC call fails with -916 error
  • Index(es):
    • Date
    • Thread