[Geoserver-devel] [jira] Created: (GEOS-2833) KML reflector not properly hooked up on trunk

KML reflector not properly hooked up on trunk
---------------------------------------------

                 Key: GEOS-2833
                 URL: http://jira.codehaus.org/browse/GEOS-2833
             Project: GeoServer
          Issue Type: Bug
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 2.0.x

Trying to access the kml reflector at:

http://localhost:8080/geoserver/wms/kml_reflect?layers=topp:giant_polygon

throws a Dispatcher excetiopn, and doing so at:

http://localhost:8080/geoserver/kml/kml_reflect?layers=topp:giant_polygon

complains there is no such operation. Yet the spring registration is:

{code}
<bean id="kmlService" class="org.vfny.geoserver.wms.responses.map.kml.KMLReflector">
    <constructor-arg ref="wmsService2"/>
  </bean>
  <bean id="kmlServiceDescriptor" class="org.geoserver.platform.Service">
    <constructor-arg index="0" value="kml"/>
    <constructor-arg index="1" ref="kmlService"/>
    <constructor-arg index="2" value="1.0.0"/>
   </bean>
   
  <!-- http url mapping -->
  <bean id="kmlURLMapping"
    class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
    <property name="alwaysUseFullPath" value="true"/>
    <property name="mappings">
      <props>
        <prop key="/kml">dispatcher</prop>
        <prop key="/kml/*">dispatcher</prop>
      </props>
    </property>
  </bean>
{code}

Odd? KML reflector registered as an OWS service?

Justin, David, do you know what's going on here?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira