RE: SoapHttpClientProtocol request canceled

From: Dan Rogers (danro_at_microsoft.com)
Date: 12/03/04


Date: Fri, 03 Dec 2004 03:35:34 GMT

Hi,

I'm having trouble figuring out what the specifics are. Is this a service
that you upgraded to 1.1 and now the existing 1.0 clients are broken? Or
did you upgrade the client machines to 1.1 and not the server machines and
not the clients are broken?

Have you tried refreshing the generated service proxies? This will
probably fix your issue. If you are not able to do this then you are
probably going to have to keep things stable. To understand what has
changed, I'd suggest comparing the WSDL contracts for the two situations
(assuming it was the machine that the service runs on that was upgraded.)
Unless the two contracts are the same.

If I read you right though, the service side has not changed, but you have
upgraded the .NET version on the machine that makes the call. Try
refreshing the proxy and recompiling. This should fix the issue. The only
other option you have is to add policy statements to the web.config for
this app that make it load the assemblies needed by the app with 1.0.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
Thread-Topic: SoapHttpClientProtocol request canceled
thread-index: AcTY5kqbUojuZwLcRMqIjEVIIYB8sg==
X-WBNR-Posting-Host: 210.55.201.197
From: "=?Utf-8?B?Sml0IFByYXNhZA==?=" <JitPrasad@discussions.microsoft.com>
Subject: SoapHttpClientProtocol request canceled
Date: Thu, 2 Dec 2004 19:15:07 -0800
Lines: 94
Message-ID: <DC312E9E-3FCE-47E0-B8F2-D7F1D522A9F2@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
        charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:7784
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

I have a working client-side Vb.Net (.net v1.0) app that talks to a
Webspere
webservice on a windows 2000 server. The client side app runs on a citrix
server, also a Windows 2000 server. The app worked ok till I installed .Net
v1.1 on the citrix, now I get an error when I get the app to use .NET v1.1.
 
If the app uses .NET v1.0 (with .NET v1.1 stalled), then its ok, however I
must use v1.1 for other reasons.

Has somebody come across this error before - I am pulling out my hair on
this one.

  The error I get is:

The request was aborted: The request was cancelled. as
system.Net.ConnectStream.CloseInternal(Boolean internalCall, Bollean
ignoreSuhtDownCheck)
at System.Net.ConnectStream.CloseInternal(Boolean internalCall)
at System.Net.ConnectStream.Close
at Stste.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at GTPSMessagingLib.GTPSRouterService.process3ParmRequest(string
inputHeaderer, String messageControlPayload, string inputMessage)

The proxy class I use in the app is:

'---------------------------------------------------------------------------

---
' <autogenerated>
'     This code was generated by a tool.
'     Runtime Version: 1.0.3705.0
'
'     Changes to this file may cause incorrect behavior and will be lost if 
'     the code is regenerated.
' </autogenerated>
'---------------------------------------------------------------------------
---
Option Strict Off
Option Explicit On
Imports System
Imports System.ComponentModel
Imports System.Diagnostics
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization
'
'This source code was auto-generated by wsdl, Version=1.0.3705.0.
'
'<remarks/>
<System.Diagnostics.DebuggerStepThroughAttribute(),  _
 System.ComponentModel.DesignerCategoryAttribute("code"),  _
 
System.Web.Services.WebServiceBindingAttribute(Name:="GTPSRouterServiceSoap"
, 
[Namespace]:="urn:ServiceRequest")>  _
Public Class GTPSRouterService
    Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
    
    '<remarks/>
    Public Sub New()
        MyBase.New
        Me.Url = "http://localhost/GTPSRRWebService/GTPSRouterService.asmx"
    End Sub
    
<System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:ServiceRequest/pr
ocess3ParmRequest", 
RequestNamespace:="urn:ServiceRequest", 
ResponseNamespace:="urn:ServiceRequest")> _
    Public Function process3ParmRequest(ByVal inputHeader As String, ByVal 
messageControlPayload As String, ByVal inputMessage As String) As 
<System.Xml.Serialization.SoapElementAttribute("return")> String
        Dim results() As Object = Me.Invoke("process3ParmRequest", New 
Object() {inputHeader, messageControlPayload, inputMessage})
        Return CType(results(0), String)
    End Function
    '<remarks/>
    Public Function Beginprocess3ParmRequest(ByVal inputHeader As String, 
ByVal messageControlPayload As String, ByVal inputMessage As String, ByVal 
callback As System.AsyncCallback, ByVal asyncState As Object) As 
System.IAsyncResult
        Return Me.BeginInvoke("process3ParmRequest", New Object() 
{inputHeader, messageControlPayload, inputMessage}, callback, asyncState)
    End Function
    '<remarks/>
    Public Function Endprocess3ParmRequest(ByVal asyncResult As 
System.IAsyncResult) As String
        Dim results() As Object = Me.EndInvoke(asyncResult)
        Return CType(results(0), String)
    End Function
End Class


Relevant Pages

  • Serious 2003/2007 upgrade issue
    ... I'm having a problem with a recent upgrade from Office 2003 Pro to ... The app is painfully slow ... clients archive folders saying ... it and re-install but got the same errors, and the .pst files were still ...
    (microsoft.public.office.misc)
  • Re: 3rd Party tools for SOAP and Web Services
    ... I had was with the SOAP Server not being quite compatible, but an upgrade ... As it happens, the same app also uses RemObjects to talk to its local ... Clients, and I've used it well in other apps since. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: June 2005 EAL Question
    ... parameter to a string. ... > public class MyEventLogInstaller: Installer ... You have a web app, ... >>> at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean ...
    (microsoft.public.dotnet.general)
  • Re: Running other applications
    ... associated with a file type (extension). ... file and calling FindExecutable: ... ByVal lpDirectory As String, ByVal lpResult As String) As Long ... > The app is a program called Data Junction. ...
    (microsoft.public.vb.general.discussion)
  • RE: SoapHttpClientProtocol request canceled
    ... the VB app on Citrix works fine with .NET components when only ... .NET1.1 is installed and the app uses .NET1.1. ... > The VB.NET exe and the VB6 exe both use VB.NET dll to sent request/response ... >> inputHeaderer, String messageControlPayload, string inputMessage) ...
    (microsoft.public.dotnet.framework.webservices)

Loading