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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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"> > <SOAP-ENV:Body> > <ns1:doGoogleSearch xmlns:ns1="urn:GoogleSearch" > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> > <key xsi:type="xsd:string">00000000000000000000000000000000</key> > <q xsi:type="xsd:string">shrdlu winograd maclisp teletype</q> > <start xsi:type="xsd:int">0</start> > <maxResults xsi:type="xsd:int">10</maxResults> > <filter xsi:type="xsd:boolean">true</filter> > <restrict xsi:type="xsd:string"></restrict> > <safeSearch xsi:type="xsd:boolean">false</safeSearch> > <lr xsi:type="xsd:string"></lr> > <ie xsi:type="xsd:string">latin1</ie> > <oe xsi:type="xsd:string">latin1</oe> > </ns1:doGoogleSearch> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > Your thoughts? > > -Carl > > > At 4/19/02 08:03 AM +1200, you wrote: > >On Sun, 7 Apr 2002 18:28:43 EDT > > [EMAIL PROTECTED] wrote: > > > It's an experimental API to the Google database -- could > > > be a killer add on. > > > >The APIs have now been published > > > >http://www.google.com/apis/ > > > >-- > >Graham Chiu > >-- > >To unsubscribe from this list, please send an email to > >[EMAIL PROTECTED] with "unsubscribe" in the > >subject, without the quotes. > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
