client and server in same jvm

2007-06-13 Thread Gustavo Morozowski
I am trying to run a client and server using simple frontend, as documented, but in same jvm. I'm not including spring jars, so CXFBusFactory is being used. When the server service is created the DestinationFactory is null so the transportId is defined as "http://schemas.xmlsoap.org/wsdl/soap/";.

Re: CXF and Synapse

2007-06-13 Thread Dan Diephouse
Hi Eric, CXF is really (or at least I consider it) a services framework. That is, its focused on helping you build endpoints. Whereas synapse is more focused on mediating messages between those endpoints. Now some of the ActiveMQ/ServiceMix guys have been hacking this thing called Camel which do

Re: Spring/CXF Client

2007-06-13 Thread Brice Ruth
That's actually where its common to get multiple classloaders ;-) Especially easy in something like JBoss. Are you running in a full J2EE container or something more simple? I see you just indicated everything's in a single .war ... so, nothing being loaded from an .ear and a .war? Hrmpf ... that

Re: Spring/CXF Client

2007-06-13 Thread John Pederzolli
I should say all dependencies are in a single war file...so they should be using the same classloader... John Pederzolli wrote: > > Brice - Thanks for the reply. > > There is only a single classloader as this is running in a servlet > container... > > - John > > > Brice Ruth wrote: >> >>

Re: Spring/CXF Client

2007-06-13 Thread John Pederzolli
Brice - Thanks for the reply. There is only a single classloader as this is running in a servlet container... - John Brice Ruth wrote: > > I may be off-base, but the times I've seen this happen its been because > there's a classloader mismatch - e.g. the classloader that setup the > Spring >

Re: Spring/CXF Client

2007-06-13 Thread Brice Ruth
I may be off-base, but the times I've seen this happen its been because there's a classloader mismatch - e.g. the classloader that setup the Spring context is not the classloader that loaded the class you're injecting 'client' into. I've seen this type of error spit out (which is totally misleadin

Spring/CXF Client

2007-06-13 Thread John Pederzolli
I am trying to create a CXF client via the instructions found here: http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html When injecting the 'client' into the application, I get the error Cannot convert value of type [$Proxy85] to required type [demo.HelloWorldService] How do I ac

Re: Wsdl returned from secure service

2007-06-13 Thread Polar Humenn
Andrea Smyth wrote: Polar Humenn wrote: Sergey Beryozkin wrote: Hi This is a bit scary :-) I think I can remember a catalog solution being discussed. so that this xsi:location can be dropped, is it feasible to apply that catalog solution somehow ? I'm no expert on this, but things

CXF and Synapse

2007-06-13 Thread Eric Nygma
Hi , I am a newbie to CXF. In what way is Apache CXF different ( or enhanced ) than Apache Synapse. Can it provide similar kind of message mediation as Synapse ? Thanks. E \.

Re: Wsdl returned from secure service

2007-06-13 Thread Andrea Smyth
Polar Humenn wrote: Sergey Beryozkin wrote: Hi This is a bit scary :-) I think I can remember a catalog solution being discussed. so that this xsi:location can be dropped, is it feasible to apply that catalog solution somehow ? I'm no expert on this, but things like META-INF/spring.