2009年2月4日星期三

Re: [fw-webservices] Problem with Zend_XmlRpc_Client

There were two specific things I wanted to do I found difficult with
Zend_REST and Zend_XmlRPpc:

I wanted to secure the set method by having clients pass authentication
credientials with each call or have a login call that returned a session id
and have subsequent calls pass id. Acl would be perfect for this, but didn't
see any easy way to use it with either REST or XmlRpc.

One set call where the body of the POST was an existing XML format dictated
by an existing client. In the wee hours of the morning, couldn't figure out
how to get REST or Xml Rpc to accept a XML post body from a client.

Finally, had some Action control helpers for handling MySQL access and
Logging that I just found easier to access using standard Controller
behavior.

If you have an example of REST or XmlRpc client and server that has
authenticated set call with a large JSON or XML data parameter from client,
I should would appreciate seeing it.

Thanks in advance.

- Steve W.


Matthew Weier O'Phinney-3 wrote:
>
> -- swilhelm <steve@studio831.com> wrote
> (on Saturday, 31 January 2009, 10:37 PM -0800):
>> I just spent several frustrating hours trying to set up a Web service
>> using
>> first Zend_REST_Server and then Zend_XmlRpc_Server. Both turned out to be
>> to
>> limiting.
>
> Could you explain what you found limiting in the XML-RPC implementation?
> I'd be curious to what your issues may have been, and what improvements
> we might be able to make.
>
>> Eventually, I took Matthew O'Phinney's advice from
>> http://www.nabble.com/Our-REST-implementation-td10834932s16154.html this
>> discussion and used the standard MVC mechanisms and had the views
>> returned
>> well formatted XML data (I do eventually intend to leverage ContextSwitch
>> capability).
>>
>> - Steve W.
>>
>>
>> anz_nabble wrote:
>> >
>> > Can anyone explain how to develop a simple webservice using xml rpc.
>> > I had done many searches and didn't find a useful one. I need to know
>> > which files are placed in which locations
>> >
>> > Any good tutorial?
>
> --
> Matthew Weier O'Phinney
> Software Architect | matthew@zend.com
> Zend Framework | http://framework.zend.com/
>
>

--
View this message in context: http://www.nabble.com/Problem-with-Zend_XmlRpc_Client-tp21598685p21835239.html
Sent from the Zend Web Services mailing list archive at Nabble.com.

没有评论: