© Copyright International Business Machines Corporation 2005. All rights reserved.
(C) Copyright IBM Japan 2006
このリリース情報ファイルには、WebSphereR Integration Developer アセンブリー・エディターの制限および既知の問題と次善策に関する最新情報が記載されています。
JavaTM コンポーネントでの WSDL インターフェース参照の Java インターフェース参照への変換は、WSDL インターフェース定義に複数パーツの戻りの型を持つ操作がある場合にはサポートされません。
また、Java コンポーネントの WSDL インターフェースに複数パーツの戻りの型を持つ操作がある場合は、Java 実装の作成もサポートされません。
これらの制限が存在するのは、サービス・コンポーネント・アーキテクチャー (SCA) がこれらの事例をサポートしていないためです。
コンポーネント、インポート、エクスポート、およびスタンドアロン参照を含む SCDL オブジェクトで使用可能な WSDL インターフェースのタイプには制限があります。
次のスキーマ・パターンは、これらのオブジェクトではサポートされません。
- WSDL インターフェースに NULL targetNamespace を持つインライン・スキーマがある場合
- WSDL インターフェースに参照されていない XSD インポートを持つインライン・スキーマがある場合
これらの 2 つの例のパターンは以下のとおりです。
- NULL ターゲット名前空間のインライン・スキーマ (targetNamespace 属性がないことに注意してください):
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:tns="http://Test/Test"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Test"
targetNamespace="http://Test/Test">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="operation1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="input1" nillable="true"
type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="operation1Response">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="output1" nillable="true"
type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="operation2">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="input1" nillable="true"
type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="operation1RequestMsg">
<wsdl:part element="tns:operation1" name="operation1Parameters" />
</wsdl:message>
<wsdl:message name="operation1ResponseMsg">
<wsdl:part element="tns:operation1Response"
name="operation1Result" />
</wsdl:message>
<wsdl:message name="operation2RequestMsg">
<wsdl:part element="tns:operation2" name="operation2Parameters" />
</wsdl:message>
<wsdl:portType name="Test">
<wsdl:operation name="operation1">
<wsdl:input message="tns:operation1RequestMsg"
name="operation1Request" />
<wsdl:output message="tns:operation1ResponseMsg"
name="operation1Response" />
</wsdl:operation>
<wsdl:operation name="operation2">
<wsdl:input message="tns:operation2RequestMsg"
name="operation2Request" />
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>
- 参照されていないインポート - BO2.xsd はインポートされるが、 インライン・スキーマのエレメントは BO2.xsd で何も参照していないことに注意してください。 ここで定義される型は、operation1ResponseMsg WSDL メッセージによって直接参照されています。
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:bons1="http://Test"
xmlns:bons2="http://Test/BO2" xmlns:tns="http://Test/Unref"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Unref"
targetNamespace="http://Test/Unref">
<wsdl:types>
<xsd:schema targetNamespace="http://Test/Unref"
xmlns:bons1="http://Test" xmlns:bons2="http://Test/BO2"
xmlns:tns="http://Test/Unref"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://Test"
schemaLocation="BO1.xsd" />
<xsd:import namespace="http://Test/BO2"
schemaLocation="BO2.xsd" />
<xsd:element name="operation1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="input1" nillable="true"
type="bons1:BO1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="operation1RequestMsg">
<wsdl:part element="tns:operation1" name="operation1Parameters" />
</wsdl:message>
<wsdl:message name="operation1ResponseMsg">
<wsdl:part type="bons2:BO2" name="operation1Result" />
</wsdl:message>
<wsdl:portType name="Unref">
<wsdl:operation name="operation1">
<wsdl:input message="tns:operation1RequestMsg"
name="operation1Request" />
<wsdl:output message="tns:operation1ResponseMsg"
name="operation1Response" />
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>
なし