W3C home > Mailing lists > Public > www-ws-desc@w3.org > March 2002

Should a Service Implement a Single PortType?

From: Arthur Ryman <ryman@ca.ibm.com>
Date: Thu, 28 Mar 2002 14:54:00 -0500
Message-ID: <3CA374D8.3D41082F@ca.ibm.com>
To: www-ws-desc@w3.org
In WSDL 1.1 a service is a set of ports. Each port could in principle be
bound to a different portType. I think this is too general. It would be
simpler if every port in a service was bound to a single portType.

In practice this was not possible because the binding rules for HTTP GET
and POST required slightly different portTypes than SOAP. However, if
this problem is fixed, then should we require all ports to uses the same
portType within a service?

This is really not much of a restriction, since you can easily define
multiple services and can reuse common types and messages via an import.

Having a service implement a single portType would give it more
cohesion.

-- Arthur Ryman
Received on Thursday, 28 March 2002 14:54:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:19 GMT