|
|
 |
ws-dev
Re: Design decision
by Paul Prescod other posts by this author
Nov 21 2001 5:02AM messages near this date
view in the new Beta List Site
Re: Design decision
|
Re: Design decision
Rich Salz wrote:
>
> ...
> It seems like it would be pretty trivial to layer one API on top of the
> other. Haven't I heard that phrase "there's more than one way to do it"
> somewhere before?
Don't encourage them!
Gisle and I discussed it more and came up with an idea that I think is
okay.
$foo-> Ports # list of ports
$foo-> Port(...) # find a port by name and namespace
They look similar but the big differences are:
1. -> Ports is a list, not a single port
2. -> Ports returns the ports in THIS WSDL. ->Port("...") finds a port
in any included or imported WSDL
Arguably Port(....) could be called findPort or resolvePort but the bare
name seemed clear enough.
Paul Prescod
_______________________________________________
Ws-dev mailing list
Ws-dev@[...].com
http://listserv.ActiveState.com/mailman/listinfo/ws-dev
Thread:
Paul Prescod
Cameron Laird
Paul Prescod
Chris Radcliff
Rich Salz
Paul Prescod
Paul Kulchenko
Paul Prescod
Paul Prescod
|
|
|
 |
|