1

システム内の共通要素を処理するために、エンタープライズ レベルの XSD 構造を作成しています。例として、次の複合型があります。

<xs:complexType name="Person">
    <xs:attribute name="First" type="xs:string" />
    <xs:attribute name="Last" type="xs:string" />
</xs:complexType>

この複合型から、次の 2 つの要素を派生させます。

<xs:element name="Employee">
    <xs:extension base="Person" />
    <xs:attribute name="SSN" type="xs:string" />
</xs:element>

<xs:element name="Customer">
    <xs:extension base="Person" />
    <xs:attribute name="CustomerID" type="xs:integer" />
</xs:element>

「従業員」や「顧客」のような具体的な実装ではなく、「人」の複合型にバインドされる SOA サービスが必要です。基本的に、具体的な実装ではなく、多態的なオブジェクトとして SOA 入力を処理したいと考えています。

BPEL WSDL を具象要素ではなく抽象型にバインドする方法はありますか?

4

1 に答える 1