| Kerry Reynolds 2005-01-17, 2:46 am |
| I'm trying to call business rules and use a schema with two root elements.
I'm unable to get the parameters to appear in the drop down of the call rules
shape. I'm sure I have the correct fully typed namespace in my project used
in the business rules engine.
The schema I'm using as a test is below. I have a message set to schema type
"MyNamespace.Schema.Schema1.Root" and in business rules composer the
namespace used is "MyNamespace.Schema.Schema1" so the facts in the rules
appear as "MyNamespace.Schema.Schema1:/Root/StatusID". I'm not using a
vocabulary yet to keep things simple.
Anyone have an idea what I need to do to get my parameters to appear in the
call rules shape?
<?xml version="1.0" encoding="utf-16" ?>
<xs:schema xmlns="http://MyNamespace.Schema.Schema1"
xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
targetNamespace="http://MyNamespace.Schema.Schema1"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Root">
<xs:complexType>
<xs:sequence>
<xs:element name="StatusID" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Root2">
<xs:complexType>
<xs:sequence>
<xs:element name="StatusID2" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
(The real world situation is with a SQL adaptor type schema with input and
output elements where I want to set an input parameter to a stored procedure
using business rules).
Cheers
|