File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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: 12803
    
    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