Best way to use XML-RPC in Cocoa application?

后端 未结 4 479
青春惊慌失措
青春惊慌失措 2021-01-04 08:50

I wanted to write a GUI-wrapper for an application which uses XML-RPC and wondered if there are any XML-RPC frameworks available for Cocoa and if so what\'s the best?

<
4条回答
  •  既然无缘
    2021-01-04 08:54

    The framework Denton alludes to is Apple's Web Services Core which claims to support XML-RPC and SOAP. I've personally tried to use it for SOAP and found the support incredibly lacking (to the point that I ended up rolling my own via CFHTTPRequest and libxml2). Various mailing lists lead me to believe that it might work a bit better for XML-RPC.

    Note that this API was first included in 10.2 (Jaguar) and I'm pretty sure it hasn't been touched since then. The documentation also contains numerous omissions and errors that have never been corrected. And it's a Carbon API, so you won't get all of the fun Objective-C goodness that we've all come to know and love.

    That being said, it's provided by the OS so you don't have to worry about shipping and linking against third party libraries. So it's not a bad place to start.

提交回复
热议问题