ThinkGeo.com    |     Documentation    |     Premium Support

Parse capabilities falied

Hi there,


 


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


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


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


Thanks !


Guillaume.



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

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


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

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

Ben, 
 I just sent an email with my WMS address to support@thinkgeo.com
  
 Thanks for your help, 
 Guillaume.

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


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

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


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


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

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