<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.&nbsp; Just without all the nasty configuration. :)<br><br>&gt; Date: Tue, 19 Jun 2007 17:05:47 +0900<br>&gt; From: chunsj@embian.com<br>&gt; To: squeak-dev@lists.squeakfoundation.org<br>&gt; Subject: Re: [Q] Adding SOAP as module of KomHttpService(like Seaside)<br>&gt; <br>&gt; -----BEGIN PGP SIGNED MESSAGE-----<br>&gt; Hash: SHA1<br>&gt; <br>&gt; This is what I've done after reading umezawa's mail. Like this,<br>&gt; <br>&gt; start<br>&gt;         "self start"<br>&gt;         "Start a new server on port NXDefaultPort serving both static content<br>&gt; and seaside apps"<br>&gt;         | ma seaside soap |<br>&gt;         seaside _ WAKomEncoded default.<br>&gt;         soap _ SoapHttpModule new.<br>&gt;         ma _ ModuleAssembly core.<br>&gt;         ma serverRoot: (FileDirectory default directoryNamed: 'Documents')<br>&gt; fullName.<br>&gt;         ma alias: '/seaside' to: [ma addPlug: [:request | seaside process:<br>&gt; request]].<br>&gt;         ma alias: '/soap' to: [ma addPlug: [:request | soap process: request]].<br>&gt;         ma documentRoot: (FileDirectory default directoryNamed: 'Documents')<br>&gt; fullName.<br>&gt;         ma directoryIndex: 'index.html index.htm'.<br>&gt;         ma serveFiles.<br>&gt;         (HttpService startOn: self defaultPort named: 'WebService') plug: ma<br>&gt; rootModule.<br>&gt; <br>&gt; And it seems working. :-)<br>&gt; <br>&gt; <br>&gt; J J wrote:<br>&gt; &gt; (Taken and modified from<br>&gt; &gt; http://www.shaffer-consulting.com/david/Seaside/GettingSoftware/index.html)<br>&gt; &gt; <br>&gt; &gt; "Start a new server on port 9090 servering both static content and seaside apps"<br>&gt; &gt; | ma soap |<br>&gt; &gt; soap := MySoapClass new.<br>&gt; &gt; ma := ModuleAssembly core.<br>&gt; &gt; ma serverRoot: (FileDirectory default directoryNamed: 'FileRoot') fullName.<br>&gt; &gt; ma alias: '/soap' to: [ma addPlug: [:request | soap process: request]].<br>&gt; &gt; ma documentRoot: (FileDirectory default directoryNamed: 'FileRoot') fullName.<br>&gt; &gt; ma directoryIndex: 'index.html index.htm'.<br>&gt; &gt; ma serveFiles.<br>&gt; &gt; (HttpService startOn: 9090 named: 'httpd') plug: ma rootModule<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; 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>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt;&gt; Date: Mon, 18 Jun 2007 11:43:47 +0900<br>&gt; &gt;&gt; From: chunsj@embian.com<br>&gt; &gt;&gt; To: squeak-dev@lists.squeakfoundation.org<br>&gt; &gt;&gt; Subject: [Q] Adding SOAP as module of KomHttpService(like Seaside)<br>&gt; &gt;&gt;<br>&gt; &gt; Hi,<br>&gt; &gt; <br>&gt; &gt; How can I add soap processing module to KomHttpService as Seaside so<br>&gt; &gt; that I can assign "/soap" as url for soap. For example Seaside<br>&gt; &gt; uses "/seaside" for its service url for KomHttpService. What I want to<br>&gt; &gt; do is use same port number for seaside and soap, only url be different.<br>&gt; &gt; <br>&gt; &gt; Sorry for my poor English and Thanks in advance.<br>&gt; &gt;&gt;<br>&gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; Live Earth is coming.  Learn more about the hottest summer event - only<br>&gt; &gt; on MSN. Check it out!<br>&gt; &gt; &lt;http://liveearth.msn.com?source=msntaglineliveearthwlm&gt;<br>&gt; <br>&gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; <br>&gt; <br>&gt; <br>&gt; -----BEGIN PGP SIGNATURE-----<br>&gt; Version: GnuPG v1.4.2.2 (GNU/Linux)<br>&gt; Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org<br>&gt; <br>&gt; iD8DBQFGd45bQqspS1+XJHgRAhhJAJ45oRpjheyz4hkMxY4/8Oy/WJLmfwCgpZfZ<br>&gt; c3N0E7IxZ+dDqtspFG6bSSg=<br>&gt; =BMEZ<br>&gt; -----END PGP SIGNATURE-----<br>&gt; <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>