Ask a Question related to ASP.NET Web Services, Design and Development.
-
Jethro Waanders #1
Can't retrieve Code value SoapException in client application
Hello,
I've written an ASP.NET webservice. I try to recognize the type of the
original exception in my client application bij setting the Code
property of the SoapException.
Code client application:
Until here it's working because my debugger reaches the Dim statement.>Catch Ex As Exception
> If TypeOf Ex Is SoapException Then
> Dim SoapEx As SoapException = CType(Ex, SoapException)
> ...
So it's a SoapException. BUT: SoapEx.Code.Name contains not the value
i've given in the webmethod but the value "Server". SoapEx.Message
contains the value "Server was unable to process request. --> The
surrogate pair is invalid."
What i'm doing wrong ???
The Code property in the webservice is filled in by throwing an
exception of type MyAppSoapException:
Can anybody please help me ?>Public Class MyAppSoapException
> Inherits SoapException
>
> Sub New(ByRef Exc As UpdateException)
> MyBase.New(Exc.Message, New System.Xml.XmlQualifiedName("DataError"))
> End Sub
Jethro Waanders
The Netherlands
Jethro Waanders Guest
-
#39544 [Opn->Bgs]: svn client does not retrieve https-located sources
ID: 39544 Updated by: tony2001@php.net Reported By: ilya at lebedev dot net -Status: Open +Status: ... -
#39544 [NEW]: svn client does not retrieve https-located sources
From: ilya at lebedev dot net Operating system: Gentoo Linux PHP version: 5.2.0 PHP Bug Type: Unknown/Other Function Bug... -
Is it possible to retrieve application ?A? cookies byapplication ?B??
Is it possible to retrieve application ?A? cookies by application ?B?? I have a below scenario ? In application ?A? there is a link, which takes... -
Retrieve Client Certificate using COM Objects
Anybody knows how to retrieve Client Certificate using COM objects instead of: var=Request.ClientCertificate("certificate"); Thanks -
retrieve HTTP_HOST with case-sensitivity (as entered on the client)?
This doesn't seem like it should be *that* difficult, but after quite some time trying to figure it out, I'm still banging my head against the...



Reply With Quote

