Re: SOAP in Pike?

Pontus Östlund <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
10 nov. 2016 kl. 09:57 skrev Stephen R. van den Berg <[email protected]>:
> 
> And then I stumble upon this:
> https://github.com/pikelang/Pike-Modules/tree/master/Standards.pmod/WSDL.pmod
> 
> Pontus, it seems to have been abandoned by you about six years ago.
> Was it too buggy to reuse?
> I do seem to notice that the code-footprint is pretty large.  Almost as
> unwieldy as the RFC itself ;-).

Hehe, well I think I came to the conclusion I was in too deep water. I have no idea at this moment what could and what couldn't be considered as reusable. 

> What about the parameter interface.  Anything in that code worth copying over
> to my new implementation in Pike 8.1?

Do you mean the Param class from the SOAP-helper repo? I can't find any parameter interface in the old WSDL stuff. But the Param class in SOAP-helper can handle quite complex parameters, so that one could probably be of use.

Personally I hope SOAP dies :D
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 :)

# Pontus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.