[fdo-internals] writing fdo provider

Robert Fortin robert.fortin at autodesk.com
Tue Jun 17 11:30:50 EDT 2008


If it is not of private matter, can I ask what format your provider is targeting to read (and write?)


-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Dave Brett
Sent: Tuesday, June 17, 2008 12:21 AM
To: fdo-internals at lists.osgeo.org
Subject: Re: [fdo-internals] writing fdo provider

Found solution within provider.  When click "Test Connection" within studio
is clicked the SetConnectionString() method is called.  Since my provider
does not need to maintain a connection I set the connection state to
FdoConnectState_Closed in the GetConnectionState() method.  The code now
executes as expected.

Dave Brett wrote:
> I am currently writing a provider to work with MGE.  Things look good
> while running the unit tests. However when using the provider within MGE
> Studio and I click "Test Connection" I get "An exception occurred in FDO
> component.  The connection is already open. " error.  In my provider code
> I have explicitly set the connection state to FdoConnectionState_Closed
> anywhere the connection state is returned however the error never changes
> within MGE Studio.
> I am have been looking to the WMS and GDAL providers as examples of how to
> implement things correctly, but haven't found what I am missing.
> Does anyone know which method(s) MGE calls to get the status to display in
> Studio?
> Thanks
> Dave

View this message in context: http://www.nabble.com/writing-fdo-provider-tp17875883p17877832.html
Sent from the FDO Internals mailing list archive at Nabble.com.

fdo-internals mailing list
fdo-internals at lists.osgeo.org

More information about the fdo-internals mailing list