Hello,

I have the case where I am building 4 web services. Each service exists in a
different project. I am using the wsdl2java maven codegen plugin. I defined
my model in a separate jar where i included all my POJOs. I generated my
model using jaxb after defining my schema. 

Now I am writing my wsdl files and I want to refer to my model in the
schema. For example, I have one web services that returns a Receipt object
as a result of an invocation. The same object is used by the invoking
service to supply as an argument for an invocation of a third web service.  

After generating my code using code-gen plugin. I noticed that each web
service is creating it is own Receipt class in its webapp. I don't want to
end up with three Receipt classes in three different packages!!

How can i write my wsdls, and define their schemas to point to my model?  


Amer
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/wsdl2java-JAXB-binding-tp3298341p3298341.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to