If you are consuming a remote web service from BizTalk (or ASP.NET) and you are behind a proxy server, you may receive an exception when BizTalk tries to call that web service: System.Net.WebException - The underlying connection was closed: Unable to connect to the remote server at System.Net.HttpWebRequest.C... at System.Net.HttpWebRequest.E... asyncResult) at System.Net.HttpWebRequest.G... at System.Web.Services.Protoco... ......
A couple of nights ago I had a very salutory lesson in the importance of testing. It's nothing to do with developing software, but the same principles apply. I bought a new TV card for my PC, so needed to run a TV cable down to my study so that I could watch Euro 2004 whilst working on my PC. I already had a TV feed in the loft which split in two - one into my bedroom, one into the guest bedroom, so I decided to re-route the guest bedroom cable. One quick bit of drilling later, I ran the auto-tuner ......
I'm seriously, seriously impressed. Less than 48 hours after pinging Scott Woodgate about the mapper bug mentioned below and sending over a repro, he and a colleague have confirmed that it's a bug and registered it for a "likely" fix in SP1.
Thank you so much for the rapid response - being a BizTalk developer really makes you feel like part of a community, and having such a direct and effective interaction like this can only add to that.
The scenario: I receive a message from a 3rd party conforming to a particular schema. I want to send this off to a web service that I've created. I hand-crank some WSDL to define the web service, and <xs:import> the schema (plus a few others) so that I can be "strongly typed" in my web service definition instead of relying on XMLDocument or (shudder) String as a parameter type. I also add the <xs:import>ed schemas to my BizTalk solution. When I add a reference to the web service, BTS ......
If anyone can explain this bug to me I'd be really grateful! :-) I have defined a Web Service, one of the parameters to which is XML data confirming to a schema. The schema includes an abstract element, as described in this excellent article by Dare Obasanjo, as well as defining a valid subtype for the abstract element. I construct my message to the web service in the normal way: From my BTS project, I successfully add a web reference to the web service. In my orchestration I define a message of ......