I'm working on a SOAP web service for which the WSDL and XSD files are received in the Non-English language, and hence the model data generated is also in another language. We cannot change the classes generated otherwise the web service won't work, and we don't want to use Non-English class names and fields in our existing code as it would be difficult to read and understand. To address this, I want to create some sort of bridge classes, which would in turn call Non-English classes.
For Example, while writing the Client, and calling the service class (non-english), I would call my bridge (or adaptor?) class written in English, which would in turn call the actual non-english class.
Is this an example of Adaptor pattern?
Is there a better alternative to this?
Any existing example for reference?
samedi 1 avril 2023
Java Design Pattern Suggestion for the case when Model Data generated from WSDL is Non-English
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire