Saving point data through WCF service

07-13-2012 06:25 AM
New Contributor
I am rewriting an enterprise desktop application for the web. The original desktop application had saved data to a point feature class through ArcMap 9.3.1 & Visual Studio 2008, utilizing Java classes to pass the point data, while other data relevant to the individual points were stored in Oracle databases and passed via SQL script. To rewrite this application, I am using ArcGIS Server for .NET and Visual Studio 2010 and SQL script on the db side. To pass point data, I have created a WCF service, and I can connect to the table through the following code:


Dim aoInit As IAoInitialize = New AoInitializeClass()

Dim propertySet As IPropertySet = New PropertySetClass()

propertySet.SetProperty("SERVER", server)

propertySet.SetProperty("INSTANCE", instance)

propertySet.SetProperty("DATABASE", database)

propertySet.SetProperty("USER", user)

propertySet.SetProperty("PASSWORD", password)

propertySet.SetProperty("VERSION", Version)

Dim workspaceFactory As IWorkspaceFactory = New SdeWorkspaceFactoryClass()
Return workspaceFactory.Open(propertySet, 0)

However, at this point, I am somewhat at a loss. How do I proceed to upload the data? Must I reuse the Java code, or can this be done another way?

Thanks in advance for any help.

Bonnie Golla
Applications Developer
0 Kudos
0 Replies