From: Michael Neumann Date: 2001-11-09T20:44:20+09:00 Subject: [ruby-talk:24758] Re: ruby and webservices Rich Kilmer wrote: > Actually...its me. > > I've been interacting with these guys on their mail list about what Ruby supports, etc. I just left the O'Reilly P2P & Web Services conference here in Washington DC. Paul Prescod had a tutorial this afternoon for this API. I missed the first part, but was able to sit in the second half and chat with him. This API is for consuming WSDL based Web services and (not yet) serving them. That is an additional goal I have (and Paul does as well). I have some prototype code for WSDL creation, but we need the consumption stuff done first anyway. > > I was waiting for them to finish this API to begin working on it. My only issue now is which XML library to use, because its then going to be a requirement. > > 1) NQXML > 2) REXML > 3) XMLParser (expat) > > Thoughts on this? XMLRPC4R and SOAP4R (I think) use NQXML right now, but REXML did not exist then (and is moving to support much more of the needed XML standards). SOAP4R is going to be critical because its necessary for calling the SOAP methods defined by the WSDL files that are parsed using SWSAPI. > You can use both XMLRPC4R and SOAP4R either with NQXML or XMLParser. Sometimes I wish there would be a standard XML parser interface for Ruby, not neccessary DOM but a standard one. This would make life easier for writing libraries such as XMLRPC, SOAP or XSLT etc.. and the parser could be freely choosen. Of course for scripts I'd still use a non-standard but simple to use interface, such as REXML. Regards, Michael -- Michael Neumann merlin.zwo InfoDesign GmbH http://www.merlin-zwo.de