Hi Guys,
I would like to ask your advise on how to setup my application context xml when the setting is like this:
This is working in a non-spring project. Now, I want to integrate this one in my spring. I don't know how to set this up in spring application context. Based on my understanding, we could do this via:Code:import com.testing.webservice.client.OnTheMarketService; import com.testing.webservice.client.OnTheMarketServiceService; ... protected static OnTheMarketService getOnTheMarketServiceBean() { if (onTheMarketServiceBean == null){ OnTheMarketServiceService service = new OnTheMarketServiceService(); onTheMarketServiceBean = service.getOnTheMarketServiceSoap11(); } return onTheMarketServiceBean; }
However, since the object that needs to be wired in my other classes should be of type OnTheMarketService, I don't know now how to work on this one.Code:<bean id="OnTheMarketServiceService" class="com.testing.webservice.client.OnTheMarketServiceService"/>
Can someone assist me on configuring this stuff?
Thanks in advance.


Reply With Quote