I'm glad you figured it out. I don't know if this helps, but XFire
uses the following:

    <bean 
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
        <property name="urlMap">
            <map>
                <entry key="/">
                    <ref bean="handlerMapping"/>
                </entry>
            </map>
        </property>
    </bean>

So it looks like they need to do the same thing. The solution to your
problem might be explicitly adding a BeanNameHandlerMapping to your
Spring context file.

Matt

On 8/5/07, satish5 <[EMAIL PROTECTED]> wrote:
>
> I finally got it to work by adding a urlMapping bean to my
> remoting-servlet.xml.
>
>     <bean name="/peopleservice"
> class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
>         <property name="service" ref="personManager"/>
>         <property name="serviceInterface"
> value="com.epay.epayapp.service.PersonManager"/>
>     </bean>
>
>     <bean id="urlMapping"
> class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
>         <property name="mappings">
>             <value>
>                 /peopleservice=/peopleservice
>             </value>
>         </property>
>         <property name="order" value="1"/>
>     </bean>
> Although it now works, I can't figure out why this url mapping is needed
> just to map /peopleservice to /peopleservice.
>
> Thanks
> Satish
> --
> View this message in context: 
> http://www.nabble.com/Need-help%3A-exposing-the-PersonManager-%28in-the-tutorial%29-thru-Spring-httpInvoker-tf4215464s2369.html#a12002744
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to