Solved

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

Posted on 2010-09-21
7
734 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
  • 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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 500 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to setup a password to enter my web page? 3 97
Collapseable list of URLs. 10 99
Form submit issue 11 54
Stupid git question 2 21
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…
Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

705 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now