Hi Sam
That is the way jndi works. To create a link you need to use theIt does not seem to work, if i'm doing it right.
resourceLink element (it has a name attribute and a target attribute).
This should allow you to declare the home in one service (or where ever
you want really) and link to it from the other services.
First my service where i define the resource nad after this the resourceLink:
<service name="SubscriptionEndPort">
<resource name="home" type="org.apache.ws.eventing.SubscriptionHome">
<resourceParams>
<parameter>
<name>serviceClassName</name>
<value>org.apache.ws.eventing.services.subscriber.SubscriberService</value>
</parameter>
<parameter>
<name>resourceClassName</name>
<value>org.apache.ws.eventing.Subscription</value>
</parameter>
<parameter>
<name>wsdlTargetNamespace</name>
<value>http://ws.apache.org/eventing/services/SubscriptionEndPort</value>
</parameter> <parameter>
<name>resourceKeyName</name>
<value>{http://schemas.xmlsoap.org/ws/2004/08/eventing}Identifier</value>
</parameter>
</resourceParams>
</resource>
</service> <service name="NotificationPort">
<resourceLink name="home" target="SubscriptionEndPort" />
</service>
but it still gives me the error " Name SubscriptionEndPort is not bound in this Context"
any ideas
/Sam
I need this for the following stuff: i have a Resource which is a Subscription, but i need 2 different services for it. The first one gets all notifications with usenotify=false (that means with no notify tag around, so im using my own WSRFMsg Handler) the second one gets the SubscriptionEnd Message.
any ideas?
stefan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- My place : http://user.cs.tu-berlin.de/~lischke
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
