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 Java Web Service Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Java Web Service Client" Watch "Java Web Service Client" New topic
Author

Java Web Service Client

Lydia Vaughan
Greenhorn

Joined: Jul 06, 2010
Posts: 14
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

Joined: Sep 11, 2006
Posts: 959

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?


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
Lydia Vaughan
Greenhorn

Joined: Jul 06, 2010
Posts: 14
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

Joined: Sep 11, 2006
Posts: 959

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Web Service Client