Should a Service Implement a Single PortType?

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 UTC