N
Nick Locke
I have a web service with four operations in it - add/amend/delete/retrieve.
Not surprisingly, add and amend require the same data; with delete and
retrieve each requiring just a key field. Concepts of re-use tell me that
my XSD should define the data once and the key field once, then in my WSDL I
should use each definition twice. In other words, my types should get
re-used in different WSDL messages.
However, wsdl.exe complains, citing "R2710 - ....must result in wire
signatures that are different.....". It's only a warning, but I am trying
to get this right (not almost right). I have read up on why this happens
and why it is in the standard.
BUT is there a way out that does not mean defining identical types twice?
Thanks, Nick.
Not surprisingly, add and amend require the same data; with delete and
retrieve each requiring just a key field. Concepts of re-use tell me that
my XSD should define the data once and the key field once, then in my WSDL I
should use each definition twice. In other words, my types should get
re-used in different WSDL messages.
However, wsdl.exe complains, citing "R2710 - ....must result in wire
signatures that are different.....". It's only a warning, but I am trying
to get this right (not almost right). I have read up on why this happens
and why it is in the standard.
BUT is there a way out that does not mean defining identical types twice?
Thanks, Nick.