axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pattabiraman Meenakshisundaram (JIRA)" <>
Subject [jira] Created: (AXIS2-3694) ClassCastException while invoking ServiceClient
Date Wed, 02 Apr 2008 12:51:25 GMT
ClassCastException while invoking ServiceClient

                 Key: AXIS2-3694
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: client-api
         Environment: Rational Application Developer 7.5 (beta) with IBM Websphere 6.1 on
            Reporter: Pattabiraman Meenakshisundaram
            Priority: Minor

I am not sure whether it is a bug or problem with my code/environment. Here is my  original
posting in the Nabble -

I am new to Axis/Axis2 and based on the documents I created a SoapClient to consume service
from external site using Axis2 API . 
I tried creating anonymous ServiceClient as well as using the WSDL. I am getting classcastexception
on both occassions.

The line that gives error:
		ServiceClient sender = new ServiceClient(null,new URL(WSDL_URL),new QName("MYSERVICE"),"MYOPERATION");

Exception Stacktrace:

Caused by: java.lang.ClassCastException: incompatible with
 at org.apache.axis2.client.ServiceClient.<init>(
 at org.apache.axis2.client.ServiceClient.<init>(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message