How to get the request/response pair as well as the time stamp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dorandoran
    New Member
    • Feb 2007
    • 145

    How to get the request/response pair as well as the time stamp

    Hello,

    I need to get the request/response pair as well as the time stamp. How do I do that? I ran a job and it's timing out so I contacted the support team and they ask me if I could provide request/response pair and timestamp. Please suggest. I am using webservices (vs 2005 , vb.net)

    thanks
    julie
  • dorandoran
    New Member
    • Feb 2007
    • 145

    #2
    hmm anyone has any idea on how to get this info when timeout error occurs? I still have the program in debug mode.

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      Your tech team wants to know what what web page request was made, what that webpage's response was and what time it occured at (be sure to supply a timezone offset when it stating the time)

      Comment

      • dorandoran
        New Member
        • Feb 2007
        • 145

        #4
        Thank you platter. here is what I have emailed them.

        System.Net.WebE xception occurred
        Message="Unable to connect to the remote server"
        Source="System"
        StackTrace:
        at System.Net.Http WebRequest.GetR equestStream()
        at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String methodName, Object[] parameters)
        at closebird.com.c losebird.www.OA irServiceHandle rService.read(R eadRequest[] method) in C:\Documents and Settings\mahmed \My Documents\OA\OL D Releases\OA_Rel ease_07_07_2008 \Production\clo sebird\Web References\com. closebird.www\R eference.vb:lin e 223
        at closebird.clsSy ncSlip.syncSlip New(String SlipSessionID) in C:\Documents and Settings\juliej ones\My Documents\OA\OL D Releases\OA_Rel ease_07_07_2008 \Production\clo sebird\clsSyncS lip.vb:line 231




        The line 223 in reference.vb is Dim results() As Object = Me.Invoke("read ", New Object() {method})

        '''<remarks/>
        <System.Web.Ser vices.Protocols .SoapHeaderAttr ibute("SessionH eaderValue"), _
        System.Web.Serv ices.Protocols. SoapRpcMethodAt tribute("https://www.closebird.c om/OAirService#rea d", RequestNamespac e:="https://www.closebird.c om/OAirService", ResponseNamespa ce:="https://www.closebird.c om/OAirService")> _
        Public Function read(ByVal method() As ReadRequest) As <System.Xml.Ser ialization.Soap ElementAttribut e("readReturn") > ReadResult()
        Dim results() As Object = Me.Invoke("read ", New Object() {method})
        Return CType(results(0 ),ReadResult())
        End Function



        This is from line 231

        Dim uResults As ReadResult() = stub.read(New ReadRequest(0) {uRead})

        Comment

        Working...