Solved

JBoss 4.2.3 War file deployed but error of "No WSDL"

Posted on 2010-09-07
8
585 Views
Last Modified: 2012-06-27
Hello,

As the title suggest I have made my war file in eclipse and I am trying to get it to work on JBoss.
This is an experiment.
I have moved the war file to the correct deploy folder and in fact the war file shows up in
JBoss view. When I try to use the contained service via browser I get "No WSDL found error".
This is curious...

Thank You
0
Comment
Question by:dennisk1718
  • 6
  • 2
8 Comments
 
LVL 40

Expert Comment

by:gurvinder372
ID: 33617171
what is your technology stack? Using EJB or axis2?
Wondering how did you managed to deploy services inside a war.
0
 

Author Comment

by:dennisk1718
ID: 33617254
hello,

I am just using JBoss as an App server. I just copy'ed war file over to dir.
and it show up in "Full tomcat Status' entry from JBoss screen. I am running on Windows XP

Thanks
0
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 500 total points
ID: 33617324
are you using jax-rpc based services in that war file?
something like this?
http://www.artima.com/lejava/articles/threeminutes.html
http://download.oracle.com/javaee/1.4/tutorial/doc/JAXRPC3.html

are you able to access the wsdl file when you put the end-point on the browser?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:dennisk1718
ID: 33617368
here is code...
--------------------------------------------------
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

/**
 * Interface TimeServer specifies the interface for a time server as a web
 * service.
 * <P>
 * From Martin Kalin, <I>Java Web Services: Up and Running</I> (O'Reilly, 2009),
 * page 5.
 */
@WebService
@SOAPBinding (style = Style.RPC)
public interface TimeServer
      {
      /**
       * Return the current time as a string.
       */
      @WebMethod public String getTimeAsString();

      /**
       * Return the current time as the number of milliseconds since midnight
       * 01-Jan-1970 UTC.
       */
      @WebMethod public long getTimeAsElapsed();
      }
--------------------------------------

This would indicte that JAX-RPC is being used, I believe....

Thank You
0
 

Author Comment

by:dennisk1718
ID: 33617475
Hello,

I have this coded example runnning from the command line. I want to get it working from JBoss now...

Thank you
0
 

Author Comment

by:dennisk1718
ID: 33617649
Hello,

I am working on Ch 12 of JBoss 4.0 book examnple nad I see some modifications I nee dto make.

Let me put this question on hold for a few.....

Thank You
0
 

Author Comment

by:dennisk1718
ID: 33638947
Hello,

I see now that there are new developments in JBoss land.

There are 3 JAX-WS implementations:

Native, Apache CXF and Glassfish.

I now iknbow that my Project is using Apache CXF.
 Now, my question is properly framed....

Any ideas on changes to above code?

0
 

Author Comment

by:dennisk1718
ID: 33695177
Hello,
I have found the best example so far on writing a new Web Servcei in Java:

http://www.ibm.com/developerworks/webservices/tutorials/ws-jse/ws-jse-pdf.pdf

and it works..Now the problem is to move the application from eclipse Internal Server, probably tomcat, to JBoss 4.2.3.

Any hints?

Thank You
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
pairs challenge 5 77
Web Reply Form - PHP with Upload 4 66
Protectings Systems from Malicous Users 4 122
More Than One Website On Same DMZ Server 3 72
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

786 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