I have two web services that return the same type.
It doesn’t work… it generated proxies for each and sees them as two different types.
What are the typical causes for this?
Do I need to be using WCF for this to work?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When you add service references manually it treats them as completely independent and does not match the types.
If you use a manual WSDL generator (the command line tool) you have the option to merge types.
(I did this years ago so I don’t remember the specific options, but hope this helps point you in the right direction. Maybe someone else can provide a recent link?)