If you're on VisualWorks you can use WSDL Wizard (in parcel WSDLWizard)
to create an interface from ... gasp ... WSDL ;)
For instance we are using Xignite, so you end up with something like,
XigniteCurrenciesSoapClient new getRealTimeCrossRate:
((GetRealTimeCrossRate new) from: 'CAD'; to: 'USD'; yourself)
Obviously you can them make a much nicer API out of it depending on
which parts you need to use the most.
Cheers!
-Boris
--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4[hidden email]
CONFIDENTIALITY NOTICE
This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.
Thank you.
> -----Original Message-----
> From:
[hidden email] [mailto:seaside-
>
[hidden email]] On Behalf Of Oleg Richards
> Sent: Friday, September 07, 2007 12:26 PM
> To:
[hidden email]
> Subject: [Seaside] How to call web service
>
> Hello Guys!
>
> I hope that u can help me to solve following problem: I need to get
> currency exchange rates from web service. At least I can just ask for
> a web page with this info and parse it. But how to do it? How to
> invoke web service method? Or how to invoke external http query and
> get result to string?
>
> Cheers,
> Oleg
> _______________________________________________
> Seaside mailing list
>
[hidden email]
>
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside