camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devkatiyar <devendrakati...@gmail.com>
Subject Re: List in CXF Web Service using Camel
Date Sun, 13 Jun 2010 06:30:24 GMT



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
>>>>
>>>
>>>
>> 
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/List-in-CXF-Web-Service-using-Camel-tp28838758p28869388.html
Sent from the Camel Development mailing list archive at Nabble.com.


Mime
View raw message