The Get Services calls return a JSON message with any number of services. If no services match the Get Services request and are accessible to the user, the call returns an empty JSON message. Otherwise, the Get Services call returns a JSON message with one or more services that match the request and are accessible to the user. This section provides an example of a returned JSON message and describes the fields in the message.
The following message could be returned by any Get Services call. The WSDL schema is abbreviated in the listing but appears in full in the JSON message.
[
{
"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
}
]
}
]
The following lists and describes the fields that can appear in the service description. For all fields, the ESB site may provide guidelines and general practices, that provide information on how the fields are used in its service registry.