Sorry, I didn't run the test against Axis2, but my unit test is working with CXF (client and server).

Did you have a change to invoke the Axis2 web service successfully ?
Maybe you can try to capture the request message of the camel-cxf and the right one, to compare if there are some difference between these two messages.

Willem


devkatiyar wrote:


the web service i am calling that is Axis2 web service so in the service
side ... List type of parameter is not received



willem.jiang wrote:
devkatiyar wrote:
hi Willem ,
Thanks for reply what if in same  > sendMessage (
                        @WebParam(name = "carrierList") List<String> 
carrierList,
                        @WebParam(name = "recipientList") List<String> 
recipientList
                        String id ,
String count );
other string parameter is also there in the same list ..


Yes, you can treat the parameter are the list member. CxfProducer will take them out and put them into the CxfClient invoke parameter list.

Wille

Thanks ..







willem.jiang wrote:
Hi,

I just wrote some simple unit test[1] on the latest Camel trunk.
You just need to put the parameters into an Object array or a List, then put it into the message body, then Camel CxfProducer will take care of
them.

[1] http://svn.apache.org/viewvc?rev=953231&view=rev

Willem

devkatiyar wrote:
sendMessage (
                        @WebParam(name = "carrierList") List<String> 
carrierList,
                        @WebParam(name = "recipientList") List<String> 
recipientList);
)


so when i am calling web service ...passing as List type parameter
......when this call server web service List is not received ..
can any one tell help me or provide me some kind of example how to pass
complex kind of data type

Thanks ..

Dev






Reply via email to