11.07.2015 Views

Anyframe CXF JAX-WS Plugin

Anyframe CXF JAX-WS Plugin

Anyframe CXF JAX-WS Plugin

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Asynchronous Invocation@WebService(targetNamespace = "http://asynch.jaxws.movie.sample.anyframe/asynch_soap_http")public interface MovieServiceAsynch {public List findMovieListAll() throws Exception;}...• Creating <strong>WS</strong>DL fileCreate <strong>WS</strong>DL file based on interface class. In this case, create it using java2ws among tools providedin Apache <strong>CXF</strong>. Execute the following command on command prompt. The execution location is theroot folder where the project exists.command>java2ws - wsdl - cp target/classesanyframe.sample.movie.jaxws.asynch.MovieServiceAsynchThe following is a part of the created <strong>WS</strong>DL file (MovieServiceAsynchService.wsdl). After created, ifyou wish to, you can modify information such as soap:address location.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!