I recently selected a project that has a rather nasty build process. Hand-coded XSD schemes are read by JAXB to create a Java model of classes and factories that are used in hand-coded (annotated) Java web service classes, which are then deployed to the server, which is used as the source to read the full WSDL, to create a second model based on Java, which includes classes of service and a factory for the full WSDL that is used in client programs.
It sounds horrible, and I don’t think I need it to be so complicated, so at some point I would like to drop it all and
- Manually creating a WSDL, creating a complete model, and adding utility code.
- Or - Write service classes and models and create WSDL as needed on the server at run time.
In any case, I want to get one source base for the model, which can be used by both the server and clients, and have one “source of truth” for the model, where, as of right now, I feel that I have several.
At the moment, I am inclined to the second option, but what would you choose? And what technology would you use?
java java-ee wsdl web-services soa
drekka
source share