[REBOL] Re: Google + SOAP
From: dockimbel:free at: 24-Apr-2002 1:32
Hi Graham,
For now, nothing special, it just closes the opened port. Remember that REBOL ports are
just
an abstraction for virtual series, they don't necessarily mean that you're using tcp/ip
connections. In this case, the real http connection is closed in the 'insert call. So,
'close
here doesn't mean we're closing a tcp/ip connection, it just tell the handler to free
his
ressources (for example, set to 'none all the XML parsing stuff and do a 'recycle)
Just a though:
When you use the open/insert/close approach you can call several remote methods without
having to parse the WSDL file each time. This is not true for 'read calls...unless web
services are globally managed as a list of cached port! values that could be reused when
opening the 'soap scheme. This sounds better but will eat more memory. Maybe the /direct
refinement of 'open and 'read could be used to tell the 'soap scheme to use the cache
or not...
-DocKimbel.
Graham Chiu wrote: