adding xmlrpc support into yaws?

Gaspar Chilingarov nm@REDACTED
Fri Dec 9 10:14:04 CET 2005

Hi there!

I wrote a small module, which provides interface for handling xmlrpc calls in
yaws pages, like this:

out(A) ->
    yaws_xmlrpc:handler(A#arg{state = #xmlhandler_state{}},
                        {?MODULE, handle_rpc}).

handle_rpc(State, {call, _ReqFunction, [_Value]}) ->
   {false, {response, [ "Hello xmlrpc world! :)" ]}}.

so handler functoin interface is the same as xmlrpc module uses.

also you should have installed xmlrpc module, because it is used for call data

Gaspar Chilingarov
System Administrator

t +37491 419763

More information about the erlang-questions mailing list