Validate Mapping Result Against a Schema in Receive Port



Hi there,

My problem seems simple and I need advices from my prefered BizTalk
community... I am using BizTalk 2006

I receive a message with key value parameters ex:
<Root>
<param key="Salaray" value="150000" />
<param key="Name" value="Hello" />
<param key="Job" value="World" />
</Root>

in the receive port I indicate a mapping that transforms this message
into (!by the way this transformation is done through an XSLT mapping)
<Root>
<Salary>150000</Salary>
<Name>Hello</Hello>
<Job>World</Job>
</Root>

NOW here is my problem, I need to validate the second message with a
custom schema, I want to raise error if for example the Name is not
present, or if there is a tag that is not declared in this schema. (All
the rules of presence, optional tags, ...etc. have to be implemented
only in the schema)

Can we do this check without using orchestrations? what is the best
solution? because once the message has gone through the port, then the
pipeline, then transformed, it is in the message box, but I don't want
it to get until the message box

Best Regards,
Stefan
http://www.itsconsulting.fr

.



Relevant Pages

  • Re: GEDcOM as a database format
    ... Who "creates" the schema and transforms for all the many programs ... How many weekend genealogists are going to even know what an XML ... standardised syntax for representing hierarchical data. ...
    (soc.genealogy.computing)
  • Re: GEDcOM as a database format
    ... Who "creates" the schema and transforms for all the many programs ... XML is touted as some sort of panacea. ... to the syntax, not to the semantics. ...
    (soc.genealogy.computing)
  • Re: GEDcOM as a database format
    ... Who "creates" the schema and transforms for all the many programs ... How many weekend genealogists are going to even know what an XML ... to the syntax, not to the semantics. ...
    (soc.genealogy.computing)
  • Re: Building new Access DB using XML Transforms
    ... I provide help with Access applications ... be used to generate XML files which must conform to a specified schema. ... Is it possible to build the tables using the schema, ... but I do not have enough knowledge on transforms to ...
    (microsoft.public.access.tablesdbdesign)