Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

JSE Deployment

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to deploy the sample application given in RMH Book with the GlassFish Container 2.1.1. Its not getting deployed and the error is Exception occured in J2EEC Phasejava.lang.RuntimeException: wsdl file /wsdl/bookquote.wsdl does not exist for web service BookQuote. I am not able to fix this.

web.xml


webservices.xml


Wsdl File:


Files are arranged in this below order.


WEB-INF contains lib, classes, web.xml, webservices.xml and wsdl folder. wsdl folder inturn contains the bookquote.wsdl

WEB-INF
classes
lib
web.xml
webservices.xml
wsdl
bookquote.wsdl



Thanks
Ashok
Project-Structure.JPG
[Thumbnail for Project-Structure.JPG]
Project files structure
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
The examples in the RMH book are, as far as I know, all JAX-RPC. Metro does not support JAX-RPC, only JAX-WS, so the example you provided will not work in GlassFish (in which Metro is the web service stack).
Best wishes!
 
Ashok Kumar Babu
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Krizsan,

Thanks for giving that key point. Now I have installed Metro to the GlassFish 2.1.1 and trying some JAX-WS examples.

Cheers
Ashok
 
Are we home yet? Wait, did we forget the tiny ad?
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic