We have a webservice that is a passthrough to a third party webservice.
The third party webservice uses the classes that are named the same for
both the submission and result message. We have separated these out to
different namespaces in our webservice. Eg.
SubmissionMessage.WebServiceMessage
ResultMessage.WebServiceMessage
When we import this webservice as a web reference into our web
application. These different namespaces aren't preserved. Instead we
get the following classes
OurWebservice.WebServiceMessage
OurWebservice.WebServiceMessage1
I would like to have these classes split out into different namespaces
on the consumer side instead of these classes with the 1 postfix. I can
manually change the Reference.cs file, but since these files are
generated any updates will cause my changes to be overwritten. Does
anyone have a good solution to this problem?