サービスの取得呼び出しにより、共に返されるサービスの数に関係なく、1 つの JSON メッセージが返されます。サービスの取得要求に一致していて、さらにユーザからアクセス可能であるサービスがない場合、呼び出しは空の JSON メッセージを返します。それ以外の場合は、サービスの取得呼び出しにより、要求に一致し、ユーザからアクセス可能な 1 つ以上のサービスと共に JSON メッセージが返されます。この節では、返される JSON メッセージの例を示し、メッセージ内のフィールドについて説明します。
いずれのサービスの取得呼び出しによっても、次のようなメッセージが返されます。WSDL スキーマは、リスト内では省略形で示されていますが、JSON メッセージでは完全な形で表示されます。
[
{
"Name": "MathServiceSOAP",
"Domain": "UnitTest",
"Version": "1.1",
"Stage": "Live",
"Protocol": "SOAP",
"Description": "Add 2 Numbers",
"Endpoint": "https://jgm6457/enslatest/csp/support/Demo.SOAP.MathService.cls",
"ResponseStyle": "Sync",
"LastModified": "2022-03-16 19:07:47.469",
"Topics":
[
"Test",
"Maths"
],
"Contacts":
[
{
"Identity": "QD Developer Moon",
"Type": "Operator",
"Details": "Details of contact",
"BusinessPartner": "QD",
"Notes": "This SOAP service is designed to have minimum moving parts"
}
],
"Schema":
{
"Type": "Notes",
"Ref": "https://jgm6457/enslatest/csp/support/Demo.SOAP.MathService.cls?wsdl=1",
"Content": "<definitions targetNamespace='http://tempuri.org'> ...</definitions>",
"Notes": "Some WSDL"
},
"Public": true,
"Attributes":
[
{
"Name": "One",
"Value": "1"
}
],
"Files":
[
{
"Filename": "SOAPMathService.WSDL",
"FileExtention": ".WSDL",
"MIMEType": "text/text",
"CharEncoding": "UTF-8",
"FileSize": "1.44 KB",
"Contents": null
}
],
"Actions":
[
{
"Name": "Sum",
"Ref": "Sum",
"Verb": "POST",
"Description": "Add up 2 numbers",
"ReadOnly": false,
"Idempotent": true
}
]
},
{
"Name": "PublicREST",
"Domain": "UnitTest",
"Version": "0.9",
"Stage": "Live",
"Protocol": "REST",
"Description": "REST Call for the Public Registry",
"Endpoint": "http://mymachine.mynetwork.com:57774/csp/registry/docserver/public",
"ResponseStyle": "Sync",
"LastModified": "2022-03-05 16:15:33.38",
"Topics":
[
"Public",
"Search",
],
"Public": true,
"Attributes":
[
{
"Name": "Security",
"Value": "Username and Password"
}
],
"Files":
[
{
"Filename": "TestPlan",
"MIMEType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"CharEncoding": "UTF-8",
"FileSize": "16.95 KB",
"Contents": null
}
],
"Actions":
[
{
"Name": "public",
"Ref": "public",
"Verb": "GET",
"Description": "Returns REST endpoint for public registry",
"RequestSchema":
{
"Type": "Notes",
"Notes": "This is the REST endpoint to query the public Registry"
},
"ResponseSchema":
{
"Type": "REST Information
},
"ReadOnly": true,
"Idempotent": true
}
]
}
]
以下に、サービスの記述に含まれる可能性のあるフィールドのリストと説明を示します。すべてのフィールドについて、ESB サイトには、ESB のサービス・レジストリのフィールドの使用に関する情報を提供するガイドラインと一般的な使用方法が記載されているはずです。