Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2010-09-21
7
Medium Priority
?
744 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

598 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