A big part of our applicationContext was already configured in demo-ws-servlet.xml mentioned in part 3.
demo-ws-servlet.xml:
The bean 'movieWSDL' takes care of autogenerating our WSDL which will be available at http://[servername]:[port]/webservicedemo/services/movieWSDL.wsdl and it's completely based on our xml schema which we defined as our first step. As you can remember I proposed to create a separate project 'movieDomain'. Hence i reference the schema with value="classpath:webservicedemo.xsd".
application-context.xml:
As you can see I used the mocked MovieDao implementation so we can do run some unit tests quickly.
No comments:
Post a Comment