[Catalyst] Soaping up Catalyst

Christopher H. Laco claco at chrislaco.com
Thu Aug 18 21:13:18 CEST 2005


Sebastian Riedel wrote:
> 
> Am 18.08.2005 um 19:33 schrieb Matt S Trout:
> 
>> On Thu, Aug 18, 2005 at 07:21:09PM +0200, Sebastian Riedel wrote:
>>
>>>> Right, you should probably make the SOAP plugin handle SOAP
>>>> attributes.
>>>>
>>>
>>> I disagree, the XMLRPC plugin redispatches to a single class, so just
>>> have two different controllers for soap and xmlrpc and it's all  
>>> save. :)
>>>
>>
>> Actually, with a bit of playing shouldn't it be possible to have one
>> controller that will accept methods over SOAP *and* XMLRPC  depending 
>> on the
>> endpoint used?
> 
> 
> They don't share that much common code, so i guess it would be nicer  to 
> have two plugins.
> Wonder if anyone's intersted enough in SOAP support to implement it,  
> cause it's going to be a PITA. ;)
> 

True. XMLRCP aint that hot either when you're into serializing objects.
All in all, RESTful would be the easiest in Catalyst. It's already most 
of the way there. You woul djust need a custom view to serialize objects 
into XML.

-=Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20050818/deb89ec0/smime.bin


More information about the Catalyst mailing list