You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Krishnakumar B <ww...@gmail.com> on 2007/01/30 06:54:59 UTC

Usage of service ref

Hi,

I am using a web application that looks up a Service Reference from JNDI.
This works if i do not add the following section to geronimo-web.xml

<!--	<service-ref>
	<service-ref-name>service/HelloWorldService</service-ref-name>
			<port>
				<port-name>HelloWorld</port-name>
				<protocol>http</protocol>
				<host>localhost</host>
				<port>8080</port>
				<uri>/webref/ws</uri>
			</port>
	</service-ref> -->

Adding this section gives schema validation errors during deployment.

I add references for ejb,resource,resource-env in web plan. Should
this be maintained for service-ref also?

Regards
Krishnakumar