XFire

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

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.2-RC
  • Fix Version/s: 1.2.1
  • Component/s: Documentation
  • Labels:
    None
  • Testcase included:
    yes
  • Number of attachments :
    0

Description

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

Activity

Hide
Dan Diephouse added a comment -

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!

Show
Dan Diephouse added a comment - 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!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: