OpcXmlDaSrv
Click here for a complete list of operations.
Browse
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /XMLDADemo/TS_Sim/OpcDAGateway.asmx HTTP/1.1 Host: info.advosol.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://opcfoundation.org/webservices/XMLDA/1.0/Browse" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <Browse LocaleID="string" ClientRequestHandle="string" ItemPath="string" ItemName="string" ContinuationPoint="string" MaxElementsReturned="int" BrowseFilter="all or branch or item" ElementNameFilter="string" VendorFilter="string" ReturnAllProperties="boolean" ReturnPropertyValues="boolean" ReturnErrorText="boolean" xmlns="http://opcfoundation.org/webservices/XMLDA/1.0/"> <PropertyNames xmlns:q1="http://tempuri.org/SampleNamespace">q1:QName</PropertyNames> <PropertyNames xmlns:q1="http://tempuri.org/SampleNamespace">q1:QName</PropertyNames> </Browse> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <BrowseResponse ContinuationPoint="string" MoreElements="boolean" xmlns="http://opcfoundation.org/webservices/XMLDA/1.0/"> <BrowseResult RcvTime="dateTime" ReplyTime="dateTime" ClientRequestHandle="string" RevisedLocaleID="string" ServerState="running or failed or noConfig or suspended or test or commFault" /> <Elements IsItem="boolean" HasChildren="boolean" ItemName="string" Name="string" ItemPath="string"> <Properties ItemName="string" ResultID="q1:QName" xmlns:q1="http://tempuri.org/SampleNamespace" ItemPath="string" Name="q1:QName" Description="string"> <Value /> </Properties> <Properties ItemName="string" ResultID="q1:QName" xmlns:q1="http://tempuri.org/SampleNamespace" ItemPath="string" Name="q1:QName" Description="string"> <Value /> </Properties> </Elements> <Elements IsItem="boolean" HasChildren="boolean" ItemName="string" Name="string" ItemPath="string"> <Properties ItemName="string" ResultID="q1:QName" xmlns:q1="http://tempuri.org/SampleNamespace" ItemPath="string" Name="q1:QName" Description="string"> <Value /> </Properties> <Properties ItemName="string" ResultID="q1:QName" xmlns:q1="http://tempuri.org/SampleNamespace" ItemPath="string" Name="q1:QName" Description="string"> <Value /> </Properties> </Elements> <Errors ID="q1:QName" xmlns:q1="http://tempuri.org/SampleNamespace"> <Text>string</Text> </Errors> <Errors ID="q1:QName" xmlns:q1="http://tempuri.org/SampleNamespace"> <Text>string</Text> </Errors> </BrowseResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /XMLDADemo/TS_Sim/OpcDAGateway.asmx HTTP/1.1 Host: info.advosol.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <Browse LocaleID="string" ClientRequestHandle="string" ItemPath="string" ItemName="string" ContinuationPoint="string" MaxElementsReturned="int" BrowseFilter="all or branch or item" ElementNameFilter="string" VendorFilter="string" ReturnAllProperties="boolean" ReturnPropertyValues="boolean" ReturnErrorText="boolean" xmlns="http://opcfoundation.org/webservices/XMLDA/1.0/"> <PropertyNames xmlns:q1="http://tempuri.org/SampleNamespace">q1:QName</PropertyNames> <PropertyNames xmlns:q1="http://tempuri.org/SampleNamespace">q1:QName</PropertyNames> </Browse> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <BrowseResponse ContinuationPoint="string" MoreElements="boolean" xmlns="http://opcfoundation.org/webservices/XMLDA/1.0/"> <BrowseResult RcvTime="dateTime" ReplyTime="dateTime" ClientRequestHandle="string" RevisedLocaleID="string" ServerState="running or failed or noConfig or suspended or test or commFault" /> <Elements IsItem="boolean" HasChildren="boolean" ItemName="string" Name="string" ItemPath="string"> <Properties ItemName="string" ResultID="q1:QName" xmlns:q1="http://tempuri.org/SampleNamespace" ItemPath="string" Name="q1:QName" Description="string"> <Value /> </Properties> <Properties ItemName="string" ResultID="q1:QName" xmlns:q1="http://tempuri.org/SampleNamespace" ItemPath="string" Name="q1:QName" Description="string"> <Value /> </Properties> </Elements> <Elements IsItem="boolean" HasChildren="boolean" ItemName="string" Name="string" ItemPath="string"> <Properties ItemName="string" ResultID="q1:QName" xmlns:q1="http://tempuri.org/SampleNamespace" ItemPath="string" Name="q1:QName" Description="string"> <Value /> </Properties> <Properties ItemName="string" ResultID="q1:QName" xmlns:q1="http://tempuri.org/SampleNamespace" ItemPath="string" Name="q1:QName" Description="string"> <Value /> </Properties> </Elements> <Errors ID="q1:QName" xmlns:q1="http://tempuri.org/SampleNamespace"> <Text>string</Text> </Errors> <Errors ID="q1:QName" xmlns:q1="http://tempuri.org/SampleNamespace"> <Text>string</Text> </Errors> </BrowseResponse> </soap12:Body> </soap12:Envelope>