Re: SOAP in Pike?
Lance Dillon <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
Yes, I wrote a couple of modules that used xmlrpc, one to interface with Red Hat Satellite Server 5 (and Spacewalk 5), and another to work with Nessus. It was kind of a hassle to work with the xmlrpc stuff, and Nessus was a weird combination of xmlrpc and maybe post or something, I had to do some weird stuff to get it working. Unfortunately I can't find my nessus module. I'll have to dig around my code.
On Friday, November 11, 2016 10:49 AM, Chris Angelico <[email protected]> wrote:
On Sat, Nov 12, 2016 at 2:12 AM, Pontus Östlund <[email protected]> wrote:
> SOAP is awesome if you are programming in Java or C# where there are tools to auto-generate entire API's for you from the WSDL files. But if you don't have that luxury it's just overly verbose and complex. I prefer REST API's with JSON :)
>
No kidding!
The last time I had to deal with an XML-based API, I put together a
little parser that turned it all into a load of
mappings/arrays/strings, just to give myself half a chance of writing
mildly readable code (because, of course, the info I wanted was about
fifty levels deep in the structure, too). Was a gross pile of steaming
excrement, though, and not something that belongs in the stdlib.
ChrisA