Timeout can't be negative wsdl error in Coldfusion

I got an error in Coldfusion today that I had never seen before:

timeout can't be negative

The error occurred when making a call to a webservice. The webservice call was working fine yesterday. I did some Googling but didn’t have much luck in determining why this was happening suddenly.

I traced back over the previous day trying to figure out what I had changed. There was a query that kept timing out, so I had experimented with changing the query timeout setting under the advanced datasource options in cfadmin. Its the only timeout setting I knew of, so I changed it back to its default value of 0. Suddenly my webservice call worked again!

I tried to repeat the error by setting the config back to how it was. But was unable to get the call to fail again.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s