<p>I am implementing exception handling for our BizTalk services, and have run into a fairly major stumbling block.</p>

<p>In order to make the exception processing as generic as possible, and therefore to allow us to use it for any BizTalk application, our XML error schema includes an xs:any node, into which we can place a variety of data, depending on the actual exception.  The generated XML should then be presented to a user through an InfoPath 2003 form for manual intervention before being represented back to BizTalk.</p>

<p>The problem is that InfoPath 2003 doesn't like schemas with an xs:any node.  What we'd really like to do is the show the content of the exception report in a form with all relevant parameters mapped , and the entire content of the xs:any node in a text box, since users who are able to see these messages will be conversant with XML.  Unfortunately, I am unable to make InfoPath even load the schema at design time.</p>

<p>Does anyone have any recommendation for how to achieve what we need, please?</p>

[{'answer_id': 43084, 'author': 'bryansh', 'author_id': 211367, 'author_profile': 'https://Stackoverflow.com/users/211367', 'pm_score': 1, 'selected': False, 'text': '<p>Does your xs:any element have a minOccurs > 0?</p>\n\n<p><a href="http://msdn.microsoft.com/en-us/library/bb251017.aspx#UnsupportedConstructs" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/bb251017.aspx#UnsupportedConstructs</a></p>\n\n<p>I\'ve also read that due to the way that InfoPath works, it can not handly more than one schema for each namespace.  Hence, your xs:any (and the sequence that it defines) should have a unique namespace.</p>\n'}, {'answer_id': 46000, 'author': 'ZombieSheep', 'author_id': 377, 'author_profile': 'https://Stackoverflow.com/users/377', 'pm_score': 1, 'selected': True, 'text': "<p>Unfortunately, things have moved on, and we have (almost) made the decision not to use InfoPath for this requirement.  It's only partially to do with the xs:any issue, but more to do with (external) audit trails, calls to custom code and web services, and a couple of other factors.</p>\n"}]
['https://Stackoverflow.com/questions/37584', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/377/']