Re: Reference requirements

Hi,

Returning a specialized URI for an instance sounds like an excellent idea;
however, I would take it one step further: why not return a specialized
WSDL? That gives you flexibility in terms of allowing the instance to
describe a binding too - which means you could ask a "factory service" for
an instance that offers some set of port types, and the factory would come
back to you with a WSDL (with port type definitions omitted and possibly
bindng omitted too - these would be imported so it would still logically be
a complete service description). The advantage of doing this over a URI is
that a URI isn't self-contained - I can't send you my service URI unless
you know everything else (the port type, binidng details). Of course
exchanging WSDLs is more heavyweight (even though in most cases the WSDL
may not contain more than <import...> and <service...> elements), but maybe
there is room for both alternatives? For my part, I think using WSDL itself
as a service reference makes more sense.

Nirmal.



                                                                                                                                       
                      Paul Prescod                                                                                                     
                      <paul@prescod.net        To:       www-ws-desc@w3.org                                                            
                      >                        cc:                                                                                     
                      Sent by:                 Subject:  Re: Reference requirements                                                    
                      www-ws-desc-reque                                                                                                
                      st@w3.org                                                                                                        
                                                                                                                                       
                                                                                                                                       
                      02/19/2002 03:07                                                                                                 
                      PM                                                                                                               
                                                                                                                                       
                                                                                                                                       



Anne Thomas Manes wrote:
>
> Systinet WASP supports remote references using a header element to
reference
> the instance id.
>
> Anne Thomas Manes
> CTO, Systinet

That's great. Can we standardize it?

Even better...why not combine the endpoint URI and the instance ID
somewhat like this:

http://www.manes.net/service?instance=instanceID

I have other ideas beyond that but I'll let that one sink in. If you do
that then voila you've made it easy for every instance to be an endpoint
and all you need is a WSDL for it. Which puts the ball back in WSDL's
court. You need a way to say that the return value of a method will be a
URI like that and declare the WSDL that goes with that
instance-endpoint.

 Paul Prescod

Received on Wednesday, 20 February 2002 12:40:09 UTC