Hi!

I have a problem with the Spring XFireExporter. 
I defined two beans (sucheService and sucheService1), but they can't
coexist. When I call the WSDL URL for sucheService, it gives me the WSDL of
sucheService1. When I uncomment sucheService1, it gives me the correct WSDL
for sucheService.

Why? This is the same problem as described here:
http://thread.gmane.org/gmane.comp.java.xfire.user/4223/focus=4245
Nobody replied with a solution, is this a bug?

Thanks for any help!

Regards,

Michael


My springDispatcher-servlet.xml:

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

<bean id="sucheService"
class="org.codehaus.xfire.spring.remoting.XFireExporter" singleton="false">
        <property name="serviceFactory">
                <ref bean="xfire.serviceFactory"/>
        </property>
        <property name="xfire">
                <ref bean="xfire"/>
        </property>
        <property name="serviceBean">
                <ref bean="luceneSucheService"/>
        </property>
        <property name="serviceClass">
                <value>de.service.suche.LuceneSucheService</value>
        </property>
</bean>

<bean id="sucheService1"
class="org.codehaus.xfire.spring.remoting.XFireExporter" singleton="false">
        <property name="serviceFactory">
                <ref bean="xfire.serviceFactory"/>
        </property>
        <property name="xfire">
                <ref bean="xfire"/>
        </property>
        <property name="serviceBean">
                <ref bean="luceneSucheService1"/>
        </property>
        <property name="serviceClass">
        
<value>de.service.suche.webservice.v1.LuceneSucheService</value>
        </property>
</bean>

-- 
Michael Böckling
Java Engineer
dmc digital media center GmbH 
Rommelstraße 11 
70376 Stuttgart (Germany) 
Telefon: +49 711 601747-0
Telefax: +49 711 601747-141 
E-Mail: [EMAIL PROTECTED] 
Internet: www.dmc.de 

Handelsregister: AG Stuttgart HRB 18974
Geschäftsführer: Andreas Magg, Daniel Rebhorn, Andreas Schwend

---------------------------------------------
Besseres E-Business.
dmc ist die kreative Vernetzung von Agentur, Systemhaus und Service. Seit
über 10 Jahren entwickeln und realisieren wir zukunftweisende und
erfolgreiche E-Business-Lösungen. Zu unseren langjährigen Kunden zählen
neckermann.de, Kodak und Telekom Training.

dmc auf Platz 8 im aktuellen New Media Service Ranking.
Als inhabergeführte und netzwerkunabhängige Agentur gehören wir mit einem
Umsatz von 13,50 Mio. Euro zu den Top 10 der erfolgreichsten New Media
Dienstleister in Deutschland.

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

    http://xircles.codehaus.org/manage_email

Reply via email to