Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where to keep wsdl file when using webservices with EJB ?

 
RaviNada Kiran
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 ???
 
Peer Reynders
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.
  •  
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic