I am a newbie in WCF but (alas) I have been given this ***damned task......
I have got a SQL Server Integration Service (SSIS) 2005 (in .net 2 platform) package which needs to consume a third-party .net 3.5 WCF service. Generate the proxy class from WCF service using WSDL? Very well but the WCF service also requires
extra information for the SOAP header and the third party will not expose its AuthHeader info. So my option is to create another WCF (in basicHttpbinding), call the third party .net 3.5 WCF service (in wsHttpbinding), so SSIS 2005 can consume the web
service (because SSIS 2005 can only use proxy class that is generated in basicHttpbinding)
In summary, I need to create a "wrapper" WCF service for the .net 3.5 WCF service, and from the wrapper class, I can create the SOAP header and pass it on to the WCF 3.5 service......
What is the best approach for this? I discussed with my colleague, basically there are two ways (?) to do it:
1/ Generate a proxy class for the WCF 3.5 service, then copy and paste the proxy class in the wrapper WCF
2/ Connect the WCF 3.5 service as a service reference (but I also need to change the service reference URL dynamically)
In either case, do I have to replicate all the message contracts/class of the WCF 3.5 service in the wrapper class? OR is there any t
View Complete Post