Re: Need Help In Camel CXF

2010-06-01 Thread Carlo Camerino
i used a camel cxf producer using the cxf://address mapping i didn't specify any methods to call i just specified the service class and the address. cxf://http://localhost:8088/override/override?serviceClass="; + SERVICE_CLASS On Tue, Jun 1, 2010 at 11:06 PM, Carlo Camerino wrote: > there were

Re: Need Help In Camel CXF

2010-06-01 Thread Carlo Camerino
there were two interfaces right with two signatures... one is returning a List and the other one is returning void the list signature is as follows List getActiveUsers(OverrideRequestor requestor, Overridetransaction transaction). and the other one was void acceptOverrideRequest(OverrideReques

Re: Need Help In Camel CXF

2010-06-01 Thread Willem Jiang
Hi Carlo, I was confused, as your customer code can decide to call the getActiveUser or acceptOverrideRequest method. I can't see what's wrong with interface that you defined. Willem Carlo Camerino wrote: i think i got it now i think there was an issue with my itnerface naming and binding

Re: Need Help In Camel CXF

2010-06-01 Thread Carlo Camerino
i think i got it now i think there was an issue with my itnerface naming and binding it got confused with public List getActiveUsers(OverrideRequestor requestor, OverrideTransaction overrideTransaction); /** * This method accepts an override request coming from an override client.

Re: Need Help In Camel CXF

2010-06-01 Thread Carlo Camerino
i'm using latest camel version --> 2.3.0 is there anything i need to do? seems like the server is sending a blank reply to the client. it's still not working. here' sthe trace logs > > Client > > TRACE - ServiceHelper - Starting service: Producer[ > http://localhost:8088/override/ove

Re: Need Help In Camel CXF

2010-06-01 Thread Carlo Camerino
hi , it's still not working. here' sthe trace logs Client TRACE - ServiceHelper - Starting service: Producer[ http://localhost:8088/override/override] DEBUG - CxfProducer- Starting producer: Producer[ http://localhost:8088/override/override] DEBUG - ProducerCache

Re: Need Help In Camel CXF

2010-06-01 Thread Willem Jiang
Oh, your return object is a list, camel-cxf converter can't deal with this situation rightly. You need put this response into a Object array just like this Object[] result = new Object[1]; result[0] = messageContentsList; exchange.getOut().setBody(result); Willem Carlo Camerino wrote: it seem

Re: Need Help In Camel CXF

2010-06-01 Thread Willem Jiang
You don't need to put your response into a ArrayList, camel-cxf converter will take care of it. BTW, which version of Camel are you using? Willem Carlo Camerino wrote: Hi, I seem to be getting this problem in which I'm getting a blank reply comin gfrom the cxf web service. i use cxf:bean an

Re: Need Help In Camel CXF

2010-05-31 Thread Carlo Camerino
it seems to be a problem with the server side retrurning nothing here's how the reply looks like but in my reply i'm actually setting the out message body Here is my interface declaration btw /** * @author User * */ @WebService(name="overrideServer", serviceName="overrideServer") public interf

Need Help In Camel CXF

2010-05-31 Thread Carlo Camerino
Hi, I seem to be getting this problem in which I'm getting a blank reply comin gfrom the cxf web service. i use cxf:bean and cxf://address component What can i be doing wrong? thanks carlo Client Configuration @Override public void configure() throws Exception { from("direct:carlo")