cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <>
Subject Re: How do I write and test a sample?
Date Fri, 18 Sep 2009 01:29:43 GMT

Normally, you're creating the SOAP client for somebody else's web service,
so, yes, you'll have the code generation within the client's pom.  My
SOAP-client only example does that:

Creating a special jar for the wsdl-first example was just a simplicity
issue so as not to duplicate the JAX-WS code generation for both service and
client.  It's not perfect; namely, the * file will still
hardcode a specific default reference to the WSDL file on the local machine,
not helpful if the client and service are on different machines.  To
increase portability, I was thinking of somehow including the WSDL in the
JAR file and having the * file point to *that* WSDL if possible. 
Still, for a simple tutorial the current method works.


Christian Schneider wrote:
> So I think my problem is solved but thanks for the nice example. I have 
> a question about the example. You create code from the wsdl into a 
> special jar. Wouldn´t it be easier to include the code generation into 
> the client and the server pom?
> Greetings
> Christian

View this message in context:
Sent from the cxf-dev mailing list archive at

View raw message