[Q] Adding SOAP as module of KomHttpService(like Seaside)

J J azreal1977 at hotmail.com
Tue Jun 19 05:37:47 UTC 2007


(Taken and modified from http://www.shaffer-consulting.com/david/Seaside/GettingSoftware/index.html)"Start a new server on port 9090 servering both static content and seaside apps"| ma soap |soap := MySoapClass new.ma := ModuleAssembly core.ma serverRoot: (FileDirectory default directoryNamed: 'FileRoot') fullName.ma alias: '/soap' to: [ma addPlug: [:request | soap process: request]].ma documentRoot: (FileDirectory default directoryNamed: 'FileRoot') fullName.ma directoryIndex: 'index.html index.htm'.ma serveFiles.(HttpService startOn: 9090 named: 'httpd') plug: ma rootModuleThen 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.> Date: Mon, 18 Jun 2007 11:43:47 +0900> From: chunsj at embian.com> To: squeak-dev at lists.squeakfoundation.org> Subject: [Q] Adding SOAP as module of KomHttpService(like Seaside)> > -----BEGIN PGP SIGNED MESSAGE-----> Hash: SHA1> > Hi,> > How can I add soap processing module to KomHttpService as Seaside so> that I can assign "/soap" as url for soap. For example Seaside> uses "/seaside" for its service url for KomHttpService. What I want to> do is use same port number for seaside and soap, only url be different.> > Sorry for my poor English and Thanks in advance.> -----BEGIN PGP SIGNATURE-----> Version: GnuPG v1.4.2.2 (GNU/Linux)> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org> > iD8DBQFGdfFiQqspS1+XJHgRAgVfAKCdPVOOniDHS/R9scE6Bbg+85YpSwCeJcUL> b4R37ckhk7NHV2RZc8ZR/is=> =0U51> -----END PGP SIGNATURE-----> 
_________________________________________________________________
Live Earth is coming.  Learn more about the hottest summer event - only on MSN.
http://liveearth.msn.com?source=msntaglineliveearthwlm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070619/c57481a5/attachment.htm


More information about the Squeak-dev mailing list