If you're interested in functional programming, you might also want to checkout my second blog which i'm actively working on!!

Saturday, October 9, 2010

Building webservices with Spring-WS (part 7)

A big part of our applicationContext was already configured in demo-ws-servlet.xml mentioned in part 3.


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".


As you can see I used the mocked MovieDao implementation so we can do run some unit tests quickly.

No comments:

Post a Comment