• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

where to keep wsdl file when using webservices with EJB ?

 
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
  •  
    reply
      Bookmark Topic Watch Topic
    • New Topic