Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WSMethodInvocationInvoke failure



Web Services is not part of WebKit so this is not the correct list to ask questions about WSMethodInvocationInvoke.

The email@hidden or email@hidden seem to be the best places to ask about Web Services.

http://search.lists.apple.com/?cmd=Search!&fmt=long&form=extended&m=all&np=3&ps=10&q=WSMethodInvocationInvoke&sp=1&ul=&wf=2221&wm=wrd

You might also want to file a bug report with sample code at http://bugreport.apple.com.

— Timothy Hatcher


On Apr 1, 2006, at 11:15 AM, Neil Alexander wrote:

Hello All,

I have a cocoa app using WSMethodInvocationInvoke() to call my webservice (in PHP).

It is designed to hit the web service once a minute to basically tell the server, "I'm Here". Currently, I don't use the result dictionary, though I will want to in the future.

All works fine for exactly 248 iterations, at which time, I get a CFStreamFault -65794 error from the server.

I think there's a socket leak or something in WSMethodInvocationInvoke(), but don't know how to check. There does not appear to be any clean up routines in the Web Services that I've found, and doing a CFRelease on the WSMethodInvocationRef causes an instant crash. If I CFRetain it directly after creating, then CFRelease it at the end of the method, I get the 248 iteration problem.

If I quit the program, and restart, I get 248 iterations as usual.

Has anybody else heard of this? Is there any other Mac alternative to calling a webservice that doesn't use the WSCore? It's poorly documented, and seems buggy.

Thanks!

Neil Alexander

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden

References: 
 >WSMethodInvocationInvoke failure (From: Neil Alexander <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.