ElementPS / Express.CSharp

Integration to Express API using c#
6 stars 5 forks source link

Strongly Typed DTOs #2

Open jdivy opened 4 years ago

jdivy commented 4 years ago

Would it be possible to get a lib published of request/response DTOs of some kind? I've been playing around with generators to use the published express endpoint xsd(s) as a means to generate some basic objects but none of them seem to work well. Xsd.exe also seems to fail here.

Seems to me that the endpoints are mature enough to not change much, but perhaps that's why it's left as an exercise to the developer to compose raw xml documents and do your own serialization/deserialization.

Just wanted to express (ha) my mild frustration at the choice between friction (fight with tooling that never works right) and tedium (roll my own everything to send strongly typed xml request/responses).

jdivy commented 4 years ago

Well, I found this https://github.com/iswix-llc/vxen right after I posted this, though now it seems there are some interesting differences between the SOAP based API and the pure XML api.