Hi,

Could you please elaborate your whole working flow?
Especially where and how commandParserFactory is used?
How you use SoapUI tool to invoke the service(which service? through cxf bc consumer?)

Freeman
On 2011-6-20, at 下午10:37, hbasic wrote:

I'm working on a system where I need to have two CXF-SE component with both of them having BC also. But when I try to use proxy in one of them, I don't get the proper results. If I have a method that returns a List, this list
will always be empry even though it's not. I have one component:

<cxfse:endpoint>
                <cxfse:pojo>
                        <bean class="hr.hrvoje.example.StationManagerService">  
        
                        </bean>
                </cxfse:pojo>
        </cxfse:endpoint>

and the second one:

<bean id="commandParserFactory"
class="hr.hrvoje.example.CommandParserFactory">
                <property name="stationManager">
                        <cxfse:proxy service="station:StationManagerService"
type="hr.hrvoje.example.ManagerService" />
                </property>
        </bean>

If I try to invoke StationManagerService method

public List<Station> getStations();

from the ComandParserFactory I always get an empty list.

However, if I try to invoke the service using the SoapUI tool, I get the
correct response.

How to I configure the proxy correctly?

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/CXF-proxy-problem-tp4506596p4506596.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to