Last post Oct 02, 2013 03:10 AM by Steven Cheng - MSFT
Sep 27, 2013 12:47 AM|ramana123|LINK
We have a project whihc has to call a web service with soapextenionType which we have added in app.config file of the startup rpoject nad its working great.
But the problem now is, in the same project we have to call another webservice#2 which doenst have any soap extension type; When we are debugging this the call is not going to webservice#2 as before making a call to service#2 its calling soapextenions class
How to avoid this getting first service soap extenion into second client.
our confi looks like below..
the second service is in different namespace all together if we comapre with forst one.
Oct 01, 2013 08:14 AM|ramana123|LINK
any insight on this? we are really stuck with this!
Oct 02, 2013 03:10 AM|Steven Cheng - MSFT|LINK
For ASP.NET webservice, if you want to apply SoapExtension to them, there are two approaches:
#SOAP Message Modification Using SOAP Extensions
So for your scenario, I think you can consider switching to use the attribute based approach for registering SoapExtension.