I hope this isn't too much off topic, but I would like to comment on
this:
> I'm aware that it's possible to use Yaws+erlsom, but it has a few
> weaknesses:
> - erlsom's install relies on sh; it doesn't install on Ubuntu without
> a bit of mucking around, and must be a challenge for Windows as well
Actually, installing erlsom on windows is quite easy: download the tar-
ball from sourceforge, unzip it and compile it (in the erlang shell:
make:all([{outdir, "../ebin"}, load]). ). Or you can get it from CEAN.
I guess that would work for Ubuntu as well.
If there is any advise on how to make erlsom easier to install I would
be interested to hear it - after all it would be a pity if the code is
not used for reasons like this.
> - setting up a Web service is a non-trivial exercise; just read
> through the relevant page (http://yaws.hyber.org/soap_intro.yaws) at
> the Yaws site
I sort of agree to this comment: it is more complex than necessary -
but it would be easy to fix this.
At this moment I am trying to contact the people who maintain erlsoap,
to see whether I can persuade them to incorporate some changes that I
made. It would be fairly straightforward to do the same for yaws, I
think. I focussed on erlsoap because it seems to be more lightweight
and easier to install.
In the proposed erlsoap version, all that you have to do to set up a
soap service is:
intsallation: install erlsoap & erlsom (from CEAN, for example)
development: create a callback module for your soap service (1 module
per WSDL). It needs to implement 1 function, called handler. This
function will be called when a SOAP service from the WSDL is called.
Its most important argument will be the body of the SOAP request,
conveniently translated to a structure of records. The handler
function should return another structure of records that corresponds
to the body of the response.
deployment: start httpd (comes with the standard distribution). In the
configuration file, make sure to start mod_soap, and for each WSDL
file include a line that links the WSDL to a URL and to the callback
module.
Does erlyweb use yaws? If so, I would be happy to help with the
creation of a similar appoach for yaws. Would it need further
integration with erlyweb?
Regards,
Willem
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---