Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OKBJavaConnector/src/main/resources/AuthenticationService.svc.xml @ 5765

Last change on this file since 5765 was 5765, checked in by mholper, 13 years ago

first call against AdminService working, WSIT-Files adapted (added TrustCallBackHandler) #1441

File size: 8.3 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<wsdl:definitions name="AuthenticationService"
3  targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
4  xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing"
5  xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
6  xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
7  xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"
8  xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"
9  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
10  xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
11  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
12  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsp1="http://www.w3.org/ns/ws-policy"
13  xmlns:sc="http://schemas.sun.com/2006/03/wss/client" xmlns:wspp="http://java.sun.com/xml/ns/wsit/policy">
14  <wsdl:types>
15    <xsd:schema targetNamespace="http://tempuri.org/Imports">
16      <xsd:import
17        schemaLocation="http://services.heuristiclab.com/OKB.SPR-3.3/AuthenticationService.svc?xsd=xsd0"
18        namespace="http://tempuri.org/" />
19      <xsd:import
20        schemaLocation="http://services.heuristiclab.com/OKB.SPR-3.3/AuthenticationService.svc?xsd=xsd1"
21        namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
22      <xsd:import
23        schemaLocation="http://services.heuristiclab.com/OKB.SPR-3.3/AuthenticationService.svc?xsd=xsd2"
24        namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Authentication.DataTransfer" />
25    </xsd:schema>
26  </wsdl:types>
27  <wsdl:message name="IAuthenticationService_GetUser_InputMessage">
28    <wsdl:part name="parameters" element="tns:GetUser" />
29  </wsdl:message>
30  <wsdl:message name="IAuthenticationService_GetUser_OutputMessage">
31    <wsdl:part name="parameters" element="tns:GetUserResponse" />
32  </wsdl:message>
33  <wsdl:message name="IAuthenticationService_GetUsers_InputMessage">
34    <wsdl:part name="parameters" element="tns:GetUsers" />
35  </wsdl:message>
36  <wsdl:message name="IAuthenticationService_GetUsers_OutputMessage">
37    <wsdl:part name="parameters" element="tns:GetUsersResponse" />
38  </wsdl:message>
39  <wsdl:portType name="IAuthenticationService">
40    <wsdl:operation name="GetUser">
41      <wsdl:input wsaw:Action="http://tempuri.org/IAuthenticationService/GetUser"
42        message="tns:IAuthenticationService_GetUser_InputMessage" />
43      <wsdl:output
44        wsaw:Action="http://tempuri.org/IAuthenticationService/GetUserResponse"
45        message="tns:IAuthenticationService_GetUser_OutputMessage" />
46    </wsdl:operation>
47    <wsdl:operation name="GetUsers">
48      <wsdl:input wsaw:Action="http://tempuri.org/IAuthenticationService/GetUsers"
49        message="tns:IAuthenticationService_GetUsers_InputMessage" />
50      <wsdl:output
51        wsaw:Action="http://tempuri.org/IAuthenticationService/GetUsersResponse"
52        message="tns:IAuthenticationService_GetUsers_OutputMessage" />
53    </wsdl:operation>
54  </wsdl:portType>
55  <wsdl:binding name="AuthenticationService" type="tns:IAuthenticationService">
56    <wsp1:PolicyReference URI="#JavaAuthenticationServicePolicy" />
57    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
58    <wsdl:operation name="GetUser">
59      <soap12:operation soapAction="http://tempuri.org/IAuthenticationService/GetUser"
60        style="document" />
61      <wsdl:input>
62        <soap12:body use="literal" />
63      </wsdl:input>
64      <wsdl:output>
65        <soap12:body use="literal" />
66      </wsdl:output>
67    </wsdl:operation>
68    <wsdl:operation name="GetUsers">
69      <soap12:operation
70        soapAction="http://tempuri.org/IAuthenticationService/GetUsers"
71        style="document" />
72      <wsdl:input>
73        <soap12:body use="literal" />
74      </wsdl:input>
75      <wsdl:output>
76        <soap12:body use="literal" />
77      </wsdl:output>
78    </wsdl:operation>
79  </wsdl:binding>
80  <wsdl:binding name="JavaAuthenticationService" type="tns:IAuthenticationService">
81    <wsp1:PolicyReference URI="#JavaAuthenticationServicePolicy" />
82    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
83    <wsdl:operation name="GetUser">
84      <soap12:operation soapAction="http://tempuri.org/IAuthenticationService/GetUser"
85        style="document" />
86      <wsdl:input>
87        <soap12:body use="literal" />
88      </wsdl:input>
89      <wsdl:output>
90        <soap12:body use="literal" />
91      </wsdl:output>
92    </wsdl:operation>
93    <wsdl:operation name="GetUsers">
94      <soap12:operation
95        soapAction="http://tempuri.org/IAuthenticationService/GetUsers"
96        style="document" />
97      <wsdl:input>
98        <soap12:body use="literal" />
99      </wsdl:input>
100      <wsdl:output>
101        <soap12:body use="literal" />
102      </wsdl:output>
103    </wsdl:operation>
104  </wsdl:binding>
105  <wsdl:service name="AuthenticationService">
106    <wsdl:port name="AuthenticationService" binding="tns:AuthenticationService">
107      <soap12:address
108        location="http://services.heuristiclab.com/OKB.SPR-3.3/AuthenticationService.svc" />
109      <wsa10:EndpointReference>
110        <wsa10:Address>http://services.heuristiclab.com/OKB.SPR-3.3/AuthenticationService.svc
111        </wsa10:Address>
112        <Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
113          <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
114            <X509Data>
115              <X509Certificate>MIICJjCCAY+gAwIBAgIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFADAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMB4XDTEwMDUxMTExMTQwMloXDTM5MTIzMTIzNTk1OVowJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAqtugcJsHO5PuFt9Ki0No/hSJxC+Qbh+qKQ2Ogkpa7bd8UEv2p64b6W390IISw1SDc3B5M2z5pv0oLhuBfOUCwesTvrSWjr0aNIhCuYN3N9O7zCK7uxScJPzoaZREOSdYWw4C98ziZa1pYLakVcQrVXRd166CPQXLTrdTZHir/XsCAwEAAaNZMFcwVQYDVR0BBE4wTIAQo24HWHeI+SYFLidVqPxsa6EmMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb22CEAiSx5DYQSGBTvbSokDrWCowDQYJKoZIhvcNAQEEBQADgYEAG/9sZNrkGnevLIUj5f7osVoLxSPFpMTkwaKTi2i7Q8cAnmd5llR3VfVZ4sR7U4bm5xAVwIWDgkEiF1rULlxVjvoB92Mo00SWOZE5l8rrwUU59/7KOUq0O0XZZvYX+hOWFV97QowMu8m1Mmg1JEH5h+b5r4L6TM0X7CdaoZ1KSYk=
116              </X509Certificate>
117            </X509Data>
118          </KeyInfo>
119        </Identity>
120      </wsa10:EndpointReference>
121    </wsdl:port>
122    <wsdl:port name="JavaAuthenticationService" binding="tns:JavaAuthenticationService">
123      <soap12:address
124        location="http://services.heuristiclab.com/OKB.SPR-3.3/AuthenticationService.svc/Java" />
125      <wsa10:EndpointReference>
126        <wsa10:Address>http://services.heuristiclab.com/OKB.SPR-3.3/AuthenticationService.svc/Java
127        </wsa10:Address>
128        <Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
129          <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
130            <X509Data>
131              <X509Certificate>MIICJjCCAY+gAwIBAgIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFADAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMB4XDTEwMDUxMTExMTQwMloXDTM5MTIzMTIzNTk1OVowJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAqtugcJsHO5PuFt9Ki0No/hSJxC+Qbh+qKQ2Ogkpa7bd8UEv2p64b6W390IISw1SDc3B5M2z5pv0oLhuBfOUCwesTvrSWjr0aNIhCuYN3N9O7zCK7uxScJPzoaZREOSdYWw4C98ziZa1pYLakVcQrVXRd166CPQXLTrdTZHir/XsCAwEAAaNZMFcwVQYDVR0BBE4wTIAQo24HWHeI+SYFLidVqPxsa6EmMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb22CEAiSx5DYQSGBTvbSokDrWCowDQYJKoZIhvcNAQEEBQADgYEAG/9sZNrkGnevLIUj5f7osVoLxSPFpMTkwaKTi2i7Q8cAnmd5llR3VfVZ4sR7U4bm5xAVwIWDgkEiF1rULlxVjvoB92Mo00SWOZE5l8rrwUU59/7KOUq0O0XZZvYX+hOWFV97QowMu8m1Mmg1JEH5h+b5r4L6TM0X7CdaoZ1KSYk=
132              </X509Certificate>
133            </X509Data>
134          </KeyInfo>
135        </Identity>
136      </wsa10:EndpointReference>
137    </wsdl:port>
138  </wsdl:service>
139  <wsp1:Policy wsu:Id="JavaAuthenticationServicePolicy">
140    <wsp1:ExactlyOne>
141      <wsp1:All>
142        <sc:CallbackHandlerConfiguration
143          wspp:visibility="private">
144          <sc:CallbackHandler default="okbtester" name="usernameHandler" />
145          <sc:CallbackHandler default="okbtester" name="passwordHandler" />
146        </sc:CallbackHandlerConfiguration>
147        <!-- using truststore handler to hide password -->
148        <sc:TrustStore xmlns:sc="http://schemas.sun.com/2006/03/wss/client"
149          wspp:visibility="private"
150          callbackHandler="com.heuristiclab.okb.wsclient.handler.TrustStoreCallbackHandler"
151          peeralias="okb" />
152      </wsp1:All>
153    </wsp1:ExactlyOne>
154  </wsp1:Policy>
155
156</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.