Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6147 for branches


Ignore:
Timestamp:
05/07/11 14:06:47 (14 years ago)
Author:
mholper
Message:

added UserNameHandler for all serviceProject, central in ECJClient #1441

Location:
branches/OKBJavaConnector/AuthenticationService
Files:
13 added
1 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • branches/OKBJavaConnector/AuthenticationService/catalog.xml

    r6064 r6147  
    1111    <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"/>
    1212    <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?wsdl" uri="xml-resources/web-service-references/AuthenticationService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.wsdl"/>
    13     <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd0" uri="xml-resources/web-service-references/AuthenticationService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.xsd_xsd0.xsd"/>
    14     <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd1" uri="xml-resources/web-service-references/AuthenticationService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.xsd_xsd1.xsd"/>
    15     <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd2" uri="xml-resources/web-service-references/AuthenticationService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.xsd_xsd2.xsd"/>
     13    <system systemId="file:/C:/Users/MartinH/Documents/NetBeansProjects/AuthenticationService/src/META-INF/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.wsdl" uri="xml-resources/web-service-references/AuthenticationService.svc/wsdl/AuthenticationService.svc.wsdl"/>
     14    <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd0" uri="xml-resources/web-service-references/AuthenticationService.svc/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.xsd_xsd0.xsd"/>
     15    <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd1" uri="xml-resources/web-service-references/AuthenticationService.svc/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.xsd_xsd1.xsd"/>
     16    <system systemId="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?xsd=xsd2" uri="xml-resources/web-service-references/AuthenticationService.svc/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.xsd_xsd2.xsd"/>
    1617</catalog>
  • branches/OKBJavaConnector/AuthenticationService/nbproject/build-impl.xml

    r6064 r6147  
    293293            <sequential>
    294294                <fail unless="javac.includes">Must set javac.includes</fail>
    295                 <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
     295                <pathconvert pathsep="," property="javac.includes.binary">
    296296                    <path>
    297297                        <filelist dir="@{destdir}" files="${javac.includes}"/>
     
    299299                    <globmapper from="*.java" to="*.class"/>
    300300                </pathconvert>
    301                 <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
    302                 <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
    303301                <delete>
    304                     <files includesfile="${javac.includesfile.binary}"/>
     302                    <files includes="${javac.includes.binary}"/>
    305303                </delete>
    306                 <delete file="${javac.includesfile.binary}"/>
    307304            </sequential>
    308305        </macrodef>
  • branches/OKBJavaConnector/AuthenticationService/nbproject/genfiles.properties

    r6064 r6147  
    11build.xml.data.CRC32=91684422
    22build.xml.script.CRC32=71235371
    3 build.xml.stylesheet.CRC32=28e38971@1.38.3.45
     3build.xml.stylesheet.CRC32=28e38971@1.38.2.45
    44# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
    55# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
    66nbproject/build-impl.xml.data.CRC32=91684422
    7 nbproject/build-impl.xml.script.CRC32=cedfb209
    8 nbproject/build-impl.xml.stylesheet.CRC32=229523de@1.38.3.45
     7nbproject/build-impl.xml.script.CRC32=71faff76
     8nbproject/build-impl.xml.stylesheet.CRC32=f33e10ff@1.38.2.45
  • branches/OKBJavaConnector/AuthenticationService/nbproject/jax-ws.xml

    r6064 r6147  
    33  <services/>
    44  <clients>
    5     <client name="AuthenticationService">
    6       <wsdl-url>https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?wsdl</wsdl-url>
    7       <local-wsdl-file>services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.wsdl</local-wsdl-file>
    8       <package-name forceReplace="true">com.heuristiclab.service.AuthenticationService</package-name>
     5    <client name="AuthenticationService.svc">
     6      <wsdl-url>file:/C:/Users/MartinH/Documents/NetBeansProjects/AuthenticationService/src/META-INF/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.wsdl</wsdl-url>
     7      <local-wsdl-file>AuthenticationService.svc.wsdl</local-wsdl-file>
     8      <package-name forceReplace="true">com.heuristiclab.services.authentication</package-name>
    99      <catalog-file>catalog.xml</catalog-file>
    1010      <use-dispatch>true</use-dispatch>
     
    2020        <wsimport-option>
    2121          <wsimport-option-name>wsdlLocation</wsimport-option-name>
    22           <wsimport-option-value>https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?wsdl</wsimport-option-value>
     22          <wsimport-option-value>file:/C:/Users/MartinH/Documents/NetBeansProjects/AuthenticationService/src/META-INF/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.wsdl</wsimport-option-value>
    2323        </wsimport-option>
    2424        <wsimport-option>
  • branches/OKBJavaConnector/AuthenticationService/nbproject/jaxws-build.xml

    r6064 r6147  
    1919        </taskdef>
    2020    </target>
    21     <target name="wsimport-client-AuthenticationService" depends="wsimport-init">
    22         <mkdir dir="${build.generated.dir}/jax-wsCache/AuthenticationService"/>
    23         <property name="wsdl-AuthenticationService" location="xml-resources/web-service-references/AuthenticationService/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.wsdl"/>
    24         <wsimport sourcedestdir="${build.generated.dir}/jax-wsCache/AuthenticationService" destdir="${build.generated.dir}/jax-wsCache/AuthenticationService" wsdl="${wsdl-AuthenticationService}" catalog="catalog.xml" extension="true" verbose="true" wsdlLocation="https://services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc?wsdl" xnocompile="true" xendorsed="true" package="com.heuristiclab.services.authentication">
    25             <depends file="${wsdl-AuthenticationService}"/>
    26             <produces dir="${build.generated.dir}/jax-wsCache/AuthenticationService"/>
     21    <target name="wsimport-client-AuthenticationService.svc" depends="wsimport-init">
     22        <mkdir dir="${build.generated.dir}/jax-wsCache/AuthenticationService.svc"/>
     23        <property name="wsdl-AuthenticationService.svc" location="xml-resources/web-service-references/AuthenticationService.svc/wsdl/AuthenticationService.svc.wsdl"/>
     24        <wsimport sourcedestdir="${build.generated.dir}/jax-wsCache/AuthenticationService.svc" destdir="${build.generated.dir}/jax-wsCache/AuthenticationService.svc" wsdl="${wsdl-AuthenticationService.svc}" catalog="catalog.xml" extension="true" verbose="true" wsdlLocation="file:/C:/Users/MartinH/Documents/NetBeansProjects/AuthenticationService/src/META-INF/wsdl/services.heuristiclab.com/OKB.SPR.Java-3.3/AuthenticationService.svc.wsdl" xnocompile="true" xendorsed="true" package="com.heuristiclab.services.authentication">
     25            <depends file="${wsdl-AuthenticationService.svc}"/>
     26            <produces dir="${build.generated.dir}/jax-wsCache/AuthenticationService.svc"/>
    2727        </wsimport>
    2828        <copy todir="${build.generated.sources.dir}/jax-ws">
    29             <fileset dir="${build.generated.dir}/jax-wsCache/AuthenticationService">
     29            <fileset dir="${build.generated.dir}/jax-wsCache/AuthenticationService.svc">
    3030                <include name="**/*.java"/>
    3131            </fileset>
    3232        </copy>
    3333    </target>
    34     <target name="wsimport-client-clean-AuthenticationService" depends="-init-project">
    35         <delete dir="${build.generated.dir}/jax-wsCache/AuthenticationService"/>
    36         <delete dir="${build.generated.sources.dir}/jax-ws/com/heuristiclab/service/AuthenticationService"/>
     34    <target name="wsimport-client-clean-AuthenticationService.svc" depends="-init-project">
     35        <delete dir="${build.generated.dir}/jax-wsCache/AuthenticationService.svc"/>
     36        <delete dir="${build.generated.sources.dir}/jax-ws/com/heuristiclab/services/authentication"/>
    3737    </target>
    38     <target name="wsimport-client-generate" depends="wsimport-client-AuthenticationService"/>
     38    <target name="wsimport-client-generate" depends="wsimport-client-AuthenticationService.svc"/>
    3939</project>
  • branches/OKBJavaConnector/AuthenticationService/src/META-INF/AuthenticationService.svc.xml

    r6064 r6147  
    55            <wsp1:All>
    66                <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"/>
    99                </sc:CallbackHandlerConfiguration>
    1010            </wsp1:All>
  • branches/OKBJavaConnector/AuthenticationService/src/META-INF/jax-ws-catalog.xml

    r6064 r6147  
    11<?xml version="1.0" encoding="UTF-8" standalone="no"?>
    22<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"/>
    123    <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"/>
    134    <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"/>
    145    <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"/>
    156    <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"/>
    168</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  
    5757
    5858    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();
    6162            IAuthenticationService port = srv.getAuthenticationService();
    6263
     
    6667                System.out.println("user Class:=" + user.getClass().getName());
    6768            }
    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        //}
    7172    }
    7273
Note: See TracChangeset for help on using the changeset viewer.