geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ias" <iasan...@hotmail.com>
Subject RE: [EWS]fix the Axis module
Date Tue, 31 Aug 2004 16:17:08 GMT
Hi Srinath,

I failed to build EWS with the following message:

    [javac] Compiling 583 source files to
C:\java\project\ws-axis\contrib\ews\target\classes
C:\java\project\ws-axis\contrib\ews\src\org\apache\geronimo\ews\jaxrpcmappin
g\J2eeBeanWriter.java:225: cannot resolve symbol
symbol  : method getLocalPart ()
location: class java.lang.String
                    String elemName = elem.getName().getLocalPart();
                                                  ^
C:\java\project\ws-axis\contrib\ews\src\org\apache\geronimo\ews\jaxrpcmappin
g\J2eeBeanWriter.java:400: cannot resolve symbol
symbol  : method getLocalPart ()
location: class java.lang.String
 
Utils.xmlNameToJava(elem.getName().getLocalPart()));
                                                            ^
C:\java\project\ws-axis\contrib\ews\src\org\apache\geronimo\ews\jaxrpcmappin
g\J2eeBeanHelperWriter.java:295: cannot resolve symbol

symbol  : method getLocalPart ()
location: class java.lang.String
                    String elemLocalName = elem.getName().getLocalPart();
                                                       ^
C:\java\project\ws-axis\contrib\ews\src\org\apache\geronimo\ews\jaxrpcmappin
g\J2eeBeanHelperWriter.java:298: incompatible types
found   : java.lang.String
required: javax.xml.namespace.QName
                    QName xmlName = elem.getName();
                                                ^
C:\java\project\ws-axis\contrib\ews\src\org\apache\geronimo\ews\jaxrpcmappin
g\J2eeGeneratorFactory.java:1019: cannot resolve symbo
l
symbol  : method holder
(org.apache.axis.wsdl.symbolTable.MimeInfo,org.apache.axis.wsdl.symbolTable.
TypeEntry,org.apache.geronimo.
ews.jaxrpcmapping.J2eeEmitter)
location: class org.apache.axis.wsdl.toJava.Utils
                signature = signature + Utils.holder(p.getMIMEInfo(),
p.getType(), emitter) + " "
                                             ^
C:\java\project\ws-axis\contrib\ews\src\org\apache\geronimo\ews\jaxrpcmappin
g\J2eeHolderWriter.java:77: cannot resolve symbol
symbol  : method holder
(<nulltype>,org.apache.axis.wsdl.symbolTable.TypeEntry,org.apache.geronimo.e
ws.jaxrpcmapping.J2eeEmitter)
location: class org.apache.axis.wsdl.toJava.Utils
        super(emitter, Utils.holder(null, type, emitter), "holder");
                            ^
C:\java\project\ws-axis\contrib\ews\src\org\apache\geronimo\ews\jaxrpcmappin
g\J2eeTestCaseWriter.java:236: cannot resolve symbol
symbol  : method holder
(org.apache.axis.wsdl.symbolTable.MimeInfo,org.apache.axis.wsdl.symbolTable.
TypeEntry,org.apache.axis.wsdl
toJava.Emitter)
location: class org.apache.axis.wsdl.toJava.Utils
                    pw.print("new " + Utils.holder(param.getMIMEInfo(),
param.getType(), emitter)
                                           ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
7 errors

One thing I'm curious of is Utils.holder usage, which is wrong and should be
corrected by

Utils.holder(param, emitter)

 If you don't mind, I'll commit those corrections :-)

Regards,

Ias  

> -----Original Message-----
> From: Srinath Perera [mailto:hemapani@opensource.lk] 
> Sent: Tuesday, August 31, 2004 1:50 PM
> To: dev@geronimo.apache.org
> Cc: hemapani@opensource.lk; dev@geronimo.apache.org; 'Jongjin Choi'
> Subject: RE: [EWS]fix the Axis module
> 
> > Choi.
> > Anyway, how can elem.getName() be null? Could you tell me 
> which test 
> > case causes this error?
> 
> org.apache.geronimo.ews.jaxrpcmapper.MapperTest,
> org.apache.geronimo.ews.ws4j2ee.JaxRpcMappingTest form ews 
> test cases failed when I try.
> 
> The trace I refering is to do with sameple/ejb/echo in the 
> ews repository.
> Thanks
> Srinath
> 
> 

Mime
View raw message