Hi everybody!
First of all, please excuse my English which is very far from perfect (I’m
French).
I'm a newbie about web services.
I have to create a RCP app (this, I know) which will use some web services I
also have to create.
Anyway, now I have 2 web services (let’s call them WS1 and WS2) I can call
from 2 different plugins (P1 and P1) in my RCP app.
If I launch my app with the 2 plugins at the runtime, calling one of the 2
web services is OK, but if I call after that the other one, I have this
error (for example, P1 which uses WS1 is OK, but if I call after that P2
which uses WS2, I have a problem):

0 nov. 2007 16:30:37 org.apache.cxf.BusFactory newInstance
GRAVE: Failed to instantiate bus factory.
java.lang.ClassCastException: class
org.apache.cxf.bus.spring.SpringBusFactory
        at java.lang.Class.asSubclass(Unknown Source)
        at org.apache.cxf.BusFactory.newInstance(BusFactory.java:149)
        at org.apache.cxf.BusFactory.newInstance(BusFactory.java:132)
        at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)
        at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:58)
        at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:98)
        at
org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:54)
        at javax.xml.ws.Service.<init>(Service.java:56)
…

If I ever relaunch my application, and if I try to use the 2nd plugin and
the 2nd web service, it runs OK and I have the same error when I try to use
the first one after that(P2 which uses WS2, then P1 which uses WS1)…So the
problem does not come from one of my plugin particularly…Either it comes
from both, or from something else…
I really don’t understand what is going on…
Could somebody please help me?!!?
Thanks in advance!!!

-- 
View this message in context: 
http://www.nabble.com/Problems-calling-2-different-web-services-from-the-same-Eclipse-Runtime...-tf4844258.html#a13859455
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to