hi chris,
in your code snippet ,createService() and createCall() methods return javax.xml.rpc.Service and javax.xml.rpc.Call respectively.
You better try to cast the return objects in to org.apache.axis.client.Service and org.apache.axis.client.Call.
Now it should work.
 
regards,
Jeyakumaran
 
----- Original Message -----
Sent: Thursday, September 25, 2003 12:47 AM
Subject: incompatible types; found: javax.xml.rpc.Service, required: org.apache.axis.client.Service

 

The following code snippet is giving me the following error:

 

                                    org.apache.axis.client.Service service = org.apache.axis.client.ServiceFactory.newInstance().createService(null);

                                    org.apache.axis.client.Call call2 = service.createCall();

 

Error(96,87): incompatible types; found: javax.xml.rpc.Service, required: org.apache.axis.client.Service

Error(97,58): incompatible types; found: javax.xml.rpc.Call, required: org.apache.axis.client.Call

 

 

What am I missing?

 

Thanks

 

Chris

 

Reply via email to