Hi,

If you wanna response have a string, the simplest way is change your wsdl,  as 
the wsdl is the file to describe the interface(input parameter, return value, 
etc)
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋



On 2013-6-26, at 上午7:27, Bindu wrote:

> I have an issue with cxf/spring client SOAP wsdl- webservice.
> I invoke a jaxws - client request to the wsdl operation that returns
> void(like insert operation).The soap xml request - response returns ok with
> 200 and isee in the cxf logs the whole soap envelope with the return values
> , with out any issue.
> I am not sure how to get the response which returns complextype -
> insertResponse operation , where i need to get a string value.
> 
> I could get a response from the wsdl operations that directly return the
> string value and are not void defined in the service endpoint interface(SEI)
> 
> few details of the code i tried:-
> service.insert(..parameters);
> InsertResponse response=?
> String number = response.getNumber();
> 
> I tried using cxf interceptors but not sure of the right way.
> 
> Any direction will be helpful to proceed further as i am stuck here.
> 
> Thanks
> Bindu
> 

Reply via email to