Announcement Announcement Module
Collapse
No announcement yet.
Setting up Application Context XML Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting up Application Context XML

    Hi Guys,

    I would like to ask your advise on how to setup my application context xml when the setting is like this:

    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;
    	}
    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:
    <bean id="OnTheMarketServiceService" class="com.testing.webservice.client.OnTheMarketServiceService"/>
    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.

    Can someone assist me on configuring this stuff?

    Thanks in advance.

  • #2
    I am sorry, but this question has nothing to do with Spring Integration project. Please re-post in the appropriate forum.

    Comment

    Working...
    X