Web services Guide

Invoking a third party service

You are not just limited to invoking services implemented in Smalltalk. Below are examples of invoking services whose WSDL documents were found at www.xmethods.com, a popular site for experimenting with Web services. Please note that some of these services may not be available. However, you are encouraged to explore this site.

[ | aContainer aServiceCollection|
    aContainer := SstWSContainer containerNamed: SciSocketManager default getHostName.
    aServiceCollection := aContainer deploy: 
        'http://www.lemurlabs.com/projects/soap/itime/ITimeService.wsdl'.
    ( aServiceCollection first getInternetTime ) inspect] fork
 
 
 
[ | aContainer aServiceCollection|
    aContainer := SstWSContainer containerNamed: SciSocketManager default getHostName.
    aServiceCollection := aContainer deploy: 
        'http://www.capescience.com/AirportWeather.wsdl'.
    ( aServiceCollection first getSummary: 'NZCM' ) inspect] fork


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]