I have built a web service consumer application by adding a web
reference for a vendor-provided wsdl file. My client is
interoperating with the server just fine, in terms of sending a
request and receiving and properly parsing a response, but the problem
is that when I step through it in the debugger (or even when I run the
executable) there is a delay of about 15 seconds after executing my
XXXAsync method to invoke the web service until the SOAP request
message is actually sent out over the wire. I have no idea what the
program is doing during this time. Anyone have an idea of what might
be causing the delay? It almost seems like the web consumer is trying
to resolve some dns names or something, but I have set the url to send
to to be a specific ip address so there is no need for dns there. My
client PC is also connecting to the server over a VPN, not sure if
that plays into this somehow.
I have taken an ethereal trace during this time to see what is going
over the network during this 15 second delay, and what I see is a
bunch of SMB messages that Ethereal decodes as Trans2 requests and
responses, followed 12 seconds later by some Netbios name queries,
followed at about the 15 second interval by the SOAP message.