Skip to main content

EJB3 endpoint URI doesn't work

2 replies [Last post]
ejb3user
Offline
Joined: 2005-12-14

Hi
I created a HelloWorld type of EJB3 which has @WebService annotation in addition to @Stateless.
Deployment worked fine. I can see the bean and Web Service in management console.
When I try to invoke using
http://localhost:8082/HelloWorldBeanService/HelloWorldBean
or
http://localhost:8082/HelloWorldBeanService/HelloWorldBean?WSDL

I get HTTP status 404, requested URL not found
The default tester also fails with the same message
http://localhost:8082/HelloWorldBeanService/HelloWorldBean?tester

(I have installed on 8082)

Any pointers ?

thanks
-ejb3user

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vbkraemer
Offline
Joined: 2003-09-03

Without the code and/or the data that may be in the server log, it is kind of hard to give good advice.

Are the links you sent copies of the URLs for things like the tester that you see in the Admin Console on the Web Service Management pages?

I created my first EJB based WS yesterday, by reading through this tutorial...

http://www.oracle.com/technology/tech/java/oc4j/ejb3/howtos-ejb3/howtoej...

It may help you too.

swapnali
Offline
Joined: 2006-06-14

HI,

Thanks for the link.
I was struggling with this since morning. and just at the end of the found your link. Now it worked in just 10 mins.