• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

service-ref Tag in web.xml

 
Karthik Rajendiran
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jayaraj Jaganathan
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope service-ref tag is only applicable in jboss , websphere ..etc only
not in tomcat. please correct me if i am wrong
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic