Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 12898 invoked from network); 9 May 2007 04:56:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 May 2007 04:56:59 -0000 Received: (qmail 71227 invoked by uid 500); 9 May 2007 04:56:57 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 70856 invoked by uid 500); 9 May 2007 04:56:56 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 70845 invoked by uid 99); 9 May 2007 04:56:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 21:56:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of nicolas.rouiller@softcomponent.ch designates 84.16.68.89 as permitted sender) Received: from [84.16.68.89] (HELO smtp1.infomaniak.ch) (84.16.68.89) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 21:56:49 -0700 Received: from SCWS120 (151.4.90.85.cust.static.gepowernet.ch [85.90.4.151]) (authenticated bits=0) by smtp1.infomaniak.ch (8.13.6/8.13.6) with ESMTP id l494uQmo005646 for ; Wed, 9 May 2007 06:56:26 +0200 Message-Id: <200705090456.l494uQmo005646@smtp1.infomaniak.ch> From: "Nicolas Rouiller" To: Subject: Enum type in Axis2 Date: Wed, 9 May 2007 06:56:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: AceR9ma9J24zT3yvTzWczjnI5RpskQ== X-Antivirus: Dr.Web (R) for Mail Servers on smtp1 host X-Antivirus-Code: 100000 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I want to use an enumerate type in my web service. I uses this web serice from a .NET client. My problem is : when Visual Studio generate the client stub, the enumerate type is converted in the following class : [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://mesfilesprovide r.mes.softcomponent.ch/xsd")] public class MediaType { /// [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] public MediaType AUDIO; /// [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] public MediaType VIDEO; } Have you an idea? That would help me great!!! Nicolas --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org