<?xml version="1.0" encoding="utf-8"?> <wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="OpcService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <wsp:Policy wsu:Id="NetTcpBinding_IOpcService_policy"> <wsp:ExactlyOne> <wsp:All> <wsrm:RMAssertion xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"> <wsrm:InactivityTimeout Milliseconds="3600000"> </wsrm:InactivityTimeout> <wsrm:AcknowledgementInterval Milliseconds="200"> </wsrm:AcknowledgementInterval> </wsrm:RMAssertion> <msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1"> </msb:BinaryEncoding> <wsaw:UsingAddressing> </wsaw:UsingAddressing> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> <wsdl:types> <xsd:schema targetNamespace="http://tempuri.org/Imports"> <xsd:import namespace="http://tempuri.org/" /> <xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> </xsd:schema> </wsdl:types> <wsdl:message name="IOpcService_Register_InputMessage"> <wsdl:part name="parameters" element="tns:Register" /> </wsdl:message> <wsdl:message name="IOpcService_Register_OutputMessage"> <wsdl:part name="parameters" element="tns:RegisterResponse" /> </wsdl:message> <wsdl:message name="IOpcService_Logout_InputMessage"> <wsdl:part name="parameters" element="tns:Logout" /> </wsdl:message> <wsdl:message name="IOpcService_Logout_OutputMessage"> <wsdl:part name="parameters" element="tns:LogoutResponse" /> </wsdl:message> <wsdl:message name="IOpcService_SendOperateOrder_InputMessage"> <wsdl:part name="parameters" element="tns:SendOperateOrder" /> </wsdl:message> <wsdl:message name="IOpcService_SendOperateOrder_OutputMessage"> <wsdl:part name="parameters" element="tns:SendOperateOrderResponse" /> </wsdl:message> <wsdl:message name="IOpcService_UpdateClientInfo_InputMessage"> <wsdl:part name="parameters" element="tns:UpdateClientInfo" /> </wsdl:message> <wsdl:message name="IOpcService_UpdateClientInfo_OutputMessage"> <wsdl:part name="parameters" element="tns:UpdateClientInfoResponse" /> </wsdl:message> <wsdl:message name="IOpcService_ReturnResult_OutputCallbackMessage"> <wsdl:part name="parameters" element="tns:ReturnResult" /> </wsdl:message> <wsdl:portType msc:usingSession="true" name="IOpcService"> <wsdl:operation msc:isInitiating="true" msc:isTerminating="false" name="Register"> <wsdl:input wsaw:Action="http://tempuri.org/IOpcService/Register" message="tns:IOpcService_Register_InputMessage" /> <wsdl:output wsaw:Action="http://tempuri.org/IOpcService/RegisterResponse" message="tns:IOpcService_Register_OutputMessage" /> </wsdl:operation> <wsdl:operation msc:isInitiating="false" msc:isTerminating="true" name="Logout"> <wsdl:input wsaw:Action="http://tempuri.org/IOpcService/Logout" message="tns:IOpcService_Logout_InputMessage" /> <wsdl:output wsaw:Action="http://tempuri.org/IOpcService/LogoutResponse" message="tns:IOpcService_Logout_OutputMessage" /> </wsdl:operation> <wsdl:operation msc:isInitiating="true" msc:isTerminating="false" name="SendOperateOrder"> <wsdl:input wsaw:Action="http://tempuri.org/IOpcService/SendOperateOrder" message="tns:IOpcService_SendOperateOrder_InputMessage" /> <wsdl:output wsaw:Action="http://tempuri.org/IOpcService/SendOperateOrderResponse" message="tns:IOpcService_SendOperateOrder_OutputMessage" /> </wsdl:operation> <wsdl:operation msc:isInitiating="false" msc:isTerminating="true" name="UpdateClientInfo"> <wsdl:input wsaw:Action="http://tempuri.org/IOpcService/UpdateClientInfo" message="tns:IOpcService_UpdateClientInfo_InputMessage" /> <wsdl:output wsaw:Action="http://tempuri.org/IOpcService/UpdateClientInfoResponse" message="tns:IOpcService_UpdateClientInfo_OutputMessage" /> </wsdl:operation> <wsdl:operation msc:isInitiating="true" msc:isTerminating="false" name="ReturnResult"> <wsdl:output wsaw:Action="http://tempuri.org/IOpcService/ReturnResult" message="tns:IOpcService_ReturnResult_OutputCallbackMessage" /> </wsdl:operation> </wsdl:portType> <wsdl:binding name="NetTcpBinding_IOpcService" type="tns:IOpcService"> <wsp:PolicyReference URI="#NetTcpBinding_IOpcService_policy"> </wsp:PolicyReference> <soap12:binding transport="http://schemas.microsoft.com/soap/tcp" /> <wsdl:operation name="Register"> <soap12:operation soapAction="http://tempuri.org/IOpcService/Register" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> <wsdl:output> <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> <wsdl:operation name="Logout"> <soap12:operation soapAction="http://tempuri.org/IOpcService/Logout" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> <wsdl:output> <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> <wsdl:operation name="SendOperateOrder"> <soap12:operation soapAction="http://tempuri.org/IOpcService/SendOperateOrder" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> <wsdl:output> <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> <wsdl:operation name="UpdateClientInfo"> <soap12:operation soapAction="http://tempuri.org/IOpcService/UpdateClientInfo" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> <wsdl:output> <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> <wsdl:operation name="ReturnResult"> <soap12:operation soapAction="http://tempuri.org/IOpcService/ReturnResult" style="document" /> <wsdl:output> <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="OpcService"> <wsdl:port name="NetTcpBinding_IOpcService" binding="tns:NetTcpBinding_IOpcService"> <soap12:address location="net.tcp://192.168.0.106:4444/OpcService" /> <wsa10:EndpointReference> <wsa10:Address>net.tcp://192.168.0.106:4444/OpcService</wsa10:Address> </wsa10:EndpointReference> </wsdl:port> </wsdl:service> </wsdl:definitions>