[REBOL] Re: Google + SOAP
From: brett:codeconscious at: 20-Apr-2002 19:28
Hi Carl,
I think your parameter block example nicely demonstrates again REBOL's
powerful expression ability. The question I think then is - how does
Do-Google-Search
come about?
I'm a "babe in the woods" in my understanding of web services and the
XML namespace obligations, but I suspect that do-google-search should
be manufactured by some smart REBOL factory function that takes the
WSDL specification as input. Maybe someone else can comment on
the feasability of this.
On a different tangent I can envisage two REBOL web service client
scenarios: (1) user-agent (2) IOS server on behalf of IOS users:
(1) The user-client would best use something like do-google-search.
That is do-google-search is a proxy/stub for the web service.
(2) The IOS server-client (ios<--->non-ios) might want to make
asynchronous calls to a web service before returning/sending results to
an IOS client in a situation where possibly many webservice calls are
made on behalf of IOS users - a message router model (I think).
Perhaps REBOL schemes can also be useful here?
Brett.
----- Original Message -----
From: "Carl Sassenrath" <[carl--rebol--com]>
To: <[rebol-list--rebol--com]>
Sent: Saturday, April 20, 2002 1:32 PM
Subject: [REBOL] Re: Google + SOAP
> I think it's good to invent some smart way to make Web Services easier via
REBOL. So, that's the best way to get there from here? For example:
> REBOL Google search:
>
> Do-Google-Search [
> key: #00000000000000000000000000000000
> q: "shrdlu winograd maclisp teletype"
> start: 0
> maxResults: 10
> filter: true
> restrict: none
> safeSearch: false
> lr: none
> ie: 'latin1
> oe: 'latin1
> ]
>
> XML SOAP Google search:
>
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">