Thank you for the quick response. i visited the site specified by you, but under the heading "DEPLOYING APACHE-SOAP ON TOMCAT", the 3rd paragraph, says
"When you deploy your SOAP services, you will copy the NECESSARY JAR FILES to /%tomcat_home%/webapps/soap/WEB-INF/lib, or the neccessary class files to a directory structure under /%tomcat_home%/webapps/soap/WEB-INF/classes."
What are the NECESSARY JAR FILES? Also by doing this will my problem of "INCOMPATIBLE RETURN TYPE" be solved? Please let me know.
Thank You.
Arvind. K.
On Tue, 16 Sep 2003 Scott Nichol wrote :
To install on Tomcat 3.3.x, please follow the instructions at http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-soap/java/docs/install/tomcat33.html?rev=HEAD&content-type=text/html.
Scott Nichol
Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "arvind" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 16, 2003 1:04 AM Subject: INCOMPATIBLE RETURN TYPE ERROR - SOAP-2.3
> Hi,
> I downloaded soap-bin-2.3.tar.gz, extracted and configured it
> as per the installation instructions, along with the supporting
> jar files (activation.jar, mail.jar, xerces.jar, bsf.jar, js.jar).
> I set the classpath as specified, copy of it is enclosed. Then i
> copied the 'soap.war' file into the 'Jakarta-Tomcat-3.3.1a'
> webservers' webapps folder. Now i started the webserver and
> compiled the Calc.java code successfully. Then i executed it and
> perfomed the following sequence of operations, but whenever i
> entered a arithmatic operator, i got the error saying
> 'INCOMPATIBLE RETURN TYPE'.
>
> I am enclosing the CLASSPATH that i have set and the sequece of my
> execution for your reference. Please do the needful.
>
> My basic requirement is to use the END-POINT URL (ASP) generated
> by the MSSOAP Toolkit present on a Microsoft machine, in Apache
> Soap client code in Red Hat Linux 9.0. So please help me.
> ========================================================================
> Ok, this is how my CLASSPATH looks like.
>
> TOMCAT_HOME=/opt/jakarta-tomcat-3.3.1a
> CLASSPATH=/opt/xerces-1_2_3/xerces.jar:${TOMCAT_HOME}/lib/common/servlet.jar
> CLASSPATH=/opt/xml4j-4_1_4/xercesImpl.jar:/opt/xml4j-4_1_4/xercesSamples.jar:/opt/xml4j-4_1_4/xmlParserAPIs.jar
>
> CLASSPATH=$CLASSPATH:${TOMCAT_HOME}/lib/common/servlet.jar
> CLASSPATH=$CLASSPATH:/opt/xmisoap.jar
> CLASSPATH=$CLASSPATH:/opt/soap-2_3/lib/soap.jar:/opt/javamail-1.3.1/mail.jar
> CLASSPATH=$CLASSPATH:/opt/jaf-1.0.2/activation.jar
> CLASSPATH=$CLASSPATH:/opt/bsf-2_2/lib/bsf.jar:/opt/rhino1_5R4_1/js.jar:/opt/soap-2_3
> ========================================================================
>
> This is my execution sequence
>
> [EMAIL PROTECTED] calculator]# java samples.calculator.Calc
> http://localhost:8080/soap/servlet/rpcrouter
> >>0.0
> 1
> >>1.0
> 2
> >>2.0
> +
> Exception in thread "main" java.lang.VerifyError: verification
> failed at PC 66 in
> org.apache.soap.Body:unmarshall((Lorg.w3c.dom.Node;Lorg.apache.soap.rpc.SOAPContext;)Lorg.apache.soap.Body;):
> incompatible return type
> at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String)
> (/usr/lib/./libgcj.so.3)
> at 0x4025bc8e: java.lang.Error.Error(java.lang.String)
> (/usr/lib/./libgcj.so.3)
> at 0x4025d6b6:
> java.lang.LinkageError.LinkageError(java.lang.String)
> (/usr/lib/./libgcj.so.3)
> at 0x402691b6:
> java.lang.VerifyError.VerifyError(java.lang.String)
> (/usr/lib/./libgcj.so.3)
> at 0x4023f5a9: _Jv_BytecodeVerifier.verify_fail(byte, int)
> (/usr/lib/./libgcj.so.3)
> at 0x40232c51: _Jv_BytecodeVerifier.verify_instructions_0()
> (/usr/lib/./libgcj.so.3)
> at 0x40231857: _Jv_VerifyMethod(_Jv_InterpMethod)
> (/usr/lib/./libgcj.so.3)
> at 0x40229ae4: _Jv_PrepareClass(java.lang.Class)
> (/usr/lib/./libgcj.so.3)
> at 0x40248028:
> java.lang.ClassLoader.linkClass0(java.lang.Class)
> (/usr/lib/./libgcj.so.3)
> at 0x4025acb3:
> java.lang.ClassLoader.resolveClass0(java.lang.Class)
> (/usr/lib/./libgcj.so.3)
> at 0x4024646c: java.lang.Class.initializeClass()
> (/usr/lib/./libgcj.so.3)
> at 0x40230912:
> _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
> (/usr/lib/./libgcj.so.3)
> at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
> _Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
> at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void,
> ffi_raw, void) (/usr/lib/./libgcj.so.3)
> at 0x4038305c: ?? (??:0)
> at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
> at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
> at 0x402306e8:
> _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
> (/usr/lib/./libgcj.so.3)
> at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
> _Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
> at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void,
> ffi_raw, void) (/usr/lib/./libgcj.so.3)
> at 0x4038305c: ?? (??:0)
> at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
> at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
> at 0x402306e8:
> _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
> (/usr/lib/./libgcj.so.3)
> at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
> _Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
> at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void,
> ffi_raw, void) (/usr/lib/./libgcj.so.3)
> at 0x4038305c: ?? (??:0)
> at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
> at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
> at 0x402306e8:
> _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
> (/usr/lib/./libgcj.so.3)
> at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
> _Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
> at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void,
> ffi_raw, void) (/usr/lib/./libgcj.so.3)
> at 0x4038305c: ?? (??:0)
> at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
> at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
> at 0x402306e8:
> _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
> (/usr/lib/./libgcj.so.3)
> at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
> _Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
> at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void,
> ffi_raw, void) (/usr/lib/./libgcj.so.3)
> at 0x4038305c: ?? (??:0)
> at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
> at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
> at 0x402306e8:
> _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
> (/usr/lib/./libgcj.so.3)
> at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
> _Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
> at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void,
> ffi_raw, void) (/usr/lib/./libgcj.so.3)
> at 0x4038305c: ?? (??:0)
> at 0x40242dd8: gnu.gcj.runtime.FirstThread.call_main()
> (/usr/lib/./libgcj.so.3)
> at 0x402ad02d: gnu.gcj.runtime.FirstThread.run()
> (/usr/lib/./libgcj.so.3)
> at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread)
> (/usr/lib/./libgcj.so.3)
> at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int,
> byte const, boolean) (/usr/lib/./libgcj.so.3)
> at 0x08048910: ?? (??:0)
> at 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
> at 0x080486c1: ?? (??:0)
>
> ========================================================================
>
> Please let me know how to debug this problem.
> Thank You.
>
> Arvind. K.
>
>
> ARVIND
> ___________________________________________________
> Interior meets Software; Rani Weds Gaurav.
> Rediff Matchmaker strikes another interesting match
> Visit http://matchmaker.rediff.com?1
>
>
ARVIND ___________________________________________________ Interior meets Software; Rani Weds Gaurav. Rediff Matchmaker strikes another interesting match Visit http://matchmaker.rediff.com?1