IIS是怎么访问.dll的
lvcjh 2003-03-24 07:22:31 我在URL中输入:http://localhost/kbwy/Login.dll
它会出现
Login - Service Info Page
Login exposes the following interfaces:
ILogServer [WSDL]
Login
Logout
ChangePassword
IWSDLPublish [WSDL] Lists all the PortTypes published by this Service
GetPortTypeList
GetWSDLForPortType
GetTypeSystemsList
GetXSDForTypeSystem
点击[WSDL]会出现:http://localhost/kbwy/Login.dll/wsdl/ILogServer
内容为:
<?xml version="1.0" ?>
- <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ILogServerservice" targetNamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
- <message name="LoginRequest">
<part name="UserName" type="xs:string" />
<part name="PassWord" type="xs:string" />
<part name="SubSystem" type="xs:string" />
<part name="ComputeName" type="xs:string" />
<part name="ComputeIP" type="xs:string" />
</message>
- <message name="LoginResponse">
<part name="CanLogin" type="xs:string" />
<part name="Privileges" type="xs:string" />
<part name="LogID" type="xs:int" />
<part name="CanModifyPassword" type="xs:string" />
<part name="LoginTime" type="xs:TDateTime" />
<part name="Company" type="xs:string" />
</message>
- <message name="LogoutRequest">
<part name="LogID" type="xs:int" />
</message>
<message name="LogoutResponse" />
- <message name="ChangePasswordRequest">
<part name="UserName" type="xs:string" />
<part name="OldPassword" type="xs:string" />
<part name="NewPassword" type="xs:string" />
</message>
- <message name="ChangePasswordResponse">
<part name="return" type="xs:boolean" />
</message>
- <portType name="ILogServer">
- <operation name="Login">
<input message="tns:LoginRequest" />
<output message="tns:LoginResponse" />
</operation>
- <operation name="Logout">
<input message="tns:LogoutRequest" />
<output message="tns:LogoutResponse" />
</operation>
- <operation name="ChangePassword">
<input message="tns:ChangePasswordRequest" />
<output message="tns:ChangePasswordResponse" />
</operation>
</portType>
- <binding name="ILogServerbinding" type="tns:ILogServer">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="Login">
<soap:operation soapAction="urn:UnitLogServerInterface-ILogServer#Login" style="rpc" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:UnitLogServerInterface-ILogServer" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:UnitLogServerInterface-ILogServer" />
</output>
</operation>
- <operation name="Logout">
<soap:operation soapAction="urn:UnitLogServerInterface-ILogServer#Logout" style="rpc" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:UnitLogServerInterface-ILogServer" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:UnitLogServerInterface-ILogServer" />
</output>
</operation>
- <operation name="ChangePassword">
<soap:operation soapAction="urn:UnitLogServerInterface-ILogServer#ChangePassword" style="rpc" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:UnitLogServerInterface-ILogServer" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:UnitLogServerInterface-ILogServer" />
</output>
</operation>
</binding>
- <service name="ILogServerservice">
- <port name="ILogServerPort" binding="tns:ILogServerbinding">
<soap:address location="http://localhost/kbwy/Login.dll/soap/ILogServer" />
</port>
</service>
</definitions>