W3C home > Mailing lists > Public > www-ws-desc@w3.org > July 2003

Re: Can someone recap the differences between @serviceGroup vs. definitions-targetNamespace ?

From: Michael Rowley <mrowley@bea.com>
Date: Wed, 16 Jul 2003 17:21:06 -0400
Message-ID: <3F15C1C2.7090703@bea.com>
To: Amy Lewis <alewis@tibco.com>
CC: WS Description List <www-ws-desc@w3.org>

Great example.  Now assume that Ma & Pa want to advertize a URI for 
subscribing to their service _without_ implying the binding that will be 
used in the URI.  How do they do that?  You obviously can't send out any 
of the soap:address locations, since they imply a transport. You can't 
send the URI of the "ma-pa-market-service" element, since that is for 
more than one interface.  Seems you would need to send out two URIs -- 
the one for "ma-pa-market-service" and the one for the 
"ma-pa-market-admin" interface.  Two URIs are necessary in order to 
refer to the most useful concept that is provided by WSDL: a reference 
to a service independent of the mechanism used to communicate with it.


Amy Lewis wrote:

> ...
>I don't much like the printer example, so I'll provide another.  Suppose
>I want to enable a business to business marketplace for quite small
>businesses--mom and pop shops, in the vernacular.  These folks have
>email, but only appear on the web as clients, not as servers.  Suppose
>I've got an email binding that supports at least request/response,
>one-way, solicit/response, and notification (to use WSDL 1.1 pattern
><interface name="ma-pa-market-admin">
>  <operation name="subscribe" pattern="request-response" />
>  <operation name="unsubscribe" pattern="request-response" />
>  <operation name="options" pattern="request-response" />
>  <operation name="set-signature" pattern="request-response" />
>  <operation name="get-information" pattern="request-response" />
>  <operation name="submit-offer" pattern="one-way" />
><interface name="ma-pa-market">
>  <operation name="offer" pattern="solicit-response" />
>  <operation name="end-offer" pattern="notification" />
><binding name="ma-pa-market-admin-binding"
>  <defaultBinding extension="soap"><!-- more here --></defaultBinding>
><binding name="ma-pa-market-admin-web-binding"
>  <defaultBinding extension="soap"><!-- more here --></defaultBinding>
><binding name="ma-pa-market-binding">
>  <defaultBinding extension="soap"><!-- ditto --></defaultBinding>
><service name="ma-pa-market-service">
>  <endPoint name="ma-pa-market-admin-port"
>    <soap:address location="soaperdomo@mail.ma-pa.org" />
>  </endPoint>
>  <endPoint name="ma-pa-market-admin-web-port"
>    <soap:address location="https://www.ma-pa.org/marketplace/admin" />
>  </endPoint>
>  <endPoint name="ma-pa-market-port" binding="ma-pa-market-binding">
>    <soap:address location="marketplace@ma-pa.org" />
>  </endPoint>
Received on Wednesday, 16 July 2003 17:21:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:06:31 UTC