Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/09 20:27:43 (15 years ago)
Author:
gkronber
Message:

Implemented changes as requested by swagner. #799

Location:
branches/PluginInfrastructure Refactoring/HeuristicLab.PluginInfrastructure/Service References/UpdateLocationReference
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/PluginInfrastructure Refactoring/HeuristicLab.PluginInfrastructure/Service References/UpdateLocationReference/Reference.cs

    r2517 r2527  
    9595    internal interface IUpdateLocation {
    9696       
    97         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUpdateLocation/GetAvailablePlugins", ReplyAction="http://tempuri.org/IUpdateLocation/GetAvailablePluginsResponse")]
    98         HeuristicLab.PluginInfrastructure.UpdateLocationReference.PluginInformation[] GetAvailablePlugins();
     97        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUpdateLocation/GetAvailablePluginsByName", ReplyAction="http://tempuri.org/IUpdateLocation/GetAvailablePluginsByNameResponse")]
     98        HeuristicLab.PluginInfrastructure.UpdateLocationReference.PluginInformation[] GetAvailablePluginsByName(string name);
    9999       
    100         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUpdateLocation/GetPackedPlugin", ReplyAction="http://tempuri.org/IUpdateLocation/GetPackedPluginResponse")]
    101         System.IO.Stream GetPackedPlugin(HeuristicLab.PluginInfrastructure.UpdateLocationReference.PluginInformation info);
     100        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUpdateLocation/GetPluginFiles", ReplyAction="http://tempuri.org/IUpdateLocation/GetPluginFilesResponse")]
     101        byte[][] GetPluginFiles(HeuristicLab.PluginInfrastructure.UpdateLocationReference.PluginInformation info);
    102102    }
    103103   
     
    129129        }
    130130       
    131         public HeuristicLab.PluginInfrastructure.UpdateLocationReference.PluginInformation[] GetAvailablePlugins() {
    132             return base.Channel.GetAvailablePlugins();
     131        public HeuristicLab.PluginInfrastructure.UpdateLocationReference.PluginInformation[] GetAvailablePluginsByName(string name) {
     132            return base.Channel.GetAvailablePluginsByName(name);
    133133        }
    134134       
    135         public System.IO.Stream GetPackedPlugin(HeuristicLab.PluginInfrastructure.UpdateLocationReference.PluginInformation info) {
    136             return base.Channel.GetPackedPlugin(info);
     135        public byte[][] GetPluginFiles(HeuristicLab.PluginInfrastructure.UpdateLocationReference.PluginInformation info) {
     136            return base.Channel.GetPluginFiles(info);
    137137        }
    138138    }
  • branches/PluginInfrastructure Refactoring/HeuristicLab.PluginInfrastructure/Service References/UpdateLocationReference/UpdateLocation.wsdl

    r2517 r2527  
    107107    </wsp:ExactlyOne>
    108108  </wsp:Policy>
    109   <wsp:Policy wsu:Id="WSHttpBinding_IUpdateLocation_GetAvailablePlugins_Input_policy">
    110     <wsp:ExactlyOne>
    111       <wsp:All>
    112         <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
    113           <sp:Body />
    114           <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
    115           <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
    116           <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
    117           <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
    118           <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
    119           <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
    120           <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
    121         </sp:SignedParts>
    122         <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
    123           <sp:Body />
    124         </sp:EncryptedParts>
    125       </wsp:All>
    126     </wsp:ExactlyOne>
    127   </wsp:Policy>
    128   <wsp:Policy wsu:Id="WSHttpBinding_IUpdateLocation_GetAvailablePlugins_output_policy">
    129     <wsp:ExactlyOne>
    130       <wsp:All>
    131         <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
    132           <sp:Body />
    133           <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
    134           <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
    135           <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
    136           <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
    137           <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
    138           <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
    139           <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
    140         </sp:SignedParts>
    141         <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
    142           <sp:Body />
    143         </sp:EncryptedParts>
    144       </wsp:All>
    145     </wsp:ExactlyOne>
    146   </wsp:Policy>
    147   <wsp:Policy wsu:Id="WSHttpBinding_IUpdateLocation_GetPackedPlugin_Input_policy">
    148     <wsp:ExactlyOne>
    149       <wsp:All>
    150         <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
    151           <sp:Body />
    152           <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
    153           <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
    154           <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
    155           <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
    156           <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
    157           <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
    158           <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
    159         </sp:SignedParts>
    160         <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
    161           <sp:Body />
    162         </sp:EncryptedParts>
    163       </wsp:All>
    164     </wsp:ExactlyOne>
    165   </wsp:Policy>
    166   <wsp:Policy wsu:Id="WSHttpBinding_IUpdateLocation_GetPackedPlugin_output_policy">
     109  <wsp:Policy wsu:Id="WSHttpBinding_IUpdateLocation_GetAvailablePluginsByName_Input_policy">
     110    <wsp:ExactlyOne>
     111      <wsp:All>
     112        <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
     113          <sp:Body />
     114          <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
     115          <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
     116          <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
     117          <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
     118          <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
     119          <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
     120          <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
     121        </sp:SignedParts>
     122        <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
     123          <sp:Body />
     124        </sp:EncryptedParts>
     125      </wsp:All>
     126    </wsp:ExactlyOne>
     127  </wsp:Policy>
     128  <wsp:Policy wsu:Id="WSHttpBinding_IUpdateLocation_GetAvailablePluginsByName_output_policy">
     129    <wsp:ExactlyOne>
     130      <wsp:All>
     131        <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
     132          <sp:Body />
     133          <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
     134          <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
     135          <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
     136          <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
     137          <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
     138          <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
     139          <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
     140        </sp:SignedParts>
     141        <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
     142          <sp:Body />
     143        </sp:EncryptedParts>
     144      </wsp:All>
     145    </wsp:ExactlyOne>
     146  </wsp:Policy>
     147  <wsp:Policy wsu:Id="WSHttpBinding_IUpdateLocation_GetPluginFiles_Input_policy">
     148    <wsp:ExactlyOne>
     149      <wsp:All>
     150        <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
     151          <sp:Body />
     152          <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
     153          <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
     154          <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
     155          <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
     156          <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
     157          <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
     158          <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
     159        </sp:SignedParts>
     160        <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
     161          <sp:Body />
     162        </sp:EncryptedParts>
     163      </wsp:All>
     164    </wsp:ExactlyOne>
     165  </wsp:Policy>
     166  <wsp:Policy wsu:Id="WSHttpBinding_IUpdateLocation_GetPluginFiles_output_policy">
    167167    <wsp:ExactlyOne>
    168168      <wsp:All>
     
    189189      <xsd:import schemaLocation="http://localhost:59253/UpdateLocation.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Update.Service" />
    190190      <xsd:import schemaLocation="http://localhost:59253/UpdateLocation.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/System" />
    191       <xsd:import schemaLocation="http://localhost:59253/UpdateLocation.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/Message" />
     191      <xsd:import schemaLocation="http://localhost:59253/UpdateLocation.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
    192192    </xsd:schema>
    193193  </wsdl:types>
    194   <wsdl:message name="IUpdateLocation_GetAvailablePlugins_InputMessage">
    195     <wsdl:part name="parameters" element="tns:GetAvailablePlugins" />
    196   </wsdl:message>
    197   <wsdl:message name="IUpdateLocation_GetAvailablePlugins_OutputMessage">
    198     <wsdl:part name="parameters" element="tns:GetAvailablePluginsResponse" />
    199   </wsdl:message>
    200   <wsdl:message name="IUpdateLocation_GetPackedPlugin_InputMessage">
    201     <wsdl:part name="parameters" element="tns:GetPackedPlugin" />
    202   </wsdl:message>
    203   <wsdl:message name="IUpdateLocation_GetPackedPlugin_OutputMessage">
    204     <wsdl:part name="parameters" element="tns:GetPackedPluginResponse" />
     194  <wsdl:message name="IUpdateLocation_GetAvailablePluginsByName_InputMessage">
     195    <wsdl:part name="parameters" element="tns:GetAvailablePluginsByName" />
     196  </wsdl:message>
     197  <wsdl:message name="IUpdateLocation_GetAvailablePluginsByName_OutputMessage">
     198    <wsdl:part name="parameters" element="tns:GetAvailablePluginsByNameResponse" />
     199  </wsdl:message>
     200  <wsdl:message name="IUpdateLocation_GetPluginFiles_InputMessage">
     201    <wsdl:part name="parameters" element="tns:GetPluginFiles" />
     202  </wsdl:message>
     203  <wsdl:message name="IUpdateLocation_GetPluginFiles_OutputMessage">
     204    <wsdl:part name="parameters" element="tns:GetPluginFilesResponse" />
    205205  </wsdl:message>
    206206  <wsdl:portType name="IUpdateLocation">
    207     <wsdl:operation name="GetAvailablePlugins">
    208       <wsdl:input wsaw:Action="http://tempuri.org/IUpdateLocation/GetAvailablePlugins" message="tns:IUpdateLocation_GetAvailablePlugins_InputMessage" />
    209       <wsdl:output wsaw:Action="http://tempuri.org/IUpdateLocation/GetAvailablePluginsResponse" message="tns:IUpdateLocation_GetAvailablePlugins_OutputMessage" />
    210     </wsdl:operation>
    211     <wsdl:operation name="GetPackedPlugin">
    212       <wsdl:input wsaw:Action="http://tempuri.org/IUpdateLocation/GetPackedPlugin" message="tns:IUpdateLocation_GetPackedPlugin_InputMessage" />
    213       <wsdl:output wsaw:Action="http://tempuri.org/IUpdateLocation/GetPackedPluginResponse" message="tns:IUpdateLocation_GetPackedPlugin_OutputMessage" />
     207    <wsdl:operation name="GetAvailablePluginsByName">
     208      <wsdl:input wsaw:Action="http://tempuri.org/IUpdateLocation/GetAvailablePluginsByName" message="tns:IUpdateLocation_GetAvailablePluginsByName_InputMessage" />
     209      <wsdl:output wsaw:Action="http://tempuri.org/IUpdateLocation/GetAvailablePluginsByNameResponse" message="tns:IUpdateLocation_GetAvailablePluginsByName_OutputMessage" />
     210    </wsdl:operation>
     211    <wsdl:operation name="GetPluginFiles">
     212      <wsdl:input wsaw:Action="http://tempuri.org/IUpdateLocation/GetPluginFiles" message="tns:IUpdateLocation_GetPluginFiles_InputMessage" />
     213      <wsdl:output wsaw:Action="http://tempuri.org/IUpdateLocation/GetPluginFilesResponse" message="tns:IUpdateLocation_GetPluginFiles_OutputMessage" />
    214214    </wsdl:operation>
    215215  </wsdl:portType>
     
    217217    <wsp:PolicyReference URI="#WSHttpBinding_IUpdateLocation_policy" />
    218218    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    219     <wsdl:operation name="GetAvailablePlugins">
    220       <soap12:operation soapAction="http://tempuri.org/IUpdateLocation/GetAvailablePlugins" style="document" />
     219    <wsdl:operation name="GetAvailablePluginsByName">
     220      <soap12:operation soapAction="http://tempuri.org/IUpdateLocation/GetAvailablePluginsByName" style="document" />
    221221      <wsdl:input>
    222         <wsp:PolicyReference URI="#WSHttpBinding_IUpdateLocation_GetAvailablePlugins_Input_policy" />
     222        <wsp:PolicyReference URI="#WSHttpBinding_IUpdateLocation_GetAvailablePluginsByName_Input_policy" />
    223223        <soap12:body use="literal" />
    224224      </wsdl:input>
    225225      <wsdl:output>
    226         <wsp:PolicyReference URI="#WSHttpBinding_IUpdateLocation_GetAvailablePlugins_output_policy" />
     226        <wsp:PolicyReference URI="#WSHttpBinding_IUpdateLocation_GetAvailablePluginsByName_output_policy" />
    227227        <soap12:body use="literal" />
    228228      </wsdl:output>
    229229    </wsdl:operation>
    230     <wsdl:operation name="GetPackedPlugin">
    231       <soap12:operation soapAction="http://tempuri.org/IUpdateLocation/GetPackedPlugin" style="document" />
     230    <wsdl:operation name="GetPluginFiles">
     231      <soap12:operation soapAction="http://tempuri.org/IUpdateLocation/GetPluginFiles" style="document" />
    232232      <wsdl:input>
    233         <wsp:PolicyReference URI="#WSHttpBinding_IUpdateLocation_GetPackedPlugin_Input_policy" />
     233        <wsp:PolicyReference URI="#WSHttpBinding_IUpdateLocation_GetPluginFiles_Input_policy" />
    234234        <soap12:body use="literal" />
    235235      </wsdl:input>
    236236      <wsdl:output>
    237         <wsp:PolicyReference URI="#WSHttpBinding_IUpdateLocation_GetPackedPlugin_output_policy" />
     237        <wsp:PolicyReference URI="#WSHttpBinding_IUpdateLocation_GetPluginFiles_output_policy" />
    238238        <soap12:body use="literal" />
    239239      </wsdl:output>
  • branches/PluginInfrastructure Refactoring/HeuristicLab.PluginInfrastructure/Service References/UpdateLocationReference/UpdateLocation.xsd

    r2517 r2527  
    22<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    33  <xs:import schemaLocation="http://localhost:59253/UpdateLocation.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Update.Service" />
    4   <xs:import schemaLocation="http://localhost:59253/UpdateLocation.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/Message" />
    5   <xs:element name="GetAvailablePlugins">
    6     <xs:complexType>
    7       <xs:sequence />
    8     </xs:complexType>
    9   </xs:element>
    10   <xs:element name="GetAvailablePluginsResponse">
     4  <xs:import schemaLocation="http://localhost:59253/UpdateLocation.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
     5  <xs:element name="GetAvailablePluginsByName">
    116    <xs:complexType>
    127      <xs:sequence>
    13         <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/HeuristicLab.Update.Service" minOccurs="0" name="GetAvailablePluginsResult" nillable="true" type="q1:ArrayOfPluginInformation" />
     8        <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" />
    149      </xs:sequence>
    1510    </xs:complexType>
    1611  </xs:element>
    17   <xs:element name="GetPackedPlugin">
     12  <xs:element name="GetAvailablePluginsByNameResponse">
     13    <xs:complexType>
     14      <xs:sequence>
     15        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/HeuristicLab.Update.Service" minOccurs="0" name="GetAvailablePluginsByNameResult" nillable="true" type="q1:ArrayOfPluginInformation" />
     16      </xs:sequence>
     17    </xs:complexType>
     18  </xs:element>
     19  <xs:element name="GetPluginFiles">
    1820    <xs:complexType>
    1921      <xs:sequence>
     
    2224    </xs:complexType>
    2325  </xs:element>
    24   <xs:element name="GetPackedPluginResponse">
     26  <xs:element name="GetPluginFilesResponse">
    2527    <xs:complexType>
    2628      <xs:sequence>
    27         <xs:element xmlns:q3="http://schemas.microsoft.com/Message" name="GetPackedPluginResult" type="q3:StreamBody" />
     29        <xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="GetPluginFilesResult" nillable="true" type="q3:ArrayOfbase64Binary" />
    2830      </xs:sequence>
    2931    </xs:complexType>
  • branches/PluginInfrastructure Refactoring/HeuristicLab.PluginInfrastructure/Service References/UpdateLocationReference/UpdateLocation4.xsd

    r2517 r2527  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <xs:schema xmlns:tns="http://schemas.microsoft.com/Message" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/Message" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    3   <xs:simpleType name="StreamBody">
    4     <xs:restriction base="xs:base64Binary" />
    5   </xs:simpleType>
     2<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
     3  <xs:complexType name="ArrayOfbase64Binary">
     4    <xs:sequence>
     5      <xs:element minOccurs="0" maxOccurs="unbounded" name="base64Binary" nillable="true" type="xs:base64Binary" />
     6    </xs:sequence>
     7  </xs:complexType>
     8  <xs:element name="ArrayOfbase64Binary" nillable="true" type="tns:ArrayOfbase64Binary" />
    69</xs:schema>
Note: See TracChangeset for help on using the changeset viewer.