Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

newbie -- looking for web-services tutorial (preferable for eclipse)

 
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I've just started to learn web-services. I did some preliminary research (reading) and now...coding.

Since I've been using eclipse, I decided to look for a plug-in that will facilitate my work. I found this tutorial which turns to be a nightmare because of "InvocationTargetException" problems.. I spent 3 days to solve this --nothing! (even when I circumvent the problem - the code didn't work --check the readers errors at the bottom of the tutorial)

Another alternative, I tried this which resulted in different class generation (the author was using "convertersoap11port_http" while the eclipse version that I'm using (ganymede) doesn't have this option (I used the endPoint but it didn't generate the requested files)....

OK...now, I'm writing here asking if anyone knows a good (working) tutorial to use web-services.

If netbeans is your recommendation - I'll go for i (though I never tried it before but heard it's good for web-services)!

Thank you!
 
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See if this helps you in any way http://blog.vinodsingh.com/2008/09/building-jax-ws-web-service.html
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Building Web Services with Java:
Making Sense of XML, SOAP, WSDL, and UDDI (2nd Edition)

ISBN-10: 0672326418
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Developing Web Services Using Apache Axis2 Eclipse Plugins - Part 1
Hope the following link will help you

http://wso2.org/library/1719

Better use the sample code[download] provided there


Karthic
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For Invocation targertexception this is what you may have to do.


1. Copy 2 files: "backport-util-concurrent-3.1.jar" and "geronimo-stax-api_1.0_spec-1.0.1.jar" from <Axis2Home_Location>/lib folder to the <Eclipse_Location>\plugins\Axis2_Codegen_Wizard_1.3.0\lib folder.

2. Edit the plugins.xml file in the <Eclipse_Location>\plugins\Axis2_Codegen_Wizard_1.3.0 folder as follows:

<runtime>
...
<library name="lib/geronimo-stax-api_1.0_spec-1.0.1.jar">
<export name="*"/>
</library>
<library name="lib/backport-util-concurrent-3.1.jar">
<export name="*"/>
</library>
...
</runtime>

3) Change the plugin name to 1.4 and the version folder to 1.4

Axis2 version 1.4 misses some jar files for plugin. To find that out turn on the debug for eclipse. To turn on the debug start eclipse from command prompt.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic