| 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: 2906
|
|
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
|
"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
|
 |
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: 2906
|
|
|
Apache Axis 1.x (or Axis2 for that matter) doesn't support EJB - so you are going to need a separate EJB containerApache 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.
|
 |
 |
|
|
subject: where to keep wsdl file when using webservices with EJB ?
|
|
|