Changeset 6147 for branches/OKBJavaConnector/AuthenticationService/src
- Timestamp:
- 05/07/11 14:06:47 (14 years ago)
- Location:
- branches/OKBJavaConnector/AuthenticationService/src
- Files:
-
- 5 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKBJavaConnector/AuthenticationService/src/META-INF/AuthenticationService.svc.xml
r6064 r6147 5 5 <wsp1:All> 6 6 <sc:CallbackHandlerConfiguration wspp:visibility="private"> 7 <sc:CallbackHandler default="okbtester" name="usernameHandler"/>8 <sc:CallbackHandler default="okbtester" name="passwordHandler"/>7 <sc:CallbackHandler name="usernameHandler" classname="handler.UserNameHandler"/> 8 <sc:CallbackHandler name="passwordHandler" classname="handler.UserNameHandler"/> 9 9 </sc:CallbackHandlerConfiguration> 10 10 </wsp1:All> -
branches/OKBJavaConnector/AuthenticationService/src/META-INF/jax-ws-catalog.xml
r6064 r6147 1 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 2 <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"> 3 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/RunCreationService.svc?wsdl" uri="xml-resources/web-service-references/RunCreationService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/RunCreationService.svc.wsdl"/>4 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/RunCreationService.svc?xsd=xsd0" uri="xml-resources/web-service-references/RunCreationService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/RunCreationService.svc.xsd_xsd0.xsd"/>5 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/RunCreationService.svc?xsd=xsd1" uri="xml-resources/web-service-references/RunCreationService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/RunCreationService.svc.xsd_xsd1.xsd"/>6 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/RunCreationService.svc?xsd=xsd2" uri="xml-resources/web-service-references/RunCreationService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/RunCreationService.svc.xsd_xsd2.xsd"/>7 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/QueryService.svc?wsdl" uri="xml-resources/web-service-references/QueryService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/QueryService.svc.wsdl"/>8 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/QueryService.svc?xsd=xsd0" uri="xml-resources/web-service-references/QueryService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/QueryService.svc.xsd_xsd0.xsd"/>9 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/QueryService.svc?xsd=xsd1" uri="xml-resources/web-service-references/QueryService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/QueryService.svc.xsd_xsd1.xsd"/>10 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/QueryService.svc?xsd=xsd2" uri="xml-resources/web-service-references/QueryService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/QueryService.svc.xsd_xsd2.xsd"/>11 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/QueryService.svc?xsd=xsd3" uri="xml-resources/web-service-references/QueryService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/QueryService.svc.xsd_xsd3.xsd"/>12 3 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?wsdl" uri="wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.wsdl"/> 13 4 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd0" uri="wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.xsd_xsd0.xsd"/> 14 5 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd1" uri="wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.xsd_xsd1.xsd"/> 15 6 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd2" uri="wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.xsd_xsd2.xsd"/> 7 <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd3" uri="wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.xsd_xsd3"/> 16 8 </catalog> -
branches/OKBJavaConnector/AuthenticationService/src/META-INF/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.wsdl
r6073 r6147 1 <?xml version="1.0" encoding="utf-8"?> 2 <wsdl:definitions name="AuthenticationService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> 3 <wsp:Policy wsu:Id="AuthenticationService_policy"> 4 <wsp:ExactlyOne> 5 <wsp:All> 6 <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> 7 <wsp:Policy> 8 <sp:TransportToken> 9 <wsp:Policy> 10 <sp:HttpsToken RequireClientCertificate="false"/> 11 </wsp:Policy> 12 </sp:TransportToken> 13 <sp:AlgorithmSuite> 14 <wsp:Policy> 15 <sp:Basic256/> 16 </wsp:Policy> 17 </sp:AlgorithmSuite> 18 <sp:Layout> 19 <wsp:Policy> 20 <sp:Lax/> 21 </wsp:Policy> 22 </sp:Layout> 23 <sp:IncludeTimestamp/> 24 </wsp:Policy> 25 </sp:TransportBinding> 26 <sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> 27 <wsp:Policy> 28 <sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"> 29 <wsp:Policy> 30 <sp:WssUsernameToken10/> 31 </wsp:Policy> 32 </sp:UsernameToken> 33 </wsp:Policy> 34 </sp:SignedSupportingTokens> 35 <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> 36 <wsp:Policy/> 37 </sp:Wss10> 38 </wsp:All> 39 </wsp:ExactlyOne> 40 </wsp:Policy> 41 <wsdl:types> 42 <xsd:schema targetNamespace="http://tempuri.org/Imports"> 43 <xsd:import schemaLocation="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd0" namespace="http://tempuri.org/"/> 44 <xsd:import schemaLocation="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/> 45 <xsd:import schemaLocation="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Authentication.DataTransfer"/> 46 </xsd:schema> 47 </wsdl:types> 48 <wsdl:message name="IAuthenticationService_GetUser_InputMessage"> 49 <wsdl:part name="parameters" element="tns:GetUser"/> 50 </wsdl:message> 51 <wsdl:message name="IAuthenticationService_GetUser_OutputMessage"> 52 <wsdl:part name="parameters" element="tns:GetUserResponse"/> 53 </wsdl:message> 54 <wsdl:message name="IAuthenticationService_GetUsers_InputMessage"> 55 <wsdl:part name="parameters" element="tns:GetUsers"/> 56 </wsdl:message> 57 <wsdl:message name="IAuthenticationService_GetUsers_OutputMessage"> 58 <wsdl:part name="parameters" element="tns:GetUsersResponse"/> 59 </wsdl:message> 60 <wsdl:portType name="IAuthenticationService"> 61 <wsdl:operation name="GetUser"> 62 <wsdl:input wsaw:Action="http://tempuri.org/IAuthenticationService/GetUser" message="tns:IAuthenticationService_GetUser_InputMessage"/> 63 <wsdl:output wsaw:Action="http://tempuri.org/IAuthenticationService/GetUserResponse" message="tns:IAuthenticationService_GetUser_OutputMessage"/> 64 </wsdl:operation> 65 <wsdl:operation name="GetUsers"> 66 <wsdl:input wsaw:Action="http://tempuri.org/IAuthenticationService/GetUsers" message="tns:IAuthenticationService_GetUsers_InputMessage"/> 67 <wsdl:output wsaw:Action="http://tempuri.org/IAuthenticationService/GetUsersResponse" message="tns:IAuthenticationService_GetUsers_OutputMessage"/> 68 </wsdl:operation> 69 </wsdl:portType> 70 <wsdl:binding name="AuthenticationService" type="tns:IAuthenticationService"> 71 <wsp:PolicyReference URI="#AuthenticationService_policy"/> 72 <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/> 73 <wsdl:operation name="GetUser"> 74 <soap:operation soapAction="http://tempuri.org/IAuthenticationService/GetUser" style="document"/> 75 <wsdl:input> 76 <soap:body use="literal"/> 77 </wsdl:input> 78 <wsdl:output> 79 <soap:body use="literal"/> 80 </wsdl:output> 81 </wsdl:operation> 82 <wsdl:operation name="GetUsers"> 83 <soap:operation soapAction="http://tempuri.org/IAuthenticationService/GetUsers" style="document"/> 84 <wsdl:input> 85 <soap:body use="literal"/> 86 </wsdl:input> 87 <wsdl:output> 88 <soap:body use="literal"/> 89 </wsdl:output> 90 </wsdl:operation> 91 </wsdl:binding> 92 <wsdl:service name="AuthenticationService"> 93 <wsdl:port name="AuthenticationService" binding="tns:AuthenticationService"> 94 <soap:address location="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc"/> 95 </wsdl:port> 96 </wsdl:service> 97 </wsdl:definitions> 1 <?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="AuthenticationService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><wsp:Policy wsu:Id="AuthenticationService_policy"><wsp:ExactlyOne><wsp:All><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Lax/></wsp:Policy></sp:Layout><sp:IncludeTimestamp/></wsp:Policy></sp:TransportBinding><sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"><wsp:Policy><sp:WssUsernameToken10/></wsp:Policy></sp:UsernameToken></wsp:Policy></sp:SignedSupportingTokens><sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy/></sp:Wss10></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import schemaLocation="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd0" namespace="http://tempuri.org/"/><xsd:import schemaLocation="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:import schemaLocation="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Authentication.DataTransfer"/></xsd:schema></wsdl:types><wsdl:message name="IAuthenticationService_GetUser_InputMessage"><wsdl:part name="parameters" element="tns:GetUser"/></wsdl:message><wsdl:message name="IAuthenticationService_GetUser_OutputMessage"><wsdl:part name="parameters" element="tns:GetUserResponse"/></wsdl:message><wsdl:message name="IAuthenticationService_GetUsers_InputMessage"><wsdl:part name="parameters" element="tns:GetUsers"/></wsdl:message><wsdl:message name="IAuthenticationService_GetUsers_OutputMessage"><wsdl:part name="parameters" element="tns:GetUsersResponse"/></wsdl:message><wsdl:portType name="IAuthenticationService"><wsdl:operation name="GetUser"><wsdl:input wsaw:Action="http://tempuri.org/IAuthenticationService/GetUser" message="tns:IAuthenticationService_GetUser_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IAuthenticationService/GetUserResponse" message="tns:IAuthenticationService_GetUser_OutputMessage"/></wsdl:operation><wsdl:operation name="GetUsers"><wsdl:input wsaw:Action="http://tempuri.org/IAuthenticationService/GetUsers" message="tns:IAuthenticationService_GetUsers_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IAuthenticationService/GetUsersResponse" message="tns:IAuthenticationService_GetUsers_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:binding name="AuthenticationService" type="tns:IAuthenticationService"><wsp:PolicyReference URI="#AuthenticationService_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="GetUser"><soap:operation soapAction="http://tempuri.org/IAuthenticationService/GetUser" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="GetUsers"><soap:operation soapAction="http://tempuri.org/IAuthenticationService/GetUsers" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="AuthenticationService"><wsdl:port name="AuthenticationService" binding="tns:AuthenticationService"><soap:address location="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc"/></wsdl:port></wsdl:service></wsdl:definitions> -
branches/OKBJavaConnector/AuthenticationService/src/authservice/Main.java
r6064 r6147 57 57 58 58 public void GetUsersTest() { 59 try { 60 AuthenticationService srv = new AuthenticationService(new URL("https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?wsdl")); 59 // try { 60 //AuthenticationService srv = new AuthenticationService(new URL("https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?wsdl")); 61 AuthenticationService srv = new AuthenticationService(); 61 62 IAuthenticationService port = srv.getAuthenticationService(); 62 63 … … 66 67 System.out.println("user Class:=" + user.getClass().getName()); 67 68 } 68 } catch (MalformedURLException ex) {69 Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);70 }69 //} catch (MalformedURLException ex) { 70 // Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex); 71 //} 71 72 } 72 73
Note: See TracChangeset
for help on using the changeset viewer.