membrane / soa-model

Toolkit and Java API for WSDL, WADL and XML Schema.
http://www.membrane-soa.org/soa-model/
Apache License 2.0
93 stars 73 forks source link

The comparison does not seem to take extensions into account #283

Open frabac72 opened 2 years ago

frabac72 commented 2 years ago

In the code that my WSDL and XSD file are generated from I have a few classes extending other classes. That results in some of the complex types in my XSD being the extension of other complex types. For instance:

In the two versions I am comparing, scheduleChanges changed. For the operations in the WSDL that use scheduleChanges directly, the change is reported, for instance: Definitions: PortType ExtendedRescheduleEnquiryService: Operation loadRescheduleInformation: Output: Message loadRescheduleInformationResponse: Part result: Element loadRescheduleInformationResponse: ComplexType http://ws.chpconsulting.com/alfa/reschedule/v1/enquiry/loadRescheduleInformationResponse: Sequence: Element return: ComplexType http://ws.chpconsulting.com/alfa/reschedule/v1/scheduleChanges: ... On the contrary, no mention is made that changePaymentDayChanges has changed (and that the operations using it are affected). Any idea what I can do to bridge this apparent gap with extensions? Thanks!
predic8 commented 2 years ago

Thanks for reporting.

frabac72 commented 2 years ago

I would be happy to discuss the workaround I adopted, maybe not here though?

predic8 commented 2 years ago

Hi @frabac72, thanks for thoughts. SOA Model has not a high priority on our list anymore since Web Services and XML Schema are outdated. He make updates from time to time when we ourself need something. Feel free to fix the code and send a pull request if you want to.