My company is connecting to an external Web Service provider. This
provider provides an XML string back as a response to an XML request
which Biztalk creates and submits to the provider.
The issue I am encountering is that I have created an XSD for the
response that I expect to get which is in the format of something lke:
<RESPONSE>
<ELEMENT1>1</ELEMENT1>
<ELEMENT2>2</ELEMENT2>
</RESPONSE>
The problem is if the web service fails and reaches an error
condition, it returns something like:
<ERROR>There was an error</ERROR>
How can I set my Solicit Response ****t so that both messages are
recognized by application? In my orchestration, I have set my
HttpResponseMessage variable to the Schema related to the <RESPONSE>
message; but that won't work if I receive an <ERROR> schema.
This is somewhat urgent so I can complete this project for my boss
this week.
Thanks!