Tony, Are you using Axis2 Java? If yes, are you doing wsdl2java or java2wsdl? I did the former - i.e. started from wsdl and used unwrapping i.e. the -uw flag. Then Axis2 generated the DataHandler type method parameters only for wsdl operation parameters of schema type base64binary. In other cases, it generated the proper Java datatypes such as String, boolean , etc.
Hope that helps. - Vish. ________________________________ From: Tony Liu [mailto:[EMAIL PROTECTED] Sent: Sunday, April 13, 2008 3:33 PM To: [email protected] Subject: Re: Axis vs. Axis2 web services Hey, I'm currently working on a migration of Axis1 to Axis2. Have you ever had a problem with object casting for method parameters that are defined as java.lang.Object. In Axis1, an object parameter is automatically casted to a concrete object type, but in Axis2, you have an instance of Datahandler, that causes lots of problems for me. On 4/12/08, Pantvaidya, Vishwajit <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: I recently completed a migration of our Axis1 based web services to Axis2 1.3. If you have any specific questions, I can try to answer them. ________________________________ From: Patel, Trupti [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>] Sent: Thursday, April 10, 2008 6:58 AM To: [email protected]<mailto:[email protected]> Subject: RE: Axis vs. Axis2 web services Does anyone have any experience with migrating Apache Axis apps to Axis2? We are currently running Axis1 and would like to upgrade to Axis2. Also, does anyone have any instructions on how to run a web service in which the client is running Axis2 and the server end is running Axis1. Any tips or thoughts would be very much appreciated. Thanks, Trupti
