I am new to CXF, so bear with me! 

I am using an external bindings file to "trick" my generated code to
reference a class in a parent project as such: 

<jaxws:bindings xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
node="wsdl:definitions/wsdl:portType/wsdlperation/wsdl:fau...@name='WebServiceException']">
 
<jaxws:class name="common.exception.WebServiceException"/> 
</jaxws:bindings> 

The reason I am doing this is to move this method up to a common project so
other sibling projects can use it as well. 

This works great as all of my generated WebServiceException references now
use the fully qualified path. 

My issue is that it creates a package common.exception and
WebServiceException class in my project. I can delete the package and it
works fine, but I want to have it not create the class. 

Also - It seems like I should be able to tell CXF to use an already existing
class in a referenced jar file and it should recognize not to create the
class in this project. Is this possible?

Any ideas? 

Thanks, Mike 
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-and-using-classes-in-referenced-jar-files-tp3236175p3236175.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to