HOW TO

Use JSP code samples with old versions of Glue toolkit

Last Published: April 25, 2020

Summary

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.

Procedure

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 esri.aws.v2006_1 package:

    Code:
    c:/> wsdl.WSDL2Java http://www.arcwebservices.com/services/v2006_1/glue/PlaceFinderSample.wsdl -p aws.v2006_1.gluestubs -g


    Note:
    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

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic