axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajith Attapattu" <rajit...@gmail.com>
Subject Re: [Axis2] Build failed
Date Fri, 07 Jul 2006 14:26:33 GMT
Brian,

The build was sucessfull for me. Maybe try again.

thanks Ajith and dims for the support

Regards,

Rajith

On 7/7/06, Brian De Pradine <PRADINE@uk.ibm.com> wrote:
>
>
> Hello,
>
> I can now build the adb-codegen module, but I now get a build error in the
> integration module. Looking at the code it seems that the class
> modules\integration\target\rpc-test2\src\com\example\www\ServiceNameStub.java
> is making the following method call:
>
> toEnvelope(org.apache.axiom.soap.SOAPFactory,int,java.lang.String,
> com.example.www.ServiceNameStub.MyComplexType,boolean),
>
> but the only method that exists in the class is:
>
> toEnvelope(org.apache.axiom.soap.SOAPFactory,int,
> com.example.www.ServiceNameStub.MyComplexType,java.lang.String,boolean).
>
> Notice that MyComplexType and String are swapped. The details of the
> failure are included below.
>
>     [echo] Running codegen RPC WSDLs - take 2
>     [java] log4j:WARN No appenders could be found for logger (
> org.apache.axis2.addressing.wsdl.WSDL11ActionHelper).
>     [java] log4j:WARN Please initialize the log4j system properly.
>     [mkdir] Created dir:
> F:\Drivers\axis2\modules\integration\target\rpc-test2\build
>     [mkdir] Created dir:
> F:\Drivers\axis2\modules\integration\target\rpc-test2\build\classes
>     [mkdir] Created dir:
> F:\Drivers\axis2\modules\integration\target\rpc-test2\build\lib
>     [mkdir] Created dir:
> F:\Drivers\axis2\modules\integration\target\rpc-test2\test
>     [echo] Stax Availability= true
>     [echo] Axis2 Availability= true
>     [javac] Compiling 2 source files to
> F:\Drivers\axis2\modules\integration\target\rpc-test2\build\classes
> F:\Drivers\axis2\modules\integration\target\rpc-test2\src\com\example\www\ServiceNameStub.java:128:
> cannot find symbol
> symbol  : method toEnvelope(org.apache.axiom.soap.SOAPFactory,int,
> java.lang.String,com.example.www.ServiceNameStub.MyComplexType,boolean)
> location: class com.example.www.ServiceNameStub
>                                            env =
> toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),
>                                                       ^
> F:\Drivers\axis2\modules\integration\target\rpc-test2\src\com\example\www\ServiceNameStub.java:234:
> cannot find symbol
> symbol  : method toEnvelope(org.apache.axiom.soap.SOAPFactory,int,
> java.lang.String,com.example.www.ServiceNameStub.MyComplexType,boolean)
> location: class com.example.www.ServiceNameStub
>                                            env =
> toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),
>                                                       ^
> Note:
> F:\Drivers\axis2\modules\integration\target\rpc-test2\src\com\example\www\ServiceNameStub.java
> uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 2 errors
>
> Cheers
>
> Brian DePradine
> Web Services Development
> IBM Hursley
> External  +44 (0) 1962 816319         Internal 246319
>
> If you can't find the time to do it right the first time, where will you
> find the time to do it again?
>
>
> "Davanum Srinivas" <davanum@gmail.com> wrote on 07/07/2006 11:54:03:
>
>
> > Please check now..
> >
> > -- dims
> >
> > On 7/7/06, Ajith Ranabahu <ajith.ranabahu@gmail.com> wrote:
> > > Hi,
> > > I think I know the problem here.
> > > I modified the XMLSchema project to add a few new methods and fix some
> > > bugs. However the XMLSchema had two builds for maven 1 and maven 2 and
> > > these build scripts were putting the jars in two different repo
> > > locations. Hence I changed the maven 1 build script to have the
> > > correct group id ("org.apache.ws.commons").Somehow it seems that the
> > > snapshots are not built according to the  new script.
> > >
> > > Rajitha, What you can do for now is to get the latest source from SVN
> > > from here [1] and run maven on it. that should copy the jar to the
> > > correct repo location. Meanwhile I'll buzz dims and see what is wrong
> > > with the automatic build.
> > >
> > > Ajith
> > >
> > > [1] https://svn.apache.
> > org/repos/asf/webservices/commons/trunk/modules/XmlSchema
> > >
> > > On 7/7/06, Ruchith Fernando <ruchith.fernando@gmail.com> wrote:
> > > > Hi Rajith,
> > > >
> > > > Please make sure you have the latest XmlSchema-SNAPSHOT.jar in you
> > > > local maven repo.
> > > >
> > > > If you were building with the "-o" options please try without it.
> > > >
> > > > Thanks,
> > > > Ruchith
> > > >
> > > > On 7/7/06, Rajith Attapattu <rajith77@gmail.com> wrote:
> > > > > btw, when I checked the soource repository
> > > > > org.apache.ws.commons.schema.XmlSchemaType
> > > > > does not have the method getMetaInfoMap() .
> > > > >
> > > > > So is this latest XmlSchemaType not checked into svn or a problem
> with
> > > > > ExtensionUtility?
> > > > >
> > > > > A quick fix is appreciated :-)
> > > > >
> > > > > -Regards
> > > > >
> > > > > Rajith
> > > > >
> > > > >
> > > > > On 7/6/06, Rajith Attapattu <rajith77@gmail.com > wrote:
> > > > > >
> > > > > > Hi All,
> > > > > >
> > > > > > I get the following compilation errors and would be
> > gratefull if somebody
> > > > > can shed some light !!
> > > > > > Is there an updated XmlSchema version on maven repos? or is
the
> > > > > ExtensionUtility out of date?
> > > > > >
> > > > > > Btw I am on the lates revision.
> > > > > >
> > > > > > -Rajith
> > > > > >
> > > > > > java:compile:
> > > > > >     [echo] Compiling to
> > > > > /opt/workspace/axsi2/trunk/java/modules/adb-codegen/target/classes
> > > > > >     [javac] Compiling 14 source files to
> > > > > /opt/workspace/axsi2/trunk/java/modules/adb-codegen/target/classes
> > > > > >     [javac]
> > > > > /opt/workspace/axsi2/trunk/java/modules/adb-
> > codegen/src/org/apache/axis2/schema/ExtensionUtility.java:224:
> > > > > cannot find symbol
> > > > > >     [javac] symbol  : method getMetaInfoMap()
> > > > > >     [javac] location: class
> > > > > org.apache.ws.commons.schema.XmlSchemaType
> > > > > >     [javac]         Map metaInfoMap =
> eltSchemaType.getMetaInfoMap();
> > > > > >     [javac]                                        ^
> > > > > >     [javac]
> > > > > /opt/workspace/axsi2/trunk/java/modules/adb-
> > codegen/src/org/apache/axis2/schema/SchemaCompiler.java:362:
> > > > > cannot find symbol
> > > > > >     [javac] symbol  : method
> > > > > addMetaInfo(java.lang.String,java.lang.String)
> > > > > >     [javac] location: class
> > > > > org.apache.ws.commons.schema.XmlSchemaElement
> > > > > >     [javac]
> > > > > xsElt.addMetaInfo(
> SchemaConstants.SchemaCompilerInfoHolder.CLASSNAME_KEY
> > > > > ,
> > > > > >     [javac]              ^
> > > > > >     [javac]
> > > > > /opt/workspace/axsi2/trunk/java/modules/adb-
> > codegen/src/org/apache/axis2/schema/SchemaCompiler.java:430:
> > > > > cannot find symbol
> > > > > >     [javac] symbol  : method addMetaInfo(java.lang.String
> > > > > ,java.lang.String)
> > > > > >     [javac] location: class
> > > > > org.apache.ws.commons.schema.XmlSchemaType
> > > > > >     [javac]                     schemaType.addMetaInfo(
> > > > > >     [javac]                               ^
> > > > > >     [javac]
> > > > > /opt/workspace/axsi2/trunk/java/modules/adb-
> > codegen/src/org/apache/axis2/schema/SchemaCompiler.java:435:
> > > > > cannot find symbol
> > > > > >     [javac] symbol  : method
> > > > > addMetaInfo(java.lang.String,java.lang.Boolean)
> > > > > >     [javac] location: class
> > > > > org.apache.ws.commons.schema.XmlSchemaType
> > > > > >     [javac]                         schemaType.addMetaInfo(
> > > > > >     [javac]                                   ^
> > > > > >     [javac]
> > > > > /opt/workspace/axsi2/trunk/java/modules/adb-
> > codegen/src/org/apache/axis2/schema/SchemaCompiler.java:461:
> > > > > cannot find symbol
> > > > > >     [javac] symbol  : method addMetaInfo(
> > > > > java.lang.String,java.lang.String)
> > > > > >     [javac] location: class
> > > > > org.apache.ws.commons.schema.XmlSchemaElement
> > > > > >     [javac]                         xsElt.addMetaInfo(
> > > > > >     [javac]                              ^
> > > > > >     [javac]
> > > > > /opt/workspace/axsi2/trunk/java/modules/adb-
> > codegen/src/org/apache/axis2/schema/SchemaCompiler.java:489:
> > > > > cannot find symbol
> > > > > >     [javac] symbol  : method
> > > > > addMetaInfo(java.lang.String,java.lang.String)
> > > > > >     [javac] location: class
> > > > > org.apache.ws.commons.schema.XmlSchemaElement
> > > > > >     [javac]
> > > > > referencedElement.addMetaInfo(SchemaConstants.
> > SchemaCompilerInfoHolder.CLASSNAME_KEY
> > > > > ,
> > > > > >     [javac]                                  ^
> > > > > >     [javac]
> > > > > /opt/workspace/axsi2/trunk/java/modules/adb-
> > codegen/src/org/apache/axis2/schema/SchemaCompiler.java:715:
> > > > > cannot find symbol
> > > > > >     [javac] symbol  : method addMetaInfo(
> > > > > java.lang.String,java.lang.String)
> > > > > >     [javac] location: class
> > > > > org.apache.ws.commons.schema.XmlSchemaComplexType
> > > > > >     [javac]
> > > > > complexType.addMetaInfo(SchemaConstants.
> > SchemaCompilerInfoHolder.CLASSNAME_KEY,
> > > > > >     [javac]                    ^
> > > > > >     [javac]
> > > > > /opt/workspace/axsi2/trunk/java/modules/adb-
> > codegen/src/org/apache/axis2/schema/SchemaCompiler.java:1168:
> > > > > cannot find symbol
> > > > > >     [javac] symbol  : method addMetaInfo(java.lang.String
> > > > > ,java.lang.String)
> > > > > >     [javac] location: class
> > > > > org.apache.ws.commons.schema.XmlSchemaSimpleType
> > > > > >     [javac]
> > > > > simpleType.addMetaInfo(SchemaConstants.
> > SchemaCompilerInfoHolder.CLASSNAME_KEY,
> > > > > >     [javac]                               ^
> > > > > >     [javac]
> > > > > /opt/workspace/axsi2/trunk/java/modules/adb-
> > codegen/src/org/apache/axis2/schema/SchemaCompiler.java:1172:
> > > > > cannot find symbol
> > > > > >     [javac] symbol  : method
> > > > > addMetaInfo(java.lang.String,java.lang.Boolean)
> > > > > >     [javac] location: class
> > > > > org.apache.ws.commons.schema.XmlSchemaSimpleType
> > > > > >     [javac]
> > > > > simpleType.addMetaInfo(SchemaConstants.
> > SchemaCompilerInfoHolder.CLASSNAME_PRIMITVE_KEY,
> > > > > >     [javac]                               ^
> > > > > >     [javac] 9 errors
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > www.ruchith.org
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: axis-dev-help@ws.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Ajith Ranabahu
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-dev-help@ws.apache.org
> > >
> > >
> >
> >
> > --
> > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service
> Developers)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-dev-help@ws.apache.org
> >
>

Mime
View raw message