> -----Original Message----- > From: G [mailto:[EMAIL PROTECTED] > Sent: Monday, August 15, 2005 11:37 AM > To: CF-Community > Subject: Re: Attempt at a WDDX replacement... comments? > > Just out of curiosity, Jim...why is SOAP too complicated for this? We've > had > great success using SOAP to send and receive XML, and it was pretty simple > to implement.
Have you done all of the SOAP serialization and deserialization in JavaScript? This is the grindstone. I've just been having tremendous trouble finding something off the shelf to do this simply. When I do find a solution (like the MS HTC behavior) it only works with one flavor of SOAP (the MS object will work with .NET, but not CF services, for example). It also seems that each implementation defines its own data types and doesn't ever seem to like other implementations definitions. Lastly since we're controlling both the provider and the consumer we just don't self-describing services so all the complexity of WSDL and so forth is just unneeded overhead. Not that I wouldn't LIKE to have them self-describing (just to future-proof things). I spent several days trying to get purely-client-side SOAP to work happily and just ended up frustrated. I'd really like to use SOAP-based Web Services here - but I've been unable to find a decent implementation for JS that works with both CF and WebSphere services and doesn't require server-side processing. And, in the end, if I've got to build something from scratch on this budget I'd rather it be appropriate to the task at hand. > Seems like you are trying to do all the work that SOAP has already done > for > you. SOAP and several other things... ;^) The company doesn't like open-source software (there's a long, drawn out approvals process for using it which we can't afford on our timeline). I would have been willing to tempt fate on the client-side (they're not as strict there) and use an off-the-shelf SOAP library for JS but haven't found anything suitable. They also demand the use of XML. Otherwise JSON would have been a nice possibility (although I'm not sure I would have liked dealing with it's typeless nature in this case). So I AM trying to rebuild the wheel from scratch... but I'd rather not have to also rebuild rack-and-pinion steering at the same time. ;^) Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how to get a fax number that sends and receives faxes using your current email address http://www.houseoffusion.com/banners/view.cfm?bannerid=64 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:169330 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
