Solved

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

Posted on 2010-09-07
8
590 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
[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
  • 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ejb on wildfly 5 61
sql import cannot be resolved jsp 3 113
apache does not start on Kali linux 4 88
junit initializtion error 2 19
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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.

737 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