Shared value objects

ArcGIS Server web services share many base value object types since they share similar input and output type requirements. For example, all ArcGIS Server web service WSDLs define the same set of geometry types since all ArcGIS Server web service utilize geometry. Types defined via XML in a WSDL become value objects when consumed by a client using a SOAP toolkit.

SOAP toolkits are designed for specific development environments, so a toolkit for .NET will generate native .NET value objects and web service proxy classes for use within a .NET application. In most development environments, the SOAP toolkit will define a namespace for the value objects and proxies. As a result, value object properties and input parameters and output results for proxy methods must share the same namespace to be used together.

For compiled languages, such as C#, VB.NET, and Java, all value objects and web service proxies that are used together must share the same namespace, otherwise it will not compile. Fortunately, SOAP toolkits usually provide the ability to generate value objects and proxies from multiple WSDLs at the same time within the same namespace. In the process, value object types shared between the WSDL definitions will only be created once and be available for use with all proxy methods and other value object properties.

For a tutorial illustrating the generation of shared types in the .NET development environment, see Using multiple services in a single application.

11/8/2016