wood burning stoves 2.0*
The moose likes Web Services and the fly likes 'service-ref' in web.xml is not recognized by the deployment tools Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark " Watch " New topic
Author

'service-ref' in web.xml is not recognized by the deployment tools

Di Dong
Greenhorn

Joined: Sep 12, 2004
Posts: 6
'service-ref' in web.xml is not recognized by the deployment tools.

I write the web.xml and put the element <service-ref>, and when deploy the war file, the OC4J deployer doesn't recognize the tag, what is the problem?

Thanks.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
According to the 2.4 servlet API, containers are only required to recognize that tag if they are J2EE application servers. The preliminary 2.4 API (of 2002) and the 2.3 API do not mention service-ref at all.
Bill
Di Dong
Greenhorn

Joined: Sep 12, 2004
Posts: 6
I Appreciate the reply.

Currently, is there any application server that supports the tag?

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 'service-ref' in web.xml is not recognized by the deployment tools
 
Similar Threads
make default.jsp as home page
Whizlabs free diagnostic question confusing
Is it possible to have a packaged Web Application without a WEB-INF directory?
Invoking WebService from a Servlet
Servlet-Based Web Service Configuration Example from Ivan Kriz's Tutorial