Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2005

Tip: Looking for answers? Try searching our database.

WSE1.0 TimeStamp fault: Message Expired

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Raj - 12 Oct 2005 15:55 GMT
Hello,
I'm using WS-Attachments (WSE1.0) to download documents. I keep getting
"MessageTimeStamp fault Message expired" irrespective of how long I set the
Timestamp.Ttl. Here is my code

           Dim oreqContext As Microsoft.Web.Services.SoapContext
           Dim oSign As Microsoft.Web.Services.Security.Signature
 
           oService.Timeout = 3600000
           oreqContext = oService.RequestSoapContext
           oreqContext.Security.Tokens.Add(ustElaw)
           oSign = New Microsoft.Web.Services.Security.Signature(ustElaw)
           oreqContext.Security.Elements.Add(oSign)
           oreqContext.Timestamp.MustUnderstand = True
           oreqContext.Timestamp.Ttl = 3600000

           oService.GetCaseDocument(documentname)

With or without "MustUnderstand", with Ttl = 0 (No expiration) or any value,
the call to the webservice throws this exception after little over 13 minutes.

I've the following in the web.config file
   <httpRuntime executionTimeout="2400" maxRequestLength="112640"
useFullyQualifiedRedirectUrl="false" minFreeThreads="8"
minLocalRequestFreeThreads="4" appRequestQueueLimit="100" />
</system.web>

Any idea? I couldn't figure out or didn't see any post explaining this
behaviour.
Raj - 12 Oct 2005 16:20 GMT
This is the error message I get

Microsoft.Web.Services.Timestamp.TimestampFault: Message Expired
  at
Microsoft.Web.Services.Timestamp.TimestampInputFilter.ProcessMessage(SoapEnvelope envelope)
  at Microsoft.Web.Services.Pipeline.ProcessInputMessage(SoapEnvelope
envelope)
  at Microsoft.Web.Services.InputStream.GetRawContent()
  at Microsoft.Web.Services.InputStream.get_Length()
  at System.Xml.XmlScanner..ctor(TextReader reader, XmlNameTable ntable)
  at System.Xml.XmlTextReader..ctor(String url, TextReader input,
XmlNameTable nt)
  at System.Xml.XmlTextReader..ctor(TextReader input)
  at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
  at NAFServTest.elawdoc.com.SyncDBService.GetCaseDocument(String
DocumentName) in C:\eLawApp\webservices\NAF\elawNAF\NAFServTest\Web
References\elawdoc.com\Reference.vb:line 218
  at NAFServTest.Form1.Button5_Click(Object sender, EventArgs e) in
C:\eLawApp\webservices\NAF\elawNAF\NAFServTest\Form1.vb:line 420

Thanks,
Raj

> Hello,
>  I'm using WS-Attachments (WSE1.0) to download documents. I keep getting
[quoted text clipped - 25 lines]
> Any idea? I couldn't figure out or didn't see any post explaining this
> behaviour.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.