• Post Reply Bookmark Topic Watch Topic
  • New Topic

Session bean with web service endpoint

 
Taariq San
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an EJB 2.1 stateless session bean configured with service-endpoint in one project, the business tier that ends up in the ear.
My web services and other web code winds up in the war file.

I tried creating a web service from my WSDL in the web tier and pointing it to the EJB by updating the webservices.xml file.
I changed <code>
<servlet-link>SomeServiceSoapHttpPort</servlet-link> </code>
to <code> <ejb-link>SomeService</ejb-link> </code>
but I assume that link is not available in the web tier.
Any pointers?
[ September 18, 2008: Message edited by: Taariq San ]
 
D Pacak
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
At first, I wonder how you managed to deploy a session bean in a WAR file?
As far as I know and according to EJB 2.1 spceification you cannot do that.
You have to be more precise and specify more information on your development environment. For instance, what kind of an IDE and application server are you using?
 
Taariq San
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by D Pacak:
Hi!
At first, I wonder how you managed to deploy a session bean in a WAR file?


I didn't, its in the ear file.

The IDE is Eclipse by choice but JDev grudgingly once in a while, app server is Oracle 1013
[ September 23, 2008: Message edited by: Taariq San ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!