"Owen D Burroughs" <[EMAIL PROTECTED]> writes: > > If there is one operation in the port type with the name "op1" and one > operation in the binding with the same name, your code matches the two > operations regardless of what the input and output names are. I believe > that this would be incorrect when the input (output) name is set on both > operations but with a different value, for example in the port type, > operation "op1" has an input name of "in1" but in the binding the operation > "op1" has an input name on "in2". The WSDL spec makes the input/output > names on port type and binding operations optional, but does state that for > overloaded operations the names should match. Can this be interpreted > further to mean that if these names are specified in both the port type and > the binding then they should match?
Yes, because even if the user doesn't give a name to the in/outs of the operation, the spec indicates an algorithm for how those names will be auto-created. Then if the binding doesn't use the matching name, then the binding does not match. > I would ask, if the input/output names are specified in both the port type > operation and the binding operation, but don't match, is this valid wsdl? No. Sanjiva.