Use JSP code samples with old versions of Glue toolkit

Last Published: April 25, 2020


Stubs, client side code including .class files, sometimes fail to work with versions of Glue other than the version they were created with. To generate stubs specifically for the currently installed version of Glue, use the wsdl2java command.


Use wsdl2java to create new stubs. Once completed, replace the old stubs with the new ones.

  1. Run wsdl2java at the command prompt against each ArcWeb Service used. For WSDL locations of these ArcWeb Services, see v2006.1 - ArcWeb Developer's Guide v2006.1, v2006 - ArcWeb Developer's Guide v2006, or v2 - ArcWeb Help v2.

    Example of wsdl2java that create Address Finder stubs in the package:

    c:/> wsdl.WSDL2Java -p aws.v2006_1.gluestubs -g

    Run this command from the same directory as the Glue license file: either glue-license.xml or webMethods-license.xml.

  2. Compile the .java files created in step 1.
  3. Replace the old Glue stubs, that is the .class files, with the newly compiled versions.
  4. Restart the Web server.

Article ID:000007064

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic