Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 10894 invoked from network); 8 Apr 2007 15:04:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Apr 2007 15:04:59 -0000 Received: (qmail 55586 invoked by uid 500); 8 Apr 2007 15:05:00 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 55528 invoked by uid 500); 8 Apr 2007 15:04:59 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 55517 invoked by uid 99); 8 Apr 2007 15:04:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 08:04:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 08:04:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 43DA6714057 for ; Sun, 8 Apr 2007 08:04:32 -0700 (PDT) Message-ID: <15392317.1176044672244.JavaMail.jira@brutus> Date: Sun, 8 Apr 2007 08:04:32 -0700 (PDT) From: =?utf-8?Q?Jorge_Fern=C3=A1ndez_=28JIRA=29?= To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-2374) java char mapping for xml with xmlbeans In-Reply-To: <29805237.1174663232164.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-2374?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487443 ]=20 Jorge Fern=C3=A1ndez commented on AXIS2-2374: ---------------------------------------- I don't know why but I changed the code where I defined the char value and = it worked out. The only thing I've changed is the name of the type. The strange thing is that I had already tried modifying the name of the typ= e because I though=20 It could be any problem with the java char type.=20 Now the class is generated OK but the restriction on the length is omitted = so I can set any=20 String in the service and pass it to the client. =09=09=09 =09=09=09=09 =09=09=09=09=09 =09=09=09=09 =09=09=09 > java char mapping for xml with xmlbeans > --------------------------------------- > > Key: AXIS2-2374 > URL: https://issues.apache.org/jira/browse/AXIS2-2374 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: databinding > Affects Versions: 1.1.1 > Environment: Windows XP SP2, Java 1.5.0-11, Axis2 1.1.1,Eclipse 3= .2.1, Axis2 Eclipse Code Generator Plugin 1.2.1 > Reporter: Jorge Fern=C3=A1ndez > Attachments: charsample.zip > > > I have a java class with a char field and I tried to generate my wsdl fro= m that class. Instead of having a char, in the wsdl there was a anyType el= ement. > I realized that there's no mapping for that in xml so I googled to find o= ut a way of doing that and I found=20 > http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic= =3D/com.ibm.wbit.help.wiring.ui.doc/topics/rref_javatowsdltypemap.html > So I tried it. I modified the wsdl by hand as that document says. I'm usi= ng xmlbeans as databinding and I got the following exception running eclips= e plugin: > An error ocurred while completing the process -java.lang.InterruptedExce= ption: > java.lang.RuntimeException java.lang.reflect.InvocationTargetException > But if I do it with ADB, it seems to be no problem cos a _char class is g= enerated.=20 > So I tried to change the char definition name in my wsdl to avoid any con= flict it could be but the problem was still the same. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org