Hello,
The XFire distribution includes only one simple example of a "contract first" design (write WSDL/XSD and generate Java from it), the 'geoip-client'. There is also a simple 'spring' example in the current distribution.
I put together another, more complete such example, which runs wsgen with the JAXWSProfile. In addition, my example also ties the former together with Spring, showing both the XFireExporter as well as the XFireClientFactoryBean (which the 'spring' example does not).
ZIP is on http://www.vorburger.ch/blog1/xfire-examples-wsgen-jaxws-spring12.zip
; Is there is an interest in including this in future distributions?
Regards.
PS: If the ZIP does not work for you, you might have to follow the instructions that mvn prints, to locally install the the modules/xfire-jaxws-1.2-RC.jar found in the xfire-1.2-RC distribution, as that does not appear to be on the Codehaus repository today.
____________________________________________________________________
Hi Michael,
Thanks for putting together a sample! Could you create a JIRA issue for
this and we can include it on our 1.2.1 release. If I'm feeling extra
motivated I may include it in 1.2. Cheers,
Thanks Michael!