RE: Activate external customer authentication
Hi,
This is pretty old stuff, but all you need to do is create a SOAP endpoint with the following WSDL which will receive a username and password and then return true or false. I believe it should be soap version 1.1, and I think Visual Studio has the possibility of implementing a SOAP service based on a WSDL.
Sverre
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types />
<wsdl:message name="loginSoapIn">
<wsdl:part name="username" type="s:string" />
<wsdl:part name="password" type="s:string" />
</wsdl:message>
<wsdl:message name="loginSoapOut">
<wsdl:part name="loginResult" type="s:boolean" />
</wsdl:message>
<wsdl:portType name="eJAuthSoap">
<wsdl:operation name="login">
<wsdl:input message="tns:loginSoapIn" />
<wsdl:output message="tns:loginSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="eJAuthSoap" type="tns:eJAuthSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="login">
<soap:operation soapAction="http://ejournal.ejournal.no/ExtAuth/DocumentBareLiteral" style="rpc" />
<wsdl:input>
<soap:body use="encoded" namespace="http://tempuri.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output>
<soap:body use="encoded" namespace="http://tempuri.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="eJAuth">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />
<wsdl:port name="eJAuthSoap" binding="tns:eJAuthSoap">
<soap:address location="http://localhost/AuthService/Service1.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>