Are your definitions for serviceClass and implementationClass the wrong
way round ?
Shouldn't foo.bar.ISearchService be the implementation ?


-----Original Message-----
From: Timo Nentwig [mailto:[EMAIL PROTECTED] 
Sent: Friday 29 June 2007 13:21
To: [email protected]
Subject: Re: [xfire-user] BeanDefinitionStoreException: Unrecognized
xbean element mapping

Farmah, Kam wrote:
> Trying changing your service to the following - I think the problem 
> you are having maybe with the namespace..

Hmm, nope, unfortunately not. I tried foo.bar as well as bar.foo. But if
this was relevant the namespace of the BookService example would have to
be DEMO.xfire.codehaus.org:

    <namespace>http://xfire.codehaus.org/BookService</namespace>
    <serviceClass>org.codehaus.xfire.demo.BookService</serviceClass>

> <beans xmlns="http://xfire.codehaus.org/config/1.0";>
>   <service>
>     <name>SearchService</name>
>     <namespace>http://foo.bar/SearchService</namespace>
>     <serviceClass>foo.bar.ISearchService</serviceClass>
>     <implementationClass>foo.bar.SearchService</implementationClass>
>   </service>
> </beans>


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to