Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Error in proxy class

Reply
Thread Tools

Error in proxy class

 
 
Ondrej Srubar
Guest
Posts: n/a
 
      11-07-2005
Hello,
I have the following problem. I used the wsdl.exe to generate the proxy
class of some web service. It works fine, until I get the error "An unhandled
exception of type 'System.ExecutionEngineException' occurred in
system.web.services.dll". This error occurs on the line MyBase.New() . When
I get this error once, I will get it forever (restart of aplication, IIS or
computer doesn't help).
Here is the code:

<System.ComponentModel.DesignerCategoryAttribute(" code"), _
System.Web.Services.WebServiceBindingAttribute(Nam e:="pgwSoapBinding",
[Namespace]:=some url)> _
Public Class MUZOWSHandler
Inherits System.Web.Services.Protocols.SoapHttpClientProtoc ol

'<remarks/>
Public Sub New()
MyBase.New() 'Here I sometimes get error
Me.Url = some url
End Sub

..
..
..

Ondrej Srubar
 
Reply With Quote
 
 
 
 
Ondrej Srubar
Guest
Posts: n/a
 
      11-08-2005
It works again. It seems that an error is combination CryptoAPI and
webservices.
Strange.

Ondrej Srubar



"Ondrej Srubar" wrote:

> Hello,
> I have the following problem. I used the wsdl.exe to generate the proxy
> class of some web service. It works fine, until I get the error "An unhandled
> exception of type 'System.ExecutionEngineException' occurred in
> system.web.services.dll". This error occurs on the line MyBase.New() . When
> I get this error once, I will get it forever (restart of aplication, IIS or
> computer doesn't help).
> Here is the code:
>
> <System.ComponentModel.DesignerCategoryAttribute(" code"), _
> System.Web.Services.WebServiceBindingAttribute(Nam e:="pgwSoapBinding",
> [Namespace]:=some url)> _
> Public Class MUZOWSHandler
> Inherits System.Web.Services.Protocols.SoapHttpClientProtoc ol
>
> '<remarks/>
> Public Sub New()
> MyBase.New() 'Here I sometimes get error
> Me.Url = some url
> End Sub
>
> .
> .
> .
>
> Ondrej Srubar

 
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
Facebook Proxy | MySpace Proxy 35085675@qq.com Java 0 08-14-2007 06:35 AM
Inbound Proxy and Outbound Proxy chellappa VOIP 0 04-07-2006 10:58 AM
Press Release: Scalable SIP Proxy and RTP Media Proxy for NAT traversal sales@lanscapecorp.com VOIP 1 01-23-2006 06:32 PM
Nested Class, Member Class, Inner Class, Local Class, Anonymous Class E11 Java 1 10-12-2005 03:34 PM
Help to set up tomcat 4.1.27 behind socks proxy to access database outside the proxy vidy5300 Java 0 06-07-2004 02:23 PM



Advertisments