07-05-04 07:47 AM
Hi Avalro,
Thanks for your reply. The input given to the Policy Testing wizard
is wrong. When i changed the message to the outputschema, the policy
test wizard worked fine. Thanks. However, i've passed the right
message to the orchestration. It was not working.
Then i changed both the schmea files. I changed all the elements
(ID, Name, Balance, Status, StatusInfo) to "Record" instead of "Child
Field Elements". Now the orchestration started working by calling the
rule. Can you pls. let me know why? Can't the root node have elements
directly instead of records?
The orchestration worked fine with elements when the orchestration
was not integrated with Rules. When i called the rule from the
orchestration, it stopped working. Now everything works fine with
"Record" nodes under the root node.
Awaiting for your reply.
Thanks & Regards,
Senthil.
alvarom@online.microsoft.com (Alvaro Miranda [MSFT]) wrote in message news:<8I5daOyXEHA.
3748@cpmsftngxa06.phx.gbl>...
> It seems the problem is that the xml document AccountInput doesn't match
> the schema used to compose the rules (AccountOutputSchema.xsd). For
> instance, the root element in the document is 'Account', but in the rule
> definition it is called 'AccountInfo'. Also the target namespace doesn't
> match (it is http://BusinessRuleDemo.InputSchema in the document, but
> http://BusinessRuleDemo.OutputSchema in the rule).
> So I believe you need to change the rules to use the input schema instead.
> Another alternative is (assuming you have a map to transform AccountInput
> into AccountOutput), you could keep the rules as they are and pass
> AccountOutput for policy execution instead of AccountInput, as long as tha
t
> is done after the transformation is executed.
>
> --------------------
> <HXl8mevWEHA.328@cpmsftngxa10.phx.gbl>
> <4dce1b6a.0406290430.78bc7c39@posting.google.com>
> the
> <HXl8mevWEHA.328@cpmsftngxa10.phx.gbl>
> 12:30:28 GMT)
> wi
> ws
> rule.
> news:<HXl8mevWEHA.328@cpmsftngxa10.phx.gbl>...
> property
> the
> policy
> in
> orchestration.
> event
> 06:03:11 GMT)
> .s
> l
>
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>
> EBusiness Server Team
[ Post a follow-up to this message ]
|