This contains the .NET 4.5 sample code for Mapping Service.

Requirement

This requires the Microsoft Visual Studio 2013 IDE to run the solution.


Steps to start

( 1) Open the solution "MappingSamples.sln" with the Visual Studio 2013 IDE.
( 2) Open menu Project, choose "Add Service reference"
( 3) Enter service WSDL URL for e.g. http://<server>:<port>/soap/MappingService?wsdl into Address field.
( 4) Click Go button and if the server needs to authenticate the request then it will open dialog window to continue.
( 5) If prompted for authentication, press Continue button and enter username and password in the text fields provided.
( 6) MappingService will come up under the Services.
( 7) Enter "MappingService" for Namespace field and press Ok.
( 8) In Preference.cs, change the URL in the following line to point to the Mapping service instance you want to run against
        public static String DEFAULT_SERVICE_URL = "http://<server>:<port>/soap/MappingService";
( 9) Configure the Spectrum TokenManagerService, repeat steps 2 through 8 using the following:
        WSDL URL: http://<server>:<port>/security/TokenManagerService?wsdl
        Namespace: TokenManagerService
(10) Configure the Spectrum TokenLogoutService, repeat steps 2 through 8 using the following:
        WSDL URL: http://<server>:<port>/security/TokenLogoutService?wsdl
        Namespace: TokenLogoutService

Press "F6" key to rebuild the code in the solution.
Each individual file is a runnable sample.
You can run individual sample by picking the "Startup object:" in the properties
of the project.
