10.3.7 and call xmlrpc
10.3.7 and call xmlrpc
- Subject: 10.3.7 and call xmlrpc
- From: Matt Deatherage <email@hidden>
- Date: Sat, 18 Dec 2004 14:37:02 -0600
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