Skip to main content

Posts

Showing posts from September, 2016

Creating a CXF Maven Web Service Client in Eclpise

This post will describe its how easy to create web service client using cxf. create simple maven project  open eclipse  create maven project  quick start WSDL  I will using weather service to do the deployment. get the wsdl from http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL save it at src/main/wsdl/weather.wsdl add cxf plugin open the pom.xml create a tag  <build></build> inside <project> tag if not existing. create a <plugins></plugins> inside <build> tag paste following within <plugins> tags             <plugin>                 <groupId>org.apache.cxf</groupId>                 <artifactId>cxf-codegen-plugin</artifactId>                 <version>2.1.2</version>                 <executions>                     <execution>                         <id>generate-sources</id>                         <phase>generate-sources</phase>