Sam Hogarth
12/21/2022, 2:31 PMSam Hogarth
12/21/2022, 2:32 PMBoris
12/21/2022, 10:37 PMSlackbot
12/21/2022, 10:37 PMBoris
12/21/2022, 10:39 PMBoris
12/21/2022, 10:41 PMMatt (pactflow.io / pact-js / pact-go)
To some extent I could see it working similarly to bi-directional contract testing, in that the contract must be a subset of the WSDL. But Iām not sure how much benefit you get from this in the same way you do with HTTP. Keen to be wrong on this thoYeah. We do have this on our list for BDCT, but Iām not yet convinced weāll actually be able to solve the problem. In my experience, and some of the examples Iāve seen, the schemas are so full of āoptionalā elements, that almost any XML document would match. Which, obviously, wouldnāt be too helpful š. But that may not be a reason to not do it for those that have useful schemas. I think schematron could also play a part here, which alleviates many of the problems XSD had (in practice, not theory). So the way BDCT works with OAS now, whilst suffers from a variant of the same problem, is nowhere near as bad.
Matt (pactflow.io / pact-js / pact-go)
WSDLs do have a small benefit in that you can generate code that will always (un)marshall correctly, but you canāt guarantee that everything that is expressed is valid.I think one of the reason why schemas tended to be so abstract with XSD, is that the way the clients/servers were built in that generation were not fault tolerant, so if you had a client that didnāt have exactly the same schema as the server, everything went š„
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Sam Hogarth
02/03/2023, 11:35 AM