Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  SOAP (and PAM?) not started

vance
Posted: Mon Jun 16, 2008 10:39 pm Reply with quote
User Joined: 27 Apr 2005 Posts: 129 Location: Toronto, Ontario, Canada
I'm starting yaws as part of an embedded system using OTP, which
works fine, however now I need to enable SOAP. If I were using
yaws:start_embedded/3 I would pass {enable_soap,true} and
yaws_soap_srv would get started. I'd like to be able to start
yaws from the application controller normally and have yaws_soap_srv
get started.

It seems to me that what should be done is to move the call to
yaws_config:add_yaws_soap_srv/1 from yaws:start_embedded/4 to
yaws_sup:init/1. And while we're at it yaws_config:add_yaws_auth/1
too. I would make enable_soap an application environment variable.

Does this seem correct?


-Vance

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
View user's profile Send private message Send e-mail
Guest
Posted: Tue Jun 17, 2008 7:42 am Reply with quote
Guest
Vance Shipley wrote:
> I'm starting yaws as part of an embedded system using OTP, which
> works fine, however now I need to enable SOAP. If I were using
> yaws:start_embedded/3 I would pass {enable_soap,true} and
> yaws_soap_srv would get started. I'd like to be able to start
> yaws from the application controller normally and have yaws_soap_srv
> get started.
>
> It seems to me that what should be done is to move the call to
> yaws_config:add_yaws_soap_srv/1 from yaws:start_embedded/4 to
> yaws_sup:init/1. And while we're at it yaws_config:add_yaws_auth/1
> too. I would make enable_soap an application environment variable.
>


I seem to recall there were some discussions on SOAP
and embedded startup here on the list just a couple of
weeks ago. ????


/klacke

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum