aspose file tools*
The moose likes Web Services and the fly likes where to keep wsdl file when using webservices with EJB ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "where to keep wsdl file when using webservices with EJB ?" Watch "where to keep wsdl file when using webservices with EJB ?" New topic
Author

where to keep wsdl file when using webservices with EJB ?

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Hi ,

I exposed Stateless SessionBean EJB as webservice , i have generated wsdl file using java2wsdl , now where should i keep this wsdl file ???


If you want something you never had do something which you had never done
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
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

Joined: Jan 30, 2009
Posts: 528
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

Joined: Aug 19, 2005
Posts: 2922
    
    5
  • 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.
  •  
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: where to keep wsdl file when using webservices with EJB ?