File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Axis2 Webservice example issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis2 Webservice example issues" Watch "Axis2 Webservice example issues" New topic
Author

Axis2 Webservice example issues

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Hi,

I am working on following example
http://wso2.org/library/1719.

I did until step 2.

But i am struck at step 3 which says

3. After successfully building the project, we will create the service archive using the Axis2 Eclipse Service Archiver Plugin. On the File menu, click New and then click Other to access the Axis2 wizards. Else, you can press Ctrl+N.

Note : At any given time, you can go back through the wizards, change the settings, and even start the wizards all over again to create a different Web service on another JAVA project available in your workspace.





I downloaded the java2wsdl, wsdl2java jars. I included them in the project class path as well. I do not know how to do configure Axis2 Eclipse Service Archiver Plugin in my IDE which is 'Eclipse Java EE IDE for Web Developers'

>>>>using the Axis2 Eclipse Service Archiver Plugin. On the File menu, click New and then click Other to access the Axis2 wizards. Else, you can press Ctrl+N.

I do not know how to wizads menu etc like
>>>At any given time, you can go back through the wizards, change the settings, and even

Any ideas, suggestions, resources, links, sample code highly appreciated. thanks in advance
Konda Golamaru
Ranch Hand

Joined: Dec 12, 2005
Posts: 36
Hi ,

Down load the plug ins: Axis2_Service_Archiver_1.3.0, Axis2_Codegen_Wizard_1.3.0 and unzip them in plugins folder of Eclipse.
Then do Ctrl+N and click on the service archiver or code gen wizard dependign on what you want to do.

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Hi,

Can you please suggest me the appropriate links to download Axis2_Service_Archiver_1.3.0, Axis2_Codegen_Wizard_1.3.0 plugins. I have gone through few links including apache links but most of them leading to broken, not working links. Please advise
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 643
I did a Google search and found this: http://www.roseindia.net/webservices/axis2/axis2eclipse/axis2-eclipse-install.shtml
Perhaps it will help.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41863
    
  63
Just some general advice: stay away from roseindia.net - it's full of code that shows bad practices and downright wrong code. Developer beware.


Ping & DNS - my free Android networking tools app
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 643
Understood, Ulf. Thanks.
Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Hi,

I was trying to use following axis2-eclipse-service-archiver

axis2-eclipse-service-archiver-wizard-1.4.zip 01-May-2008 14:23 5.1M
axis2-eclipse-service-archiver-wizard-1.4.zip.asc 01-May-2008 14:23 194
axis2-eclipse-service-archiver-wizard-1.4.zip.md5 01-May-2008 14:23 33



from link
http://archive.apache.org/dist/ws/axis2/tools/1_4/

None of the above plugin files are getting extracted properly after download. After extracting sayung corrupt filess of 0MB size. Please advise
Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Codegen plugin(axis2-eclipse-codegen-wizard-1.4.zip ) is properly getting downloaded and extracted without any issue from same above link though.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41863
    
  63
The .asc and .md5 files are not archives, so there's nothing to extract.
Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Hi,

Got you. But even .zip file also not getting extracted. Please advise any other alternate link.
Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Hi,

I finally found a link
http://apache.ziply.com/ws/axis2/tools/1_4_1/

which has

axis2-eclipse-service-archiver-wizard.zip (not sure if it is correct one or not)

I extracted the plugins and put it inside eclipse plugin directory. Still from eclipse ide i cannot see axis2 wizard ( like On the File menu, click New and then click Other to access the Axis2 wizards. Else, you can press Ctrl+N. ). Please advise
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Axis2 Webservice example issues