Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Web Service Client

 
Lydia Vaughan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm new to Java web services. I've been able to get a "hello world" web service compiled and deployed to JBoss 5.1ga and have the test client that came with it. However, I'm starting to piece-by-peice build a "real world" web service and I was wondering if Eclipse (Ganymede) created a client in order to test my web service. If so, could you tell me how to do it? I've seen several tutorials on how to build a web service client but I'm having issues in Eclipse since I have JBoss 5.1ga server and Eclipse doesn't have that as an option in the servers selection. Any help would be greatly appreciated. Thank you.
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't rely too much on the IDE too much. It can hinder your learning process. Most web service frameworks have a way to generate the stub. Study that framework.

BTW, which web service framework do you use?
 
Lydia Vaughan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply. I'm using JBossWS 3.3.1ga native. It has several examples but I'm not understanding the client generation and what is need in the ant file to run it.
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never used JBossWS, but from the JBoss website, it seems you can use wsconsume command. There is command, Ant task, and Maven plugin for that purpose.

FYI
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic