?
Solved

How to create web service and run it on Jboss server 5.x?

Posted on 2010-09-21
7
Medium Priority
?
743 Views
Last Modified: 2013-12-02
Hi Experts,

I want to learn to create Web service using Jboss server and setup and run the web service using Eclipse.

I need instruction how to
1.  Setup/configur Jboss server (Version 5.x) on IDE Eclipse
2. Create web service (both of client and service) using Jboss.
3. Steps how to run the Web services from client.

Thanks.
0
Comment
Question by:SarahDeng
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 10

Expert Comment

by:Hegemon
ID: 33737562
0
 

Author Comment

by:SarahDeng
ID: 33737697
Hi Hegemon,

   First link helps. But the second link is for Jboss version 4 (which is using JDK 1.4). I'm still looking for the documentation to help build Web service using Jboss 5 or 6. Thanks.
0
 
LVL 10

Expert Comment

by:Hegemon
ID: 33738027
I don't think there is much difference and no, JBoss 4.2.2 uses Java 5. The easiest way for you will be using JAX-WS with annotated EJB endpoints, where you simply annotate your EJBs with the @WebService annotation and your web service is ready. As per client, it depends on your needs, i.e. whether you need a Java client or not. I used to work with a free MS Excel Add-In called StrikeIron - quite a good tool to test cross-platform interactions.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:Hegemon
ID: 33738038
0
 

Author Comment

by:SarahDeng
ID: 33738480
Hegemon,
I build a Web Service using Jboss 5 on Eclipse. However, I encountered a problem when I run the web service. ( I have a timeout connecting to Server). So I need detail instruction to find what I did wrong. I looked the link above. It doesn't have detail enough info I need.

Any more documents that may help? Thanks!
0
 
LVL 10

Accepted Solution

by:
Hegemon earned 2000 total points
ID: 33738595
Eclipse or not - does not matter.
When you start JBoss, check the console log for messages like "WSDL published to:", "DefaultEndPointRegistry" and so on. Check JMS console to see if your web service is started/available. Try accessing the WSDL and the endpoint URL using a browser.
0
 

Author Closing Comment

by:SarahDeng
ID: 33747376
Thanks!
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question