GeeCON Prague 2014*
The moose likes Web Services and the fly likes service-ref Tag in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "service-ref Tag in web.xml" Watch "service-ref Tag in web.xml" New topic
Author

service-ref Tag in web.xml

Karthik Rajendiran
Ranch Hand

Joined: Aug 13, 2004
Posts: 211
Hello Friends,

To Test WEbservice Client through Service Lookup using service-ref tag.
I tried using tomcat, but got namingexception in




So i tried resin ,after correcting the web.xml to point to 2.4.xsd file
but got this error
service-ref
[09:58:17.119]element start: service-ref-name
[09:58:17.127]org.xml.sax.SAXParseException: <service-ref-name> is an unexpected tag (parent <service-ref> starts at 92).
[09:58:17.127]
[09:58:17.127]</service-ref> is expected to close.


Where as the close tag was present.

Can anyone tell me here, whether anyone got successfully looked up using service-ref tag in web.xml

Can you help with which container you tried.
[09:58:17.127]

[09:58:17.127]<service-ref> syntax: empty


SCJP 1.4 SCWCD 1.4 SCDJWS 1.4
Jayaraj Jaganathan
Ranch Hand

Joined: Jun 29, 2009
Posts: 70
I hope service-ref tag is only applicable in jboss , websphere ..etc only
not in tomcat. please correct me if i am wrong
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: service-ref Tag in web.xml