<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">There's updated but yet incomplete developer documentation here:<div><br></div><div><a href="http://accessgrid.org/developer">http://accessgrid.org/developer</a></div><div><br></div><div>with enough examples to get Josh much further.</div><div><br></div><div>I'd be happy to answer questions as he goes along. It sounds like an interesting project.</div><div><br></div><div>A couple things:</div><div><br></div><div>- the script below works for me. the updated VenueIW does not have a GetClients method, but one can do GetState().clients</div><div>- use of languages besides Python is also possible, given the WSDL URL of AG services (e.g., <a href="https://vv3.mcs.anl.gov:8000/Venues/default?WSDL">https://vv3.mcs.anl.gov:8000/Venues/default?WSDL</a> ). There's a PHP example in the docs mentioned above; I know other people have used Java.</div><div><br></div><div>Tom</div><div><br></div><div><div><br></div><div><br><div><div>On Jan 22, 2010, at 11:44 AM, Jimmy Miklavcic wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">import sys<br>#if sys.platform == "darwin":<br>&nbsp;&nbsp;&nbsp; # OSX: pyGlobus/globus need to be loaded before modules such as socket.<br>&nbsp;#&nbsp;&nbsp; import pyGlobus.ioc<br><br>import agversion<br>agversion.select(3)<br><br>from AccessGrid.Toolkit import CmdlineApplication<br>from AccessGrid.Venue import VenueIW<br><br>url = sys.argv[1]<br><br># Create and initialize application<br>app = CmdlineApplication()<br>app.Initialize('GetClients')<br># Create venue interface wrapper<br><span>venue = VenueIW('<a href="https://vv3.mcs.anl.gov:8000/Venues/default" target="_blank">https://vv3.mcs.anl.gov:8000/Venues/default</a>')</span><br>#url)<br><br>venueState = venue.GetState()<br>print venueState<br><br># Get clients from venue and process<br>#clientList = venue.GetClients()<br>#for client in clientList:<br>&nbsp; #&nbsp; print client</blockquote></div><br></div></div></body></html>