Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • 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!
 
Vinod K Singh
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • 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
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Building Web Services with Java:
Making Sense of XML, SOAP, WSDL, and UDDI (2nd Edition)

ISBN-10: 0672326418
 
karthic panneer
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • 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
 
kaarthik asokkumar
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!