I tried using example given on the page. I am getting: an error occured while generating codejava.lang.ClassNotFoundException:
any clue what might be wrong? Java2WSDL -cn src/main/java/com.paypal.services.account.AccountService -of ac.wsdl I also tried this way Java2WSDL -cn src/main/java/com.paypal.services.account.AccountService.java -of ac.wsdl I also have question, can we generate WSDL from interface class? Or it has to be a concrete class? Thanks, -pudur >-----Original Message----- >From: Charitha Kankanamge [mailto:[EMAIL PROTECTED] >Sent: Tuesday, February 12, 2008 2:57 AM >To: [email protected] >Subject: Re: Java2WSDL > >Hello Pudur, >Please have a look at the Axis2 reference guide >http://ws.apache.org/axis2/1_3/reference.html > >regards >Charitha >Ramaswamy, Pudur wrote: > >> How can I use JAVA2WSDL command? Is there a online help or >> documantation? I see good documentation for WSDL2Java tool. >> >> I tried to use the java2WSDL as below but I'm getting the following >error: >> >> java2wsdl -cp . -cn com.mydomain.myclass -of AccountServices.wsdl >> >> Using AXIS2_HOME: C:\axis2-1.3 >> >> Using JAVA_HOME:***88 >> >> An error occured while generating >> codejava.lang.ClassNotFoundException: com.mydomain.myclass >> >> I ran the command in command prompt at one level above the com directory. >> >> Thanks, >> >> -pudur >> >> DISCLAIMER: >> This message contains privileged and confidential information and is >> intended only for an individual named. If you are not the intended >> recipient, you should not disseminate, distribute, store, print, copy >> or deliver this message. Please notify the sender immediately by >> e-mail if you have received this e-mail by mistake and delete this >> e-mail from your system. E-mail transmission cannot be guaranteed to >> be secure or error-free as information could be intercepted, >> corrupted, lost, destroyed, arrive late or incomplete or contain >> viruses. The sender, therefore, does not accept liability for any >> errors or omissions in the contents of this message which arise as a >> result of e-mail transmission. If verification is required, please >> request a hard-copy version. >> > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
