[AG-DEV] Using webservices in AG3.0 - How?
Eric Olson
eolson at mcs.anl.gov
Thu Jan 12 12:41:15 CST 2006
Hi Michael,
The interfaces for AG 3.0 are generated from wsdl using zsi.
You'll find the generated files in AccessGrid/AccessGrid/interfaces.
You can locate VenueI and VenueIW by looking at the following to imports
in Venue.py:
from AccessGrid.interfaces.Venue_client import VenueIW
from AccessGrid.interfaces.Venue_interface import Venue as VenueI
Since we're all running from cvs until there's a release, these files
are generated when you run CvsSetup.py (which runs
tools/GenerateInterfaces.py).
If you want to see the wsdl sources, you can look in
AccessGrid/AccessGrid/wsdl.
At the moment a few recent code changes to zsi are causing problems
running the AccessGrid 3.0 code. I'm working on fixing that.
Eric
Michael Braitmaier wrote:
> I am currently trying to use methods implemented in the Venue on the
> VenueServer-side in AG3.
> With the new AG3 version the "self.venueClient" seems to be the only
> access point to the webservice methods of the Venue.
> In AG2.4 you used a "self.__venueProxy" to access them which made it
> necessary to have the webservice methods defined in the interface
> classes "VenueI" and "VenueIW". As they don't exist anymore, is there
> something that has to be obbeyed calling webservice methods through the
> VenueClient object? Are the Venue methods automatically available
> through the VenueClient class, so I can access them like
>
> self.venueclient.myNewWebserviceMethodImplementedAtTheServer()
>
> ? Or do I have to prototype the method in the VenueClient first so it
> becomes available in the VenueClient?
>
> Thanks in advance
> Michael
>
More information about the ag-dev
mailing list