Hi,

Please post your wsdl here, it's possible that the wsdl is using bare mode and 
several operation actually share same arguments so CXF can't really tell the 
difference when handle the incoming request.
-------------
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-9-12, at 上午1:57, Scott Finnie wrote:

> Hello all
> 
> First time cxf user so apologies upfront if I've missed something obvious / 
> done something stupid.
> 
> I've generated & built stock client & server using wsdl2java.  Server deploys 
> in tomcat OK and can run client: however the wrong server methods are being 
> invoked.  For example:
> 
> - client log:
>     [java] Testing searchForProperty...
>     [java] searchForProperty.result=null
>     [java] Testing retrieveProperty...
>     [java] retrieveProperty.result=null
> 
> - server log:
>       11-Sep-2013 18:18:24 com.xx.FLWebInterfaceImpl retrieveMyCases
>       INFO: Executing operation retrieveMyCases
>       11-Sep-2013 18:18:24 com.xx.FLWebInterfaceImpl retrieveMyCases
>       INFO: Executing operation retrieveMyCases
> 
> Don't understand why 'retrieveMyCases' is being called - it should be 
> 'searchForProperty' and 'retrieveProperty' respectively.  Assume there's 
> something screwed in marshalling/mapping but don't know where to start 
> looking.
> 
> Haven't changed any of the core files, they are as generated by wsdl2java.  
> Only change I've made is to move FLWebInterfaceImpl.java & 
> FLWebInterface_FL_Client.java into other dirs so they're separated from the 
> other generated files.
> 
> Project is built from a modified version of the auto-generated ant build.xml, 
> can post if that helps.
> 
> Env is cxf 2.7.6 on mac 10.7 / java 1.6.0_51 / tomcat 6.0.37.
> 
> Thanks for any help.
> 
> - Scott.

Reply via email to