ГОСТ Р ИСО 18435-3—2016
«interaction name="CavIn£oElicitaLion" operaLion="geLCaviLaLionInio"
channelVariable="Lns:PumpCtrl2CavDeLectionC“»
«description»Cavitation Information Elicitation
(This could be mapped to WSDL operation or topic in Rubli3h/Subscribe>
«/description»
<participate relationshipType="tns:PumpControl2PumpDiagnosticsn
£romRoleTypeRe£=“tns:PumpConLrolRole" LoRoleTypeRe£="tns:PunpDiag
nosticsRole"
/»
«exchange name=’CavInfoRequesLEx" inlormatior-Type-*tr.s:CavrtiloRequestType*
dction=“requesL“»
<descriptron>Cavitatior. Detection Request Message Exchange</descnptior.>
<send variable="CavIn£oRequest" />
«receive variable="CavIn£oRequesL" /»
</exchange>
«exchange r.airte="CavInioResponseEx* in£orsationType="tns:CavrnioRespor.seType"
ac tion="respond">
<deseription»CaviLdtion Detection Response Message Exchangee.■’description»
<send variable="CavIn£oResponse" /»
«receive variable="CavIn£oResponse" /»
«/exchange»
«/interaction»
«/in£ormationExchange»
«/ConLent Section»
«/MatrixElementBody»
«/ISO ADME>
B.6 Описание веб-сервиса, предназначенного для обмена информацией
0
Ниже приведен пример описания веб-сервиса, предназначенного для обмена информации при диагностике
состояния насоса и обеспечивающего его мониторинг.
«?xml version="l. ” encoding=“uL£-8“ ?»
«description
xmlns=
“http://www.w3.org/ns/wsdl"
targetNamespace=
"http://www.iso.org/2011/wsdl/pumpMoni
torSvc"
xmlns:tns=
“http://www.iso.org/2011/wsdl/punpMonitorSvc
"
xmlnsirms =
"http://www.iso.org/2011/schemas/punpMonitorSvc
"
xmlns:wsoap=
"http://www.w3.org/ns/wsdl/soap
"
xmlns:soap="
http://www.w3.org/2003/05/soap-envelope
"
xmlns:wsdlx=
“http://www.w3.org/ns/wsdl-extensions"»
«documentation»
This document describes the sample pump monitor service
«/docunentation>
«types»
<xs:schema
xmlns:xs="
http://www.w3.org/2001/XMLSchema
"
targetNamespace="
http://www.iso.org/2011/schemas/pumpMoniLorSvc
"
xmlns=”htLp://
www.iso.org/2011/schemas/pumpMonitorSvc"»
«хз:element name="CavIn£oRequest” type="CavIn£oRequestType"/»
<xs:complexTvpe name="CavIn£oRequestType">
«xs:sequence»
<xs:element name="pumpType" type="xs:string"/»
«xs:element name="pumpLocation“ type=“xs:string"/»
<xs:element name="checkTime" Lype="xs:time"/»
«/xs:sequence»
«/xs:complexTvpe»
«xs:element name=“CavIn£oResponse” Lype="CavIn£oReaponseTvpe"/»
«xs:complexType name="CavIn£oResponseType"»
<xs:sequence»
<xs:element name="pumpType" Lype="xs:string"/»
26