Stipe Tolj <[EMAIL PROTECTED]> wrote: > Hi Bruno, > >> I need something that listens http requests on port 80 and does requests >> to another wap gateway. > > hmmm, you should write an Apache module that uses Kannel's WAP client > capabilities. > > Unfortunatly fakewap is not very good, because it does not use any > client side WAP routines from the libwap.a library. There are no, BTW, > so the main approach would be: > > a) write the client-side routines if not yet done inside Kannel > b) provide the client routines to an Apache module so you can trigger > an external WAP gateway via a normal HTTP user agent.
I've written a quick "spaghetti" perl code which enabled me to access wap pages trough a wap gateway (I need to sneek out competitors ;)). It's available at http://litux.org/bruno/wapclient if you want to give a look, but I'm rewritting it in a less spaghetti way - WAP::WBXML, WAP::WSP, WAP::WTP modules and so. I had an unknown problem (I don't like wapforum documentation!) with CMG Gateway and an application/vnd.wap.multipart.mixed page, although it worked ok through kannel ;)
