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:
> 
> On Tue, 23 Apr 2002 11:35:44 +0200
>  Nenad Rakocevic <[EMAIL PROTECTED]> wrote:
> >
> > Here's how web services could be supported by REBOL :
> >
> > * code example :
> >
> > service: open soap://api-ab.google.com/search/beta2/GoogleSearchService
> 
> what does
> 
>   close service
> 
> achieve then?
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to