The current WSIFService implementation when choosing a default port ( i.e.
the client uses the WSIFService getPort() call) just returns the first one
it finds. This just happens to be the port using the SOAP binding in this
case. Which port will be the first one found is not based on the order you
define them in the WSDL, but as WSDL4J stores the ports in a Java Hashtable
its based on the hash of the port name - changing a port name may change
which one is chosen by default.
...ant
Anthony Elder
[EMAIL PROTECTED]
Web Services Development
IBM UK Laboratories, Hursley Park
(+44) 01962 818320, x248320, MP208.
"Amos Sonnenwirth" <[EMAIL PROTECTED]> on 26/02/2003 10:35:19
Please respond to [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
cc:
Subject: MultiBinding Sample using WSIF's dynamic invocation
Hi,
I ran the multibinding sample using DII, without mentioning the preferred
port . (The WSDL contains Java and SOAP ports)
My quesrion is, in case of not choosing a preferred port , what kind of
logic is being used in order to invoke the service ? Why SOAP mechanism is
being chosed although there is java port which is more likely in this
situation .
������� Thanks in advanced
Amos