Changeset 1218


Ignore:
Timestamp:
Feb 28, 2010, 3:50:18 PM (12 years ago)
Author:
Tim Podeszwa
Message:

controller propertie added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WebService/WebService.cs

    r1082 r1218  
    207207            if (e.PropertyName.Equals("publishKey"))
    208208            {
    209                 this.publicKey = this.exportPublicKey();
     209               // this.publicKey = this.exportPublicKey();
     210                if (PublicKeyControl != null)
     211                {
     212                    PublicKeyControl.setPublicKey(this.exportPublicKey());
     213                }
    210214            }
    211215            if (e.PropertyName.Equals("exportWSDL"))
     
    426430           // this.checkSchema();
    427431            this.compiled();
     432            if (this.inputString == null)
     433                return;
    428434            if (this.inputString.GetElementsByTagName("ds:Signature") != null)
    429435            {
     
    663669        }
    664670       
    665         [PropertyInfo(Direction.ControlMaster,"Public-Key output", "Encryption Key",null,DisplayLevel.Beginner)]
     671    //    [PropertyInfo(Direction.ControlMaster,"Public-Key output", "Encryption Key",null,DisplayLevel.Beginner)]
    666672      public string publicKey
    667673    {
     
    678684           
    679685    }
    680 
     686        private IControlPublicKey publicKeyControl;
     687        [PropertyInfo(Direction.ControlMaster, "Public-Key output", "Encryption Key", null, DisplayLevel.Beginner)]
     688        public IControlPublicKey PublicKeyControl
     689        {
     690            get { return publicKeyControl; }
     691            set
     692            {
     693                publicKeyControl = value;
     694                publicKeyControl.setPublicKey(this.publicKey);
     695            }
     696        }
    681697        private IControlWsdl control;
    682698        [PropertyInfo(Direction.ControlMaster, "WSDL output", "Web Service Description", null, DisplayLevel.Beginner)]
     
    703719            }
    704720        }
    705         [PropertyInfo(Direction.InputData, "SOAP output", "Response from Web Service", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, "XmlOutputConverter")]
     721        [PropertyInfo(Direction.OutputData, "SOAP output", "Response from Web Service", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, "XmlOutputConverter")]
    706722        public XmlDocument OutputString
    707723        {
Note: See TracChangeset for help on using the changeset viewer.