<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>
Yea, Commanche seems to be a lot like Apache in that you can say certain URLs actually get forwarded to some module. Just without all the nasty configuration. :)<br><br>> Date: Tue, 19 Jun 2007 17:05:47 +0900<br>> From: chunsj@embian.com<br>> To: squeak-dev@lists.squeakfoundation.org<br>> Subject: Re: [Q] Adding SOAP as module of KomHttpService(like Seaside)<br>> <br>> -----BEGIN PGP SIGNED MESSAGE-----<br>> Hash: SHA1<br>> <br>> This is what I've done after reading umezawa's mail. Like this,<br>> <br>> start<br>>         "self start"<br>>         "Start a new server on port NXDefaultPort serving both static content<br>> and seaside apps"<br>>         | ma seaside soap |<br>>         seaside _ WAKomEncoded default.<br>>         soap _ SoapHttpModule new.<br>>         ma _ ModuleAssembly core.<br>>         ma serverRoot: (FileDirectory default directoryNamed: 'Documents')<br>> fullName.<br>>         ma alias: '/seaside' to: [ma addPlug: [:request | seaside process:<br>> request]].<br>>         ma alias: '/soap' to: [ma addPlug: [:request | soap process: request]].<br>>         ma documentRoot: (FileDirectory default directoryNamed: 'Documents')<br>> fullName.<br>>         ma directoryIndex: 'index.html index.htm'.<br>>         ma serveFiles.<br>>         (HttpService startOn: self defaultPort named: 'WebService') plug: ma<br>> rootModule.<br>> <br>> And it seems working. :-)<br>> <br>> <br>> J J wrote:<br>> > (Taken and modified from<br>> > http://www.shaffer-consulting.com/david/Seaside/GettingSoftware/index.html)<br>> > <br>> > "Start a new server on port 9090 servering both static content and seaside apps"<br>> > | ma soap |<br>> > soap := MySoapClass new.<br>> > ma := ModuleAssembly core.<br>> > ma serverRoot: (FileDirectory default directoryNamed: 'FileRoot') fullName.<br>> > ma alias: '/soap' to: [ma addPlug: [:request | soap process: request]].<br>> > ma documentRoot: (FileDirectory default directoryNamed: 'FileRoot') fullName.<br>> > ma directoryIndex: 'index.html index.htm'.<br>> > ma serveFiles.<br>> > (HttpService startOn: 9090 named: 'httpd') plug: ma rootModule<br>> > <br>> > <br>> > Then just make an empty class called MySoapClass and see what breaks! :) But it sounds like there is already a soap module, you should be able to plug that in there.<br>> > <br>> > <br>> > <br>> >> Date: Mon, 18 Jun 2007 11:43:47 +0900<br>> >> From: chunsj@embian.com<br>> >> To: squeak-dev@lists.squeakfoundation.org<br>> >> Subject: [Q] Adding SOAP as module of KomHttpService(like Seaside)<br>> >><br>> > Hi,<br>> > <br>> > How can I add soap processing module to KomHttpService as Seaside so<br>> > that I can assign "/soap" as url for soap. For example Seaside<br>> > uses "/seaside" for its service url for KomHttpService. What I want to<br>> > do is use same port number for seaside and soap, only url be different.<br>> > <br>> > Sorry for my poor English and Thanks in advance.<br>> >><br>> <br>> > ------------------------------------------------------------------------<br>> > Live Earth is coming. Learn more about the hottest summer event - only<br>> > on MSN. Check it out!<br>> > <http://liveearth.msn.com?source=msntaglineliveearthwlm><br>> <br>> <br>> > ------------------------------------------------------------------------<br>> <br>> <br>> <br>> -----BEGIN PGP SIGNATURE-----<br>> Version: GnuPG v1.4.2.2 (GNU/Linux)<br>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org<br>> <br>> iD8DBQFGd45bQqspS1+XJHgRAhhJAJ45oRpjheyz4hkMxY4/8Oy/WJLmfwCgpZfZ<br>> c3N0E7IxZ+dDqtspFG6bSSg=<br>> =BMEZ<br>> -----END PGP SIGNATURE-----<br>> <br><br /><hr />Make every IM count. Download Windows Live Messenger and join the i’m Initiative now. It’s free. <a href='http://im.live.com/messenger/im/home/?source=TAGWL_June07' target='_new'>Make it count!</a></body>
</html>