# Parse capabilities falied

**URL:** <https://community.thinkgeo.com/t/parse-capabilities-falied/156>\
**Category:** WinForms\
**Created:** [January 7, 2009, 4:02am UTC](https://community.thinkgeo.com/t/parse-capabilities-falied/156 "2009-01-07T04:02:29Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillaume](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@Guillaume](https://community.thinkgeo.com/u/Guillaume)\
**Post date:** [January 7, 2009, 4:02am UTC](https://community.thinkgeo.com/t/parse-capabilities-falied/156/1 "2009-01-07T04:02:29Z")

</div>

Hi&nbsp;there,

&nbsp;

I&nbsp;have&nbsp;a&nbsp;Map&nbsp;Suite&nbsp;WMS&nbsp;server&nbsp;that&nbsp;works&nbsp;good&nbsp;with&nbsp;other&nbsp;gis&nbsp;client,&nbsp;but&nbsp;when&nbsp;I&nbsp;try&nbsp;to&nbsp;access&nbsp;my&nbsp;WMS&nbsp;server&nbsp;with&nbsp;MapSuite&nbsp;Desktop&nbsp;Client,&nbsp;I&nbsp;always&nbsp;get&nbsp;the&nbsp;following&nbsp;exception&nbsp;:&nbsp;"Parse&nbsp;capabilities&nbsp;falied"

Accessing&nbsp;other&nbsp;WMS&nbsp;server&nbsp;with&nbsp;MapSuite&nbsp;Desktop&nbsp;Client&nbsp;work&nbsp;good&nbsp;as&nbsp;well.

Is&nbsp;there&nbsp;a&nbsp;way&nbsp;to&nbsp;know&nbsp;exactly&nbsp;what&nbsp;exception&nbsp;was&nbsp;thrown&nbsp;?&nbsp;Because&nbsp;with&nbsp;those&nbsp;informations&nbsp;I&nbsp;am&nbsp;unable&nbsp;to&nbsp;know&nbsp;what&nbsp;is&nbsp;going&nbsp;wrong...

Thanks&nbsp;!

Guillaume.

---

<div class="post-metadata">

**Author:** ![Guillaume](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@Guillaume](https://community.thinkgeo.com/u/Guillaume)\
**Post date:** [January 7, 2009, 10:44am UTC](https://community.thinkgeo.com/t/parse-capabilities-falied/156/2 "2009-01-07T10:44:42Z")

</div>

Hi,&nbsp;  
&nbsp;&nbsp;  
&nbsp;It’s&nbsp;seems&nbsp;that&nbsp;the&nbsp;“ProcessCapabilities”&nbsp;private&nbsp;method&nbsp;from&nbsp;WmsRasterSource&nbsp;throw&nbsp;an&nbsp;exception,&nbsp;but&nbsp;this&nbsp;exception&nbsp;is&nbsp;not&nbsp;thrown&nbsp;to&nbsp;me&nbsp;because&nbsp;the&nbsp;“OpenCore”&nbsp;method&nbsp;from&nbsp;WmsRasterSource&nbsp;don’t&nbsp;rethrow&nbsp;it&nbsp;back&nbsp;:&nbsp;  
&nbsp;&nbsp;  
&nbsp;`  try  {       this.ProcessCapabilities(this.x8ed49a5310194ad9.ToString());  }  catch (Exception)  {        throw new ArgumentException(“Parse capabilities falied.”);  }  `&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;suppose&nbsp;that&nbsp;the&nbsp;XML&nbsp;file&nbsp;I&nbsp;send&nbsp;from&nbsp;my&nbsp;server&nbsp;when&nbsp;a&nbsp;GetCapabilities&nbsp;request&nbsp;is&nbsp;made&nbsp;has&nbsp;some&nbsp;error&nbsp;that&nbsp;only&nbsp;MapSuite&nbsp;Client&nbsp;shows,&nbsp;but&nbsp;I&nbsp;cannot&nbsp;see&nbsp;what&nbsp;is&nbsp;the&nbsp;exact&nbsp;error…&nbsp;  
&nbsp;&nbsp;  
&nbsp;What&nbsp;can&nbsp;I&nbsp;do&nbsp;?&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;Guillaume.

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [January 8, 2009, 12:22am UTC](https://community.thinkgeo.com/t/parse-capabilities-falied/156/3 "2009-01-08T00:22:16Z")

</div>

Guillaume,&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;found&nbsp;a&nbsp;bug&nbsp;in&nbsp;the&nbsp;current&nbsp;release&nbsp;(3.0.131)&nbsp;respect&nbsp;to&nbsp;the&nbsp;WmsRasterLayer,&nbsp;maybe&nbsp;that’s&nbsp;the&nbsp;cause&nbsp;of&nbsp;your&nbsp;issue.&nbsp;Could&nbsp;you&nbsp;send&nbsp;your&nbsp;WMS&nbsp;URI&nbsp;to&nbsp;me&nbsp;so&nbsp;we&nbsp;can&nbsp;have&nbsp;a&nbsp;test&nbsp;here,&nbsp;and&nbsp;make&nbsp;sure&nbsp;your&nbsp;URI&nbsp;works&nbsp;in&nbsp;the&nbsp;next&nbsp;release?&nbsp;Could&nbsp;you&nbsp;send&nbsp;it&nbsp;to&nbsp;[support@thinkgeo.com](mailto:support@thinkgeo.com)&nbsp;and&nbsp;ask&nbsp;to&nbsp;forward&nbsp;to&nbsp;Ben&nbsp;if&nbsp;it’s&nbsp;sensitive?&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Ben&nbsp;

---

<div class="post-metadata">

**Author:** ![Guillaume](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@Guillaume](https://community.thinkgeo.com/u/Guillaume)\
**Post date:** [January 8, 2009, 1:12am UTC](https://community.thinkgeo.com/t/parse-capabilities-falied/156/4 "2009-01-08T01:12:54Z")

</div>

Ben,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thank&nbsp;you&nbsp;for&nbsp;your&nbsp;answer.&nbsp;  
&nbsp;I’ll&nbsp;ask&nbsp;my&nbsp;company&nbsp;for&nbsp;an&nbsp;direct&nbsp;external&nbsp;access,&nbsp;and&nbsp;I’ll&nbsp;give&nbsp;you&nbsp;an&nbsp;access&nbsp;as&nbsp;soon&nbsp;a&nbsp;it&nbsp;has&nbsp;been&nbsp;configured&nbsp;(normaly&nbsp;within&nbsp;the&nbsp;day,&nbsp;here&nbsp;it&nbsp;is&nbsp;only&nbsp;8&nbsp;AM&nbsp;),&nbsp;so&nbsp;you&nbsp;can&nbsp;test&nbsp;my&nbsp;WMS.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Furthermore&nbsp;can&nbsp;you&nbsp;tell&nbsp;me&nbsp;when&nbsp;will&nbsp;the&nbsp;next&nbsp;release&nbsp;be&nbsp;?&nbsp;(because&nbsp;I&nbsp;have&nbsp;a&nbsp;prorotyp&nbsp;with&nbsp;MapSuite&nbsp;to&nbsp;deliver&nbsp;for&nbsp;end&nbsp;january&nbsp;:-/&nbsp;)&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;Guillaume.

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [January 8, 2009, 3:01am UTC](https://community.thinkgeo.com/t/parse-capabilities-falied/156/5 "2009-01-08T03:01:09Z")

</div>

Guillaume,&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;The&nbsp;new&nbsp;release&nbsp;will&nbsp;be&nbsp;available&nbsp;around&nbsp;22rd&nbsp;this&nbsp;month,&nbsp;I&nbsp;think&nbsp;we&nbsp;can&nbsp;make&nbsp;it&nbsp;in&nbsp;time:)&nbsp;  
&nbsp;&nbsp;  
&nbsp;Ben

---

<div class="post-metadata">

**Author:** ![Guillaume](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@Guillaume](https://community.thinkgeo.com/u/Guillaume)\
**Post date:** [January 8, 2009, 8:00am UTC](https://community.thinkgeo.com/t/parse-capabilities-falied/156/6 "2009-01-08T08:00:37Z")

</div>

Ben,&nbsp;  
&nbsp;I&nbsp;just&nbsp;sent&nbsp;an&nbsp;email&nbsp;with&nbsp;my&nbsp;WMS&nbsp;address&nbsp;to&nbsp;[support@thinkgeo.com](mailto:support@thinkgeo.com).&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;help,&nbsp;  
&nbsp;Guillaume.

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [January 9, 2009, 9:37am UTC](https://community.thinkgeo.com/t/parse-capabilities-falied/156/7 "2009-01-09T09:37:55Z")

</div>

Guillaume,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;I&nbsp;got&nbsp;your&nbsp;mail.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Your&nbsp;WMS&nbsp;Service&nbsp;is&nbsp;with&nbsp;edition&nbsp;1.1.0&nbsp;while&nbsp;our&nbsp;parser&nbsp;is&nbsp;based&nbsp;on&nbsp;1.1.1,&nbsp;and&nbsp;seems&nbsp;the&nbsp;2&nbsp;editions&nbsp;are&nbsp;not&nbsp;totaly&nbsp;compatible,&nbsp;that’s&nbsp;the&nbsp;reason&nbsp;of&nbsp;this&nbsp;issue.&nbsp;We&nbsp;are&nbsp;still&nbsp;working&nbsp;on&nbsp;that&nbsp;trying&nbsp;to&nbsp;figure&nbsp;it&nbsp;out&nbsp;before&nbsp;the&nbsp;release&nbsp;of&nbsp;the&nbsp;coming&nbsp;version,&nbsp;I&nbsp;will&nbsp;let&nbsp;you&nbsp;know&nbsp;if&nbsp;we&nbsp;have&nbsp;something.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Ben&nbsp;

---

<div class="post-metadata">

**Author:** ![Guillaume](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@Guillaume](https://community.thinkgeo.com/u/Guillaume)\
**Post date:** [January 12, 2009, 4:24am UTC](https://community.thinkgeo.com/t/parse-capabilities-falied/156/8 "2009-01-12T04:24:02Z")

</div>

Ok,&nbsp;thanks.&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;am&nbsp;developping&nbsp;the&nbsp;WMS&nbsp;server&nbsp;in&nbsp;the&nbsp;same&nbsp;time&nbsp;as&nbsp;the&nbsp;client,&nbsp;and&nbsp;I&nbsp;didn’t&nbsp;know&nbsp;there&nbsp;were&nbsp;uncompatibilities&nbsp;between&nbsp;versions.&nbsp;  
&nbsp;I&nbsp;think&nbsp;I&nbsp;will&nbsp;try&nbsp;to&nbsp;change&nbsp;my&nbsp;WMS&nbsp;server&nbsp;configuration,&nbsp;so&nbsp;I&nbsp;can&nbsp;quick&nbsp;have&nbsp;a&nbsp;correct&nbsp;1.1.1&nbsp;server&nbsp;that&nbsp;works&nbsp;with&nbsp;my&nbsp;MapSuite&nbsp;Client.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thank&nbsp;you&nbsp;for&nbsp;your&nbsp;help,&nbsp;  
&nbsp;Guillaume.

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [January 12, 2009, 4:26am UTC](https://community.thinkgeo.com/t/parse-capabilities-falied/156/9 "2009-01-12T04:26:22Z")

</div>

Guillaume,&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;confirmed&nbsp;that&nbsp;your&nbsp;WMS&nbsp;Server’s&nbsp;version&nbsp;is&nbsp;1.0.0(not&nbsp;1.1.0&nbsp;as&nbsp;I&nbsp;said&nbsp;in&nbsp;last&nbsp;message)&nbsp;while&nbsp;we&nbsp;only&nbsp;support&nbsp;1.1.1&nbsp;specification&nbsp;for&nbsp;now.&nbsp;In&nbsp;WMS&nbsp;1.0.0,&nbsp;for&nbsp;example,&nbsp;there&nbsp;are&nbsp;2&nbsp;key&nbsp;nodes&nbsp;\<Capability\>&nbsp;and&nbsp;,&nbsp;while&nbsp;the&nbsp;corresponding&nbsp;nodes&nbsp;in&nbsp;WMS1.1.0&nbsp;or&nbsp;1.1.1&nbsp;are&nbsp;\<GetCapabilities\>&nbsp;and&nbsp;\<GetMap\>,&nbsp;that’s&nbsp;why&nbsp;our&nbsp;parser&nbsp;cannot&nbsp;handle&nbsp;your&nbsp;WMS.&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;are&nbsp;trying&nbsp;to&nbsp;add&nbsp;the&nbsp;1.0.0&nbsp;support&nbsp;to&nbsp;our&nbsp;WMS&nbsp;but&nbsp;I’m&nbsp;not&nbsp;sure&nbsp;if&nbsp;we&nbsp;can&nbsp;make&nbsp;it&nbsp;in&nbsp;the&nbsp;coming&nbsp;release,&nbsp;as&nbsp;there&nbsp;is&nbsp;a&nbsp;big&nbsp;specification&nbsp;to&nbsp;read.&nbsp;Just&nbsp;wonder&nbsp;is&nbsp;there&nbsp;some&nbsp;possibilities&nbsp;you&nbsp;can&nbsp;update&nbsp;your&nbsp;WMS&nbsp;to&nbsp;1.1.1&nbsp;so&nbsp;then&nbsp;Map&nbsp;Suite&nbsp;can&nbsp;be&nbsp;used&nbsp;immediately.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Ben&nbsp;

---

<div class="post-metadata">

**Author:** ![Guillaume](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@Guillaume](https://community.thinkgeo.com/u/Guillaume)\
**Post date:** [January 12, 2009, 6:23am UTC](https://community.thinkgeo.com/t/parse-capabilities-falied/156/10 "2009-01-12T06:23:43Z")

</div>

Ben,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thank&nbsp;you&nbsp;very&nbsp;much&nbsp;for&nbsp;your&nbsp;help,&nbsp;I’ll&nbsp;make&nbsp;my&nbsp;server&nbsp;a&nbsp;1.1.1&nbsp;one.&nbsp;  
&nbsp;I’ll&nbsp;mark&nbsp;this&nbsp;topic&nbsp;as&nbsp;Resolved.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Have&nbsp;a&nbsp;nive&nbsp;day,&nbsp;and&nbsp;thanks&nbsp;again,&nbsp;  
&nbsp;Guillaume.&nbsp;  
&nbsp;&nbsp;

---

<div class="post-metadata">

**Author:** ![Guillaume](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@Guillaume](https://community.thinkgeo.com/u/Guillaume)\
**Post date:** [January 12, 2009, 8:49am UTC](https://community.thinkgeo.com/t/parse-capabilities-falied/156/11 "2009-01-12T08:49:14Z")

</div>

Just&nbsp;for&nbsp;info&nbsp;:&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;changed&nbsp;my&nbsp;server&nbsp;so&nbsp;it&nbsp;matches&nbsp;the&nbsp;1.1.1&nbsp;specifications,&nbsp;and&nbsp;now&nbsp;MapSuite&nbsp;Desktop&nbsp;Client&nbsp;is&nbsp;able&nbsp;to&nbsp;connect&nbsp;my&nbsp;WMS&nbsp;server&nbsp;without&nbsp;any&nbsp;problem.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;again,&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;Guillaume.

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [January 12, 2009, 7:58pm UTC](https://community.thinkgeo.com/t/parse-capabilities-falied/156/12 "2009-01-12T19:58:21Z")

</div>

Thanks&nbsp;Guillaume!&nbsp;The&nbsp;same&nbsp;to&nbsp;you,&nbsp;have&nbsp;a&nbsp;nice&nbsp;day!&nbsp;&nbsp;  
&nbsp;&nbsp;
