Cosminexus サービスプラットフォーム 開発ガイド
WSDLファイルの作成方法の説明に使用するビジネスプロセスの例の内容について説明します。
WSDLの作成の例として使用するビジネスプロセスを次の図に示します。
図8-4 WSDLの作成の例として使用するビジネスプロセス
図8-4に示すビジネスプロセスで利用する電文フォーマットの例を次に示します。
<?xml version="1.0" encoding="UTF-8"?> <xsd:schema targetNamespace="http://www.example.org/request" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="Request1" type="xsd:string" /> </xsd:schema> |
<Request1>Sample request message</Request1> |
<?xml version="1.0" encoding="UTF-8"?> <xsd:schema targetNamespace="http://www.example.org/response" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="Response1" type="xsd:boolean" /> </xsd:schema> |
<Response1>true</Response1> |
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.example.org/service"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:svc="http://www.example.org/service">
<xsd:element name="Fault1" type="svc:SampleData"/>
<xsd:complexType name="SampleData">
<xsd:sequence>
<xsd:element name="param1" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
|
<Fault1> <param1>123</param1> </Fault1> |
All Rights Reserved. Copyright (C) 2006, 2008, Hitachi, Ltd.