|
Home > Archive > BizTalk Server Orchestration > June 2006 > Method for Validating Message against XSD from within Orchestratio
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Method for Validating Message against XSD from within Orchestratio
|
|
| Mike Stanbrook 2006-06-23, 7:19 pm |
| Anyone have a secret weapon for validating a "generated" message against an
XSD/Schema from within an Orchestration?
In the orchestration in question, we build a Message object of type
XmlDocument that is later assigned to a message object which is typed to one
of the schema files contained within the assembly. The goal here was to
validate the built document against the appropriate schema, however the
assignment of the XmlDoc object to the schema-typed message object doesn't
seem to be validating structure/content.
We are not using any SEND ports for the message structure in question, so
pipelines do not appear to be a valid option for schema validation.
| |
| Sujesh 2006-06-25, 1:19 am |
| Hi,
One option would be to pass the xmldocument to a .Net helper component and
validate it against the required schema inside the .net component.
If you are using BTS2006, you can call a pipeline inside your orchestration.
"Mike Stanbrook" wrote:
> Anyone have a secret weapon for validating a "generated" message against an
> XSD/Schema from within an Orchestration?
>
> In the orchestration in question, we build a Message object of type
> XmlDocument that is later assigned to a message object which is typed to one
> of the schema files contained within the assembly. The goal here was to
> validate the built document against the appropriate schema, however the
> assignment of the XmlDoc object to the schema-typed message object doesn't
> seem to be validating structure/content.
>
> We are not using any SEND ports for the message structure in question, so
> pipelines do not appear to be a valid option for schema validation.
|
|
|
|
|