Solved

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

Posted on 2010-09-21
7
741 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
Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

 
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

Technology Partners: 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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Tech Writing Terminology - Pane or Panel? 8 119
Contact Forms for Website 6 85
Create animated movies for web page 18 124
Setup GlassFish 4 35
Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

733 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