axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Daniels <gdani...@macromedia.com>
Subject RE: Compile error on generated client stubs
Date Thu, 28 Mar 2002 02:59:32 GMT

We could, I suppose, map char/Character to xsd:string, and then provide a conversion from
String -> char/Character which verified that there was only a single character....

--Glen

> -----Original Message-----
> From: David L. Cole [mailto:DLCole@cmsenergy.com]
> Sent: Tuesday, March 26, 2002 6:04 PM
> To: axis-dev@xml.apache.org
> Subject: Re: Compile error on generated client stubs
> 
> 
> 
> As a note: This error also occurs as a result of a method 
> which returns a
> java.lang.Character. They are mapped the same way.
> 
> 
> 
>                                                               
>                                                        
>                     "Russell                                  
>                                                        
>                     Butek"               To:     
> axis-dev@xml.apache.org                                             
>                     <butek@us.ibm        cc:                  
>                                                        
>                     .com>                Subject:     Re: 
> Compile error on generated client stubs                    
>                                                               
>                                                        
>                     03/26/2002                                
>                                                        
>                     04:07 PM                                  
>                                                        
>                     Please                                    
>                                                        
>                     respond to                                
>                                                        
>                     axis-dev                                  
>                                                        
>                                                               
>                                                        
>                                                               
>                                                        
> 
> 
> 
> 
> AXIS does not currently support a mapping of the char type 
> because xsd does
> not have a char type.
> 
> Russell Butek
> butek@us.ibm.com
> 
> 
> "David L. Cole" <DLCole@cmsenergy.com> on 03/26/2002 03:38:06 PM
> 
> Please respond to axis-dev@xml.apache.org
> 
> To:    axis-dev@xml.apache.org
> cc:
> Subject:    Compile error on generated client stubs
> 
> 
> 
> I am getting the following error on my generated 
> SoapBindingStub class:
> 
>             qName = new javax.xml.rpc.namespace.QName
> ("http://DefaultNamespace", "char");
>             cachedSerQNames.add(qName);
>             cls = DefaultNamespace._char.class;
>             cachedSerClasses.add(cls);
>             cachedSerFactories.add(beansf);
>             cachedDeserFactories.add(beandf);
> 
> More particularly, note the line:
> 
> cls = DefaultNamespace._char.class;
> 
> 
> This error is occurring from a Return type of char using the 
> nightly build
> as of March,26th.
> 
> Thanks,
> David Cole
> 
> 
> 
> 
> 
> 
> 

Mime
View raw message