Solved

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

Posted on 2010-09-21
7
740 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
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

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…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

789 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