if [ $# -ne 1 ]
then
    echo "Usage : $0 FlickerAPIKey"
    echo "Visit http://www.flickr.com/services/api/keys/ to aget a Flicker API key"
    exit
fi
if test -z $WSFCPP_HOME; then 
    WSFCPP_HOME=$PWD/../../..
fi
echo "<x:FlickrRequest xmlns:x='urn:flickr'><method>flickr.photos.search</method><api_key>$1</api_key><tags>peace</tags></x:FlickrRequest>" | $WSFCPP_HOME/bin/wsclient --soap --no-mtom --no-wsa  http://api.flickr.com/services/soap/
