スキーマの起動ページ
スキーマ・プロパティを入力します。
| 要素 | 説明 |
|---|---|
|
ファイルの内容の構造を指定しますか? |
|
|
次の選択肢の中のどれをファイル・コンテンツの構造の説明に使用しますか。 |
オプションを選択します。
|
XSDファイルの機能
-
アダプタは、ターゲット・ネームスペースのないXSDファイルのアップロードをサポートしています。 このような場合、XSDファイルにサロゲート名前空間が追加され、すべてのメッセージが使用されます:
http://xmlns.oracle.com/cloud/adapter/nxsd/surrogate -
アダプタは、他のXSDをインポートおよび含めることができる複雑なXSDをサポートしています。 ZIPファイルに含まれているXSDは、HTTPロケーションからXSDをインポートできます。 アダプタ・エンドポイント構成ウィザードで読取りおよび書込み操作用にアダプタを構成する場合は、すべてのXSDファイルをZIPファイルに追加してアップロードする必要があります。
次の例では、アップロードするZIPファイルの階層は次のとおりです:zipxsd.zip first.xsd second (folder) second.xsdfirst.xsdはsecond.xsdをインポートします。<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://xmlns.oracle.com/first" targetNamespace="http://xmlns.oracle.com/first" xmlns:tns1="http://xmlns.oracle.com/second"> <xs:import schemaLocation="./second/second.xsd" targetNamespace="http://xmlns.oracle.com/second"/> <xs:import schemaLocation="https://example.com/fscmService/ItemServiceV2? XSD=/xml/datagraph.xsd" targetNamespace="commonj.sdo"/> <xs:element name="book"> <xs:complexType> <xs:sequence> <xs:element name="isbn" type="xs:string"/> <xs:element name="title" type="xs:string"/> <xs:element name="author" type="tns1:author"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>second.xsdの内容は次のとおりです。<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://xmlns.oracle.com/second" targetNamespace="http://xmlns.oracle.com/second"> <xs:import schemaLocation="https://example.com/fscmService/ItemServiceV2? XSD=/mycompany/apps/scm/productModel/items/itemServiceV2/ItemAttachment.xsd" targetNamespace="http://xmlns.oracle.com/apps/scm/productModel/items/itemServiceV2/"/> <xs:complexType name="author"> <xs:sequence> <xs:element name="name" type="xs:string"/> <xs:element name="address" type="xs:string"/> </xs:sequence> </xs:complexType> <xs:element name="Admin"> <xs:complexType> <xs:sequence> <xs:element name="AdminName" type="xs:string"/> <xs:element name="AdminAdd" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>ノート:
HTTPSのロケーションからインポートする場合は、必ずSSL証明書をOracle Integrationにインポートしてください。