Hi, Actually, I use the wsdl2java tool only to get the Data transfer objects from the wsdl. The services.xml is actually handcoded by me. The steps that I follow are as follows:
1. Run the WSDL2Java first to get the Data Transfer objects.(It's is a one time activity) 2. We take the created objects and code the web services based on them (DTOs created). 3. The services.xml is also written as the one I attached in my previous mail. 4. We create the .aar file and then deploy it. As I'm new to Axis2 , I'm sure as to where its going wrong. Thanks, Regards, Anumodh K.S. ________________________________ From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 1:56 PM To: [email protected] Subject: Re: Unable to pass data to webservices using Axis2 1.3 hi, I am not getting you correctly. if you create the service using wsdl2java tool you should can not have org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver. It generates a custom message receiver. can you tell the steps you did for this. Amila. On 10/4/07, Anumodh Sreedharan <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Hi, I've a web service that uses a wsdl of doc-literal style. I use Axis2 1.3, Spring and hibernate for this purpose.(Earlier, I had been using Axis 1.4). The method that I follow is to first create the data Transfer objects from the wsdl using the WSDL2Java tool. After that, I code the rest of the service (business, DAO...) and finally, at the time of building, I add the wsdl also into the .aar file. The service comes up on deployment, but on invocation, neither am I able to pass data to it, nor am I able to get anything from it. I use ADB kind of data binding. I'm attaching the services.xml with this mail for reference. Please help me. I got stuck here and am unable to proceed further. Thanks in advance, Regards, Anumodh K.S. **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> -- Amila Suriarachchi, WSO2 Inc.
