Hmmm, I’m tweaking my example BizTalk solution at the moment, and am stumped as to why the BizTalk project won’t let me add a web reference to my Active Directory Web Service!
My AD web service implements two web methods; one that returns a simple class (no inheritence, etc), the other one returns a collection class that implements System.Collections.CollectionBase.
When I split the two methods into separate web service implementations (two separate asmx’s with one method each), BizTalk will let me add a web reference to the web service with the simple class, but not the collection class 🙁
From what I can tell, BizTalk doesn’t like my class that inherits from CollectionBase. Now, CollectionBase itself implements three interfaces; IList, ICollection and IEnumerable. I’m not sure which one of these is the culprit, but I’m about to watch Scott’s webcast on the WSE 2.0 Adapter for BizTalk to see whether this is going to ease my pain.
Also, to all those who attended the App Sig on Tuesday night in Sydney (Oz), I haven’t forgotten you’ll, I just want to clean up the web service before I send it out 🙂