History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-604
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Dan Diephouse
Reporter: Michael Vorburger
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XFire

Proposed new XFire example: Use of wsgen/xfire (contract first), and Spring

Created: 28/Aug/06 12:16 PM   Updated: 03/Sep/06 10:44 PM
Component/s: Documentation
Affects Version/s: 1.2-RC
Fix Version/s: 1.2.1

Time Tracking:
Not Specified

Testcase included: yes


 Description  « Hide
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,

  • Dan


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dan Diephouse - 03/Sep/06 10:44 PM
Just checked it into SVN. This got me off my butt and I fixed the following:
  • allow XFireClientFactory bean without a wsdl url
  • JAX-WS fault generation is now compliant and matches the RI
  • JAX-WS clients can be generated without generating a server stub (i.e. it won't overwrite yours )

Thanks Michael!