File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Simple JBoss Web Service With Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply locked New topic
Author

Simple JBoss Web Service With Eclipse

William Richards
Ranch Hand

Joined: Mar 27, 2009
Posts: 37
Hi,

I am new to this site, forgive me if my question is out of place.
~~~~~
I am trying to deploy a simple web service using eclipse europa and jboss
doing exactly what is explained here

http://www.javabeat.net/articles/40-creating-webse...boss-and-eclipse-europa-1.html
~~~~~
I am running on ubuntu server 8.10 and I have taken care to install the the software called out in the above link.

I am using JBoss-4.0.5.GA, jdk5, and eclipse europa all in one which I obtained from here

http://archive.eclipse.org/webtools/downloads/drops/R2.0/R-2.0.1-20070926042742/
Platform: Linux (x86/GTK 2) (Supported Versions)
wtp-all-in-one-sdk-linux-gtk (252M) [md5]
~~~~~
All seems to work until I try to deploy. Deployment fails with a NullPointer Exception
as can be seen in the jboss logs.

The build finishes opening a browser page saying that the web service is not available.

Visiting http://localhost/jbossws and clicking the link to show deployed web services shows none.

Does anybody know how to fix this ???

I realize I am not using the most current packages, however, they are each of the same period
and I am attempting to gain some understanding of how it's all evolving in addition to attempting
to follow the example which I have posted.

The only way I have changed the code is that I am using no package and I call the jboss_app3 or jboss_app4, etc
with each new attempt. The java class I use is TestWs and the web.xml is modified only to remove the package declaration.

If someone knows different versions of JBoss and Eclipse for which this will work, please tell me.

Regards
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3703
    
    5

Please don't post in multiple forums. I had recommended you not use our April fools forum to post, but posting in 2 (here and JBoss) other forums is not allowed.


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Simple JBoss Web Service With Eclipse
 
Similar Threads
Enterprise Application in Eclipse 3.4.0 with JBoss
Simple JBoss Web Service With Eclipse
Simple Web Service With Eclipse & JBOSS
Create simple WS in eclipse using JBOSS
JBoss Time Out Error in Eclipse