473,397 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Webservice Error Message Timeout

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.


Jul 26 '06 #1
0 1028

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jack Wright | last post by:
Dear All, I have observed that if I call a synchronous WebService from my aspx page then even if I set oProxy.TimeOut = 1000, the WebService thread execution is still running... Since my...
0
by: Steve Schaenzer | last post by:
Hello, I have a windows client that makes a WebService call on regular intervals using a timer. This call is very simple and always takes a very short time to reply. However about every one in...
2
by: wcchan | last post by:
Hi, We set debug="false" at web.config of a WebService for performance sake. We found that after set, the web service request will sometimes got a timeout exception. Would anyone tell me how long...
7
by: Alessandro Benedetti | last post by:
Hi. I'm calling two methods of a .NET Webservice (A) from another Webservice (B). The A Webservice is made like this: public class WSA: System.Web.Services.WebService { private int X = 0;
7
by: GD | last post by:
Hi, I am trying to call a webservice from a windows service application. It works only if I launch the windows service app from VS.Net 2005 (Worked around from Main()) or from a winform test...
6
by: Doug Ferguson | last post by:
I am using a webservice client that was created from a WSDL file in .Net 1.1. The client ALWAYS works the first time I call it. The second call returns one of two exceptions. It either returns...
3
by: shark | last post by:
Hi. I'm dealing with scenario when call to any web method ends up with timeout and I try to add the user a chance to retry (wait a little bit) My service proxy code looks like this: ...
2
by: shark | last post by:
Hi. I'm dealing with scenario when call to any web method ends up with timeout and I try to add the user a chance to retry (wait a little bit) My service proxy code looks like this: ...
4
by: Simon | last post by:
I would like to know how to set the timeout for System.Web.Services.WebService class (from which my web service is derived)? According to documentation there should be Timeout property, but I can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.