[CITE-Forum] OGC Certification: WMS1.1.1

Andy Su andy.su at autodesk.com
Sun Mar 8 22:35:44 EDT 2015


Hi Experts,

I'm running OGC certification testing on WMS1.1.1. The test result shows the following two cases failed.
Take the case gemap-params-layers-5  as an example, it expects [/ServiceExceptionReport/ServiceException[@code="LayerNotDefined"] exists in the return file, but if I enter the URL in a browser, it does return a valid file(attached mapagent.fcgi-5).

Even though both gemap-params-layers-5 and gemap-params-layers-6 failed, the similar case gemap-params-layers-7 passed.

I don't know why it failed, is there a chance that the HTTPParser misunderstood the return file? Could you please give me some tips? Thanks in advance.

Best regards,
Andy


Test wms:wmsops-getmap-params-layers-5<http://cite.opengeospatial.org/teamengine/listings/srv_local_teamengine-prod_TE_BASE_scripts_wms_1.1.1_ctl_wms.html#wms:wmsops-getmap-params-layers-5>
Assertion: When the layer in a GetMap request is invalid, then the response is an exception (code="LayerNotDefined").

Request d1e9239_1:
   Method: get
   URL: http://54.215.6.158:8088/mapserver2016/mapagent/mapagent.fcgi?&SrS=EPSG:4326&LaYeRs=NonExistant&StYlEs=&ReQuEsT=GetMap&HeIgHt=96&FoRmAt=image/png&VeRsIoN=1.1.1&BbOx=-0.0042,-0.0024,0.0042,0.0024&WiDtH=168
   Response from parser parsers:HTTPParser:
      <response>
   <status code="200" protocol="HTTP/1.1">OK</status>
   <headers>
      <header name="Date">Thu, 05 Mar 2015 11:46:07 GMT</header>
      <header name="Server">Apache/2.4.10 (Win64) PHP/5.5.17 mod_jk/1.2.40</header>
      <header name="Status">200 OK</header>
      <header name="Content-Length">213</header>
      <header name="Keep-Alive">timeout=15, max=100</header>
      <header name="Connection">Keep-Alive</header>
      <header name="Content-Type">application/vnd.ogc.se_xml</header>
   </headers>
   <content/>
   <!--Response received in [800] milliseconds--></response>

Result: Failed


Test wms:wmsops-getmap-params-layers-6<http://cite.opengeospatial.org/teamengine/listings/srv_local_teamengine-prod_TE_BASE_scripts_wms_1.1.1_ctl_wms.html#wms:wmsops-getmap-params-layers-6>

Assertion: When a GetMap request contains two layers where the first is valid and the second is invalid, then the response is an exception (code="LayerNotDefined").



Request d1e9328_1:

   Method: get

   URL: http://54.215.6.158:8088/mapserver2016/mapagent/mapagent.fcgi?&WiDtH=168&ReQuEsT=GetMap&BbOx=-0.0042,-0.0024,0.0042,0.0024&FoRmAt=image/png&VeRsIoN=1.1.1&SrS=EPSG:4326&HeIgHt=96&StYlEs=&LaYeRs=CITEWMS/Layers/Lakes,NonExistant

   Response from parser parsers:HTTPParser:

      <response>

   <status code="200" protocol="HTTP/1.1">OK</status>

   <headers>

      <header name="Date">Fri, 06 Mar 2015 03:02:00 GMT</header>

      <header name="Server">Apache/2.4.10 (Win64) PHP/5.5.17 mod_jk/1.2.40</header>

      <header name="Status">200 OK</header>

      <header name="Content-Length">234</header>

      <header name="Keep-Alive">timeout=15, max=100</header>

      <header name="Connection">Keep-Alive</header>

      <header name="Content-Type">application/vnd.ogc.se_xml</header>

   </headers>

   <content/>

   <!--Response received in [703] milliseconds--></response>



Result: Failed

Test wms:wmsops-getmap-params-layers-7<http://cite.opengeospatial.org/teamengine/listings/srv_local_teamengine-prod_TE_BASE_scripts_wms_1.1.1_ctl_wms.html#wms:wmsops-getmap-params-layers-7>

Assertion: When a GetMap request contains two layers where the first is invalid and the second is valid, then the response is an exception (code="LayerNotDefined").



Request d1e9419_1:

   Method: get

   URL: http://54.215.6.158:8088/mapserver2016/mapagent/mapagent.fcgi?&FoRmAt=image/png&WiDtH=168&HeIgHt=96&ReQuEsT=GetMap&SrS=EPSG:4326&VeRsIoN=1.1.1&BbOx=-0.0042,-0.0024,0.0042,0.0024&StYlEs=&LaYeRs=NonExistant,CITEWMS/Layers/Lakes

   Response from parser ::

      <ServiceExceptionReport version="1.1.1">

   <ServiceException code="LayerNotDefined">

  The map request contains invalid layer names. (Found LAYERS=NonExistant,CITEWMS/Layers/Lakes)

 </ServiceException>

   <!--Response received in [571] milliseconds--></ServiceExceptionReport>



Result: Passed



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20150309/b1451db6/attachment.html>


More information about the CITE-Forum mailing list