[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2010-09-07
8
Medium Priority
?
597 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:Gurvinder Pal Singh
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:
Gurvinder Pal Singh earned 2000 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
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.
Suggested Courses
Course of the Month13 days, 23 hours left to enroll

656 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