Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Webservice Error Message Timeout

Reply
Thread Tools

Webservice Error Message Timeout

 
 
Priyank M Bhat
Guest
Posts: n/a
 
      07-26-2006
Hi,

I am facing strange situation, where i am getting Message Expired error,
while trying to using webservice to upload file to the remote webserver. I
coded this using WSE2.0 and the code and application is running on local
machine absolutely fine if server and client are same machine. Error occurs
when we call remote script with different machine timing, i tried to
syncronize machine timing, and code worked. My webconfig file contains
following settings

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<webServices>
<soapExtensionTypes>
<add
type="Microsoft.Web.Services2.WebServicesExtension ,Microsoft.Web.Services2,
Version=2.0.0.0,Culture=neutral,PublicKeyToken=31b f3856ad364e35"
priority="1" group="0" />
</soapExtensionTypes>
</webServices>
<pages validateRequest="false" />
<compilation defaultLanguage="c#" debug="false" />
<trace enabled="false" localOnly="true" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
</system.web>
<microsoft.web.services2>
<messaging>
<maxRequestLength>256000</maxRequestLength>
</messaging>
<diagnostics>
<detailedErrors enabled="true" />
<trace enabled="false" />
</diagnostics>
<security>
<timeToleranceInSeconds>86400</timeToleranceInSeconds>
</security>
<tokenIssuer>
<ttlInSeconds>108000</ttlInSeconds>
</tokenIssuer>
</microsoft.web.services2>
</configuration>

I have also set this.RequestSoapContext.Security.Timestamp.TtlInSe conds=0;,
still the error is coming and changes to the code are not reflecting.

I need someone's help in solving this problem.

Thanks

Priyank M Bhat
Oristech Inc.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/local/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill': execution expired (Timeout::Error) vishnu Ruby 0 05-31-2006 11:08 AM
/usr/local/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill': execution expired (Timeout::Error) vishnu Ruby 0 05-31-2006 11:08 AM
WebService ignoring timeout properties? (Server was unable to process request. --> Timeout exired) Lars-Erik Aabech ASP .Net Web Services 3 04-29-2005 02:21 AM
Timeout::timeout and Socket timeout Mark Probert Ruby 1 10-06-2004 09:30 AM
WebService TimeOut Error Norm Dotti ASP .Net Web Services 0 07-29-2003 05:30 PM



Advertisments