laptop and a wrench

Bug

In ArcGIS Engine Java 10 Service Pack 3, the WFS To Feature Class conversion doesn't work as expected. The execute on the geoprocessor object throws the following error: "AutomationException: 0x80004005 - Unspecified error at com.esri.arcgis.geoprocessing.GeoProcessor.execute(Unknown Source)"

Last Published: August 31, 2014 ArcGIS Engine
Bug ID Number NIM076722
SubmittedJanuary 6, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS Engine
Version found10.0
Program languageJava
Operating SystemWindows OS
Operating System VersionXP
StatusWill Not Be Addressed

Additional Information

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

The code provided below executes successfully and produces the desired output.ToolboxWorkspaceFactory factory = new ToolboxWorkspaceFactory();IToolboxWorkspace toolboxWorkspace = new IToolboxWorkspaceProxy(factory.openFromFile("C:/Program Files/ArcGIS/ArcToolBox/Toolboxes", 0));IGPToolbox toolbox = toolboxWorkspace.openToolbox("Conversion Tools.tbx");IGPTool tool = toolbox.openTool("WFSToFeatureClass"); Array values = new Array(); GPString inputWFS = new GPString();GPString inputFeature = new GPString();GPString outputLoc = new GPString();GPString outputFeature = new GPString(); inputWFS.setValue("<a href="http://10.10.22.102:8399/arcgis/services/ITSNTP_ITSPROD/MapServer/WFSServer" target="_blank">http://10.10.22.102:8399/arcgis/services/ITSNTP_ITSPROD/MapServer/WFSServer</a>");inputFeature.setValue("GITSlupek");outputLoc.setValue("<a href="file:C://test3.gdb" target="_blank">C:\\test3.gdb</a>");outputFeature.setValue("Slupek"); values.add(inputWFS);values.add(inputFeature);values.add(outputLoc);values.add(outputFeature); tool.execute(values, null, null, null);

Steps to Reproduce

Bug ID: NIM076722

Software:

  • ArcGIS Engine

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options