you are right, my client was compiled against AXIS2 1.0, my server is AXIS2 1.1 RC2.
Sorry for wasting your time ...

Thanks and best regards,
-Rainer

Davanum Srinivas schrieb:
I think you have a mix of jars in your environment. jars from
different versions of axis2.

-- dims

On 11/3/06, Rainer Menzner <[EMAIL PROTECTED]> wrote:
Hi together,

I have created a trivial service from a handwritten wsdl file (top-down)
and have added
code to the skeleton class. services.xml is patched so that the original
wsdl is used by
Axis2. The resulting service is deployed and it can be tested
successfully with
Netbeans / Add Webservice in the Runtime tab.

I have a trivial client program which also uses the stub classes
generated by wsdl2java. When
executing my client, I receive the following exception:

Exception in thread "main" java.lang.IncompatibleClassChangeError
        at
com.identix.astra.queue.AstraQueueServiceStub.populateAxisService(AstraQueueServiceStub.java:30)
        at
com.identix.astra.queue.AstraQueueServiceStub.<init>(AstraQueueServiceStub.java:135)
        at
com.identix.astra.queue.AstraQueueServiceStub.<init>(AstraQueueServiceStub.java:162)
        at axis2client.Main.main(Main.java:86)

My offending source line is

        AstraQueueServiceStub   clientL = new
AstraQueueServiceStub("http://localhost:8080/axis2/services/AstraQueueService";);

The URL is correct and I cannot image what is wrong with this line.

I would appreciate any hints and comments.

Thanks and best regards,
-Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--

Dr. Rainer Menzner
Research & Development

Identix
an L-1 Identity Solutions Company (NYSE: ID)

Mail Address:
Viisage Technology AG
Universitaetsstrasse 160
D-44801 Bochum, Germany

Phone:  +49 (0)234 9787-41
Fax:    +49 (0)234 9787-77
E-mail: [EMAIL PROTECTED]

Visit our Website: www.L1id.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to