axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Sprick" <felix.spr...@netlight.se>
Subject SV: Axis2 nightly build: method getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String) not found
Date Wed, 20 Sep 2006 14:01:25 GMT
Hi Thilina,

Thanks for the reply. I found the cause for my problem: I called
wsdl2java.bat of the latest nightly-build distribution, but the AXIS2_HOME
variable was still set to the axis2 stable location. So it didn't matter
which binaries I am actually calling, the libs at AXIS2_HOME/lib were taken
to execute wsdl2java.

//Felix

-----Ursprungligt meddelande-----
Från: Thilina Gunarathne [mailto:csethil@gmail.com] 
Skickat: den 20 september 2006 15:19
Till: axis-user@ws.apache.org
Ämne: Re: Axis2 nightly build: method
getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String) not found

getElement()  method was removed from the stub calss sometime back,
since the generated code no longer uses it.

Please use the latest nightlies to generate your code...

~Thilina

On 9/20/06, Felix Sprick <felix.sprick@netlight.se> wrote:
>
>
>
>
> Hi all,
>
>
>
> I get the following error message when running the ant build.xml created
by
> wsdl2java. The generated code does not compile when using the libraries of
> Axis2 nightly built from the 19th of September! It does, however, work
when
> compiling the generated code with the libraries of the last stable
release.
> The Stub.class in the axis2-kernel-SNAPSHOT.jar doesn't provide the
demanded
> method. Is that a bug, or am I doing something wrong?
>
>
>
> Buildfile: C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\build.xml
>
> init:
>
>     [mkdir] Created dir: C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\build
>
>     [mkdir] Created dir: C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\build\classes
>
>     [mkdir] Created dir: C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\build\lib
>
> jar.xbeans:
>
>       [jar] Building jar: C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\build\lib\XBeans-packaged.jar
>
> pre.compile.test:
>
>      [echo] XmlBeans Availability = true
>
>      [echo] Stax Availability= true
>
>      [echo] Axis2 Availability= true
>
> compile.src:
>
>     [javac] Compiling 274 source files to C:\Documents and
> Settings\fesp\Mina dokument\workspace\SGIS\build\classes
>
>     [javac] C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\src\org\apache\axis2\PortalStub.java:192:
> cannot find symbol
>
>     [javac] symbol  : method
> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>
>     [javac] location: class org.apache.axis2.PortalStub
>
>     [javac] getElement(_returnEnv,"document"),
>
>     [javac] ^
>
>     [javac] C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\src\org\apache\axis2\PortalStub.java:283:
> cannot find symbol
>
>     [javac] symbol: method
> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>
>     [javac] java.lang.Object object = fromOM(getElement(
>
>     [javac] ^
>
>     [javac] C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\src\org\apache\axis2\PortalStub.java:356:
> cannot find symbol
>
>     [javac] symbol  : method
> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>
>     [javac] location: class org.apache.axis2.PortalStub
>
>     [javac] getElement(_returnEnv,"document"),
>
>     [javac] ^
>
>     [javac] C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\src\org\apache\axis2\PortalStub.java:447:
> cannot find symbol
>
>     [javac] symbol: method
> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>
>     [javac] java.lang.Object object = fromOM(getElement(
>
>     [javac] ^
>
>     [javac] C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\src\org\apache\axis2\PortalStub.java:520:
> cannot find symbol
>
>     [javac] symbol  : method
> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>
>     [javac] location: class org.apache.axis2.PortalStub
>
>     [javac] getElement(_returnEnv,"document"),
>
>     [javac] ^
>
>     [javac] C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\src\org\apache\axis2\PortalStub.java:611:
> cannot find symbol
>
>     [javac] symbol: method
> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>
>     [javac] java.lang.Object object = fromOM(getElement(
>
>     [javac] ^
>
>     [javac] C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\src\org\apache\axis2\PortalStub.java:684:
> cannot find symbol
>
>     [javac] symbol  : method
> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>
>     [javac] location: class org.apache.axis2.PortalStub
>
>     [javac] getElement(_returnEnv,"document"),
>
>     [javac] ^
>
>     [javac] C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\src\org\apache\axis2\PortalStub.java:775:
> cannot find symbol
>
>     [javac] symbol: method
> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>
>     [javac] java.lang.Object object = fromOM(getElement(
>
>     [javac] ^
>
>     [javac] C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\src\org\apache\axis2\PortalStub.java:848:
> cannot find symbol
>
>     [javac] symbol  : method
> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>
>     [javac] location: class org.apache.axis2.PortalStub
>
>     [javac] getElement(_returnEnv,"document"),
>
>     [javac] ^
>
>     [javac] C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\src\org\apache\axis2\PortalStub.java:939:
> cannot find symbol
>
>     [javac] symbol: method
> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>
>     [javac] java.lang.Object object = fromOM(getElement(
>
>     [javac] ^
>
>     [javac] C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\src\org\apache\axis2\PortalStub.java:1012:
> cannot find symbol
>
>     [javac] symbol  : method
> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>
>     [javac] location: class org.apache.axis2.PortalStub
>
>     [javac] getElement(_returnEnv,"document"),
>
>     [javac] ^
>
>     [javac] C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\src\org\apache\axis2\PortalStub.java:1103:
> cannot find symbol
>
>     [javac] symbol: method
> getElement(org.apache.axiom.soap.SOAPEnvelope,java.lang.String)
>
>     [javac] java.lang.Object object = fromOM(getElement(
>
>     [javac] ^
>
>     [javac] Note: Some input files use or override a deprecated API.
>
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>
>     [javac] Note: Some input files use unchecked or unsafe operations.
>
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>
>     [javac] 12 errors
>
>
>
> BUILD FAILED
>
> C:\Documents and Settings\fesp\Mina
> dokument\workspace\SGIS\build.xml:50: Compile failed; see
> the compiler error output for details.
>
>
>
> Total time: 5 seconds
>
>
>
>
>
> Any ideas?
>
>
>
> Thanks,
>
> Felix
>
>


-- 
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message