0

我的 Windows 应用商店应用程序有问题。

我在服务器上远程托管了一个 Web 服务:

public class Service1 : System.Web.Services.WebService
{

    public class CustoSpec {
        public string VisitIDSpec { get; set; }

    }

    public class Customer
    {
        public string Name { get; set; }
        public string Prenom { get; set; }
        public string Born { get; set; }
        public string Email { get; set; }
        public int MVue { get; set; }
        public int Mvloin { get; set; }
        public int MvPres { get; set; }
        public int MvLoinPres { get; set; }
        public int MvvAbime { get; set; }
        public string MVAutre { get; set; }
        public int NOrdo { get; set; }
        public int NMonture { get; set; }
        public int Clunette { get; set; }
        public string RAutre { get; set; }
        public int PSolaire{ get; set; }
        public int PSolaireSol { get; set; }
        public int PSolaireAdapt { get; set; }
        public int PLunette { get; set; }
        public int PLentille { get; set; }
        public string  VOphta { get; set; }
        public string VOpticien { get; set; }
        public int Discrete { get; set; }
        public int Petite { get; set; }
        public int Actuelle { get; set; }
        public int Resistante { get; set; }
        public int Metal { get; set; }
        public int Plastique { get; set; }
        public int Fine { get; set; }
        public int Legere { get; set; }
        public int Grande { get; set; }
        public int Caractere { get; set; }
        public int Epaisse { get; set; }
        public string Marque { get; set; }
        public string Forme { get; set; }
        public string Couleurs { get; set; }
        public int NbLunette { get; set; }
        public int Budget { get; set; }
        public string Delai { get; set; }
        public string IDocumentation { get; set; }
        public string IOrdinateur { get; set; }
        public string IConsultation { get; set; }
        public string ICommerce { get; set; }
        public string IManuel { get; set; }
        public string IPrecision { get; set; }
        public string IMaison { get; set; }
        public string IEtude { get; set; }
        public string Autre { get; set; }
        public string IAutre { get; set; }
        public string Sport { get; set; }
        public string ISport { get; set; }
        public string ILecture { get; set; }
        public int LectureNbH { get; set; }
        public string LectPosAl { get; set; }
        public string InstrumentM { get; set; }
        public string IMusique { get; set; }
        public string IMultimedia { get; set; }
        public string IOrdinateurLoisir { get; set; }
        public string ITravailExt { get; set; }
        public string Creation { get; set; }
        public string ICreation { get; set; }
        public string AutreLoisir { get; set; }
        public string IAutreLoisir { get; set; }
        public string Conduite { get; set; }
        public string PMedical { get; set; }
        public string Notes { get; set; }
        public string Synthese { get; set; }
        public int VisitID { get; set; }
        public int VisitIDToSpec {get; set;}
    }

在我的应用程序中生成、发布 web 服务并更新服务引用后,Customer 类可用,但我的应用程序中的 CustoSpec 不可用!

我试图重新启动服务器,重新启动我的主机,但没有任何改变。

4

1 回答 1

0

在客户端上“可用”的唯一类是那些在服务的请求或响应中使用的类。

于 2013-09-06T10:15:24.430 回答