Posts Tagged ‘ webservice ’
SCREENCAST GETTING THIS DONE / video tutorial i am still working on it, but this works so far: i am going to install appfuse with a new entity “Person”. The Method findByLastName is accessible through REST WS. for more operations on cxf restfull services see JAX-RS (JSR-311) this doc is explaining everythig For example: retrieving Collections needs an extra wrapper class. there [ READ MORE ]
edit the pom.xml file: change the spring version to 2.5.5. this is below <!– Framework dependency versions –> delete the dependency with the artifactId ‘xfire-java5′ and ‘xfire-spring’ insert the cxf dependencies: <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-api</artifactId> <version>2.1.3</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>2.1.3</version> <exclusions> <!-- [ READ MORE ]
get this here to work: http://appfuse.org/display/APF/Web+Services make a flex project with flexbuilder: if you are a student get flexbuilder for free at https://freeriatools.adobe.com/flex/ now edit the mxml file like this in flexbuilder go to DATA->imort webservices and get everything from http://127.0.0.1:8080/services/PersonService?wsdl start the flex client and see the person object return! for adding security do this: cp target/tutorial-service-2.0.2/WEB-INF/security.xml src/main/webapp/WEB-INF/ in case you havent [ READ MORE ]