On Thu, Nov 12, 2009 at 12:38 AM, Eric Liang <eric.l.2046@gmail.com> wrote:
Hi all,
I've just tried soap on yaws. It looks like there is only one soap
related configuration: enable_soap, and have to use
yaws_soap_srv:setup() to setup the handler in yaws interactive shell.

Is this true? or how can I do to setup a soap server module via config
file ?

You can submit a patch. :-) I could be wrong because I don't use any SOAP features of Yaws and don't ever intend to, but the current code looks like this:

%% Setup a SOAP interface according to the config file.
setup(_ConfigFile) ->

All that's needed is to replace that tbd with whatever's required. :-)

If I were you, I'd try to avoid SOAP if possible, not because of Yaws issues like the above, but because SOAP is generally just a fairly horrible way to use HTTP.