• 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
Re: 10.3.7 and call xmlrpc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.3.7 and call xmlrpc


  • Subject: Re: 10.3.7 and call xmlrpc
  • From: Jens Eliasson <email@hidden>
  • Date: Sat, 18 Dec 2004 23:54:08 +0100

Matt et all,
I have a script that I use intensively during a current development project that is doing SOAP calls via WebServicesCore. I haven't noticed any changes in behaviour since the 10.3.7 upgrade. It works fine every time and sometimes that is 10 - 20 times within a couple of minutes.


We have another problem. We have this AppleScript and also a Cocoa/ObjC application that do SOAP calls to the same host service. Normally it works fine, but now two of us have experienced problems when we have connected to the internet via modem. We haven't looked in to it further, so this is just a question if someone on the list has seen the same and possibly has an answer?

/ Jens

2004-12-18 kl. 21.37 skrev Matt Deatherage:

Has anyone else noticed any problems with call xmlrpc after updating to Mac OS X 10.3.7? I have an important script using this method, but after it runs 2-3 times, it won't work again for several hours.

The call xmlrpc method returns "Transfer error," and Script Debugger says it's error -916, the PPC Toolbox's "port closed" error. I've looked at a network dump and it appears that the system is correctly sending the request and getting a correct response, but AppleScript doesn't recognize it except occasionally.

I'm wondering, because call xmlrpc is processed through the WebServicesCore framework. That's part of Core Services, and the CoreServices framework is one of those few things that changed in 10.3.7 without any obvious reason mentioned in the release notes.

Also, diving into the directory "/System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/WebServicesCore.framework/Versions/A/" and replacing WebServicesCore with WebServicesCore_debug seems to solve the problem, at least so far. (WebServicesCore itself was not updated in 10.3.7, but I know debug versions are not always as up-to-date as the non-debug versions.)

(To try this yourself, use Terminal to:

cd /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore

sudo mv WebServicesCore WebServicesCore_real
sudo cp WebServicesCore_debug WebServicesCore

To undo it, "cd" to the same directory and:

sudo mv WebServicesCore ~/.Trash
sudo cp WebServicesCore_real WebServicesCore

Note that changes won't affect already-running applications.)

Thanks for any information or experiences you may have.

--Matt

--
Matt Deatherage <email@hidden> <http://www.macjournals.com>
I read this list in digest mode; copy me privately for faster responses

_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >10.3.7 and call xmlrpc (From: Matt Deatherage <email@hidden>)

  • Prev by Date: Re: Play Sound
  • Next by Date: Re: Set File Creation date
  • Previous by thread: 10.3.7 and call xmlrpc
  • Next by thread: changing international text to unicode text
  • Index(es):
    • Date
    • Thread