just created a contract-first wsdl… and actually its my first 😛 and yeah… there might be some errors… but those will be fixed at the end of the project… next year… 🙂
i created it in the frontend-clicky-thing of eclipse… kinda simple, but a bit random, how the wsdl will look like… lets just say, i hope for the best…
next task was to generate the java artifacts out of the wsdl file… with maven… and google really helped me: link
<plugin>Â Â Â <groupId>org.apache.cxf</groupId>Â Â Â <artifactId>cxf-codegen-plugin</artifactId>Â Â Â <version>${cxf.version}</version>Â Â Â <executions>Â Â Â Â Â Â <execution>Â Â Â Â Â Â Â Â Â <id>generate-sources</id>Â Â Â Â Â Â Â Â Â <phase>generate-sources</phase>Â Â Â Â Â Â Â Â Â <configuration>Â Â Â Â Â Â Â Â Â Â Â Â <sourceRoot>${project.build.directory}/generated/cxf</sourceRoot>Â Â Â Â Â Â Â Â Â Â Â Â <wsdlOptions>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â <wsdlOption>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â <wsdl>${basedir}/src/main/wsdl/myService.wsdl</wsdl>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â </wsdlOption>Â Â Â Â Â Â Â Â Â Â Â Â </wsdlOptions>Â Â Â Â Â Â Â Â Â </configuration>Â Â Â Â Â Â Â Â Â <goals>Â Â Â Â Â Â Â Â Â Â Â Â <goal>wsdl2java</goal>Â Â Â Â Â Â Â Â Â </goals>Â Â Â Â Â Â </execution>Â Â Â </executions></plugin>