コード例 #1
0
        public void Constructor()
        {
            MvmServiceProxy mvmServiceProxy;

            mvmServiceProxy = new MvmServiceProxy();
            Assert.IsNotNull(mvmServiceProxy);
        }
コード例 #2
0
        /// <summary>
        /// Static constructor.
        /// </summary>
        static WebServiceProxy()
        {
            // Set default proxy configuration values.
            _internetProtocol   = InternetProtocol.Https;
            _webServiceProtocol = WebServiceProtocol.Binary;
            Configuration       = new WebServiceConfiguration();

            // Create web service proxies.
            AnalysisService     = new AnalysisServiceProxy();
            NorsService         = new NorsServiceProxy();
            GeoReferenceService = new GeoReferenceServiceProxy();
            KulService          = new KulServiceProxy();
            MvmService          = new MvmServiceProxy();
            NorwayTaxonService  = new NorwayTaxonServiceProxy();
            PESINameService     = new PESINameServiceProxy();
            PictureService      = new PictureServiceProxy();
            ReferenceService    = new ReferenceServiceProxy();
            SersService         = new SersServiceProxy();
            SpeciesObservationHarvestService     = new SpeciesObservationHarvestServiceProxy();
            SwedishSpeciesObservationService     = new SwedishSpeciesObservationServiceProxy();
            SwedishSpeciesObservationSOAPService = new SwedishSpeciesObservationSOAPServiceProxy();
            TaxonAttributeService  = new TaxonAttributeServiceProxy();
            TaxonService           = new TaxonServiceProxy();
            DyntaxaInternalService = new DyntaxaInternalServiceProxy();
            UserService            = new UserServiceProxy();
            WramService            = new WramServiceProxy();
        }