Hi Ben,
it is true that you will want to adapt the service to the domain object
change. But you have to do it in a way that you can first create a new
service version that includes the change while in the same time still
offering the old version. So your clients can adapt one after the other.
Thanks Dan and Christian for the responses.
Christian: So from your email, I gather that use some sort of dto instead of
the actual domain object. However, let's say the the domain object changes
due to some user requirements, now won't my dto also change beacause I may
have to send extra data (ag
Hi Ben,
if you plan to use your domain object in a public service you should be
carefull. Directly using the object means you will be quite constrained
in changing it later. It is quite normal for a domain object to change
when your users needs change. With a object that is published in a
ser
With JAXB binding files, you can assign pre-generated "impl" types to
the schema types.
See:
http://svn.apache.org/repos/asf/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/ws-addr-wsdl.xjb
for an example.
Dan
On Jun 12, 2008, at 11:30 AM, Ben Berner wrote:
I have generated my
I have generated my domain classes (with middlegen tool for hibernate) and
there is a operation in my wsdl document that returns a domain object (e.g.
Employee), so I have to define that domain object as a port-type
(...)in the wsdl document. Now when I
run wsdl2java, won't this overwrite my pre-e