You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by mabroukONnet <ma...@yahoo.fr> on 2007/06/27 11:52:37 UTC

access resource instances without serviceGroup

hi,

We have a service which expose some instances of one resource.
Like wsrf sample, except that This service don't include the serviceGroup.

In client part, how to do for selecting and invoking a specific instance?
(note that the service is active and we can't modify or add anything in it)

thanks
mabroukONnet
-- 
View this message in context: http://www.nabble.com/access-resource-instances-without-serviceGroup-tf3987303.html#a11321482
Sent from the Muse User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org


RE: access resource instances without serviceGroup

Posted by "Vinh Nguyen (vinguye2)" <vi...@cisco.com>.
Since you aren't using a servicegroup, then the only way your clients
can access your resources is to either:

1) Make the resource EPRs known ahead of time to the clients, but this
will only work if those EPRS are static (i.e. stay the same each time
you restart the app), or

2) Implement an operation in your service that clients can call to get
the EPRs of the other resources.  Then, using the returned EPR, the
client can access that resource instance directly.


-----Original Message-----
From: mabroukONnet [mailto:mabroukonnet@yahoo.fr] 
Sent: Wednesday, June 27, 2007 2:53 AM
To: muse-user@ws.apache.org
Subject: access resource instances without serviceGroup


hi,

We have a service which expose some instances of one resource.
Like wsrf sample, except that This service don't include the
serviceGroup.

In client part, how to do for selecting and invoking a specific
instance?
(note that the service is active and we can't modify or add anything in
it)

thanks
mabroukONnet
--
View this message in context:
http://www.nabble.com/access-resource-instances-without-serviceGroup-tf3
987303.html#a11321482
Sent from the Muse User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org


Re: access resource instances without serviceGroup

Posted by Daniel Jemiolo <da...@us.ibm.com>.

Service groups are the only "standard" way that I know of to get the
EPRs... the WS-* specs always delegated such discovery to "the
implementation", which doesn't help you much. If you're resources are
created using the persistence layer (/classes/router-entries), you'll need
to use that EPR data to contact the resources.

Dan



mabroukONnet <ma...@yahoo.fr> wrote on 06/27/2007 05:52:37 AM:

>
> hi,
>
> We have a service which expose some instances of one resource.
> Like wsrf sample, except that This service don't include the
serviceGroup.
>
> In client part, how to do for selecting and invoking a specific instance?
> (note that the service is active and we can't modify or add anything in
it)
>
> thanks
> mabroukONnet
> --
> View this message in context: http://www.nabble.com/access-resource-
> instances-without-serviceGroup-tf3987303.html#a11321482
> Sent from the Muse User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: muse-user-help@ws.apache.org
>