VERIFIED SOLUTION i
X

Resolve issue when the WMS client sends out duplicate requests in MapXtreme .NET

Issue

When using the MapXtreme .NET WMS client it appears that duplicate requests are being sent out.

For Example the following code when run: 
Dim capabilities As ICapabilities = WmsClientUtilities.GetCapabilities(wmsService.Url, "1.3.0") 

Will send GetCapabilities twice to the WMS server, even though once is enough. So the XML result with capabilities will be received twice. Similarly the GetMap() request will fetch the map image twice. 

Cause

The reason that you are seeing two requests being sent is because MapXtreme .NET needs to handle the server authentication gracefully. The first request checks to see if the server requires authentication and, if yes, then another request prompts the user to enter the credentials that is required.

So this is working as designed, once the server is authenticated then no request is made twice.

Resolution

UPDATED: September 19, 2017


This is working as designed

Environment Details

Products affected: MapXtreme .NET

 

Downloads

  • No Downloads