Stefan,

I'm sure the resourceLink stuff works in the original Globus impl. In Apollo, we refactored the config file parsing to utilize XmlBeans, and I suspect we forgot to tie in initialization of resourceLinks. I'll add this to the TODO list.

In the meantime, I'm glad Sal's suggestion is doing the trick.

Ian

Stefan Lischke wrote:

Hi Sam

That is the way jndi works. To create a link you need to use the
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.


It does not seem to work, if i'm doing it right.
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]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to