Win a copy of Svelte and Sapper in Action this week in the JavaScript 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

where to keep wsdl file when using webservices with EJB ?

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

I exposed Stateless SessionBean EJB as webservice , i have generated wsdl file using java2wsdl , now where should i keep this wsdl file ???
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Usually your container/application server takes care of that.

In a J2EE 1.4 container the relationship between the WSDL and the session bean is captured in webservices.xml




 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Peer for your time . My question may be foolish , but i still wanted to know that i am using Apache axis to expose stateless SB EJB as web service , still we need web services.XML file ???







 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
  • Apache Axis 1.x (or Axis2 for that matter) doesn't support EJB - so you are going to need a separate EJB container
  • Apache Axis 1.x never followed the J2EE 1.4 deployment standard for web services - it doesn't use a webservices.xml at all. It uses the server-config.wsdd (Deployment WSDD reference) instead.
  • Apache Axis 1.x generates its own WSDL dependent the WSDD settings.
  • Ultimately what goes where is dependent on the integration between Axis 1.x and the EJB container that you are using.
  •  
    Pay attention! Tiny ad!
    the value of filler advertising in 2020
    https://coderanch.com/t/730886/filler-advertising
      Bookmark Topic Watch Topic
    • New Topic