RE: SoapException - NullReferenceException
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng [MSFT])
- Date: Wed, 21 May 2008 03:43:30 GMT
Hi Nick,
As for webservice over SSL, there does exists some common issue such as the
client certificate supplyment(if you've configured it to require client
cert) or the server certificate of the SSL is not recognized at client
side. Since the "Null Reference" exception is quite a general one, I think
it would be better to do more tests before we look further into it:
** You can turn off SSL and access it through normal http to see whether it
works.
** As you mentioned that you can visit the asmx page via webbrowser, is
there any warning or error when you visit it through webbrowser? Some
warning (that can be suppress interactively) may cause exception when we
access it programmtically
**As Alex suggested, Eventlog is also worth checking for any useful clues.
If you have any other findings, also welcome to post here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Nick" <a@xxxxx>
Subject: SoapException - NullReferenceException
Date: Tue, 20 May 2008 19:30:55 +0100
Hi there,file,
I have a web service running on an SSL connection and unfortunately I
can no longer invoke it, even from a test application that just calls one
method. I can see the web service definition if I browse to the asmx
but I can't call it. I recieve the following SoapException,tMessage
----
System.Web.Services.Protocols.SoapException was unhandled
Actor=""
Lang=""
Message="Server was unable to process request. ---> Object reference not
set to an instance of an object."
Node=""
Role=""
Source="System.Web.Services"
StackTrace:
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClien
message, WebResponse response, Stream responseStream, Boolean asyncCall)still
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) at
WindowsApplication1.MyServices.SomeService.someFunction()....bla bla bla
----
Unfortunately I have no idea what has caused this problem and even
redeploying the web service and re-creating the application in IIS7 it
does not work. Any ideas on what could have happened here? I know thisis
a very generic problem so I am greatly appreciative of any help.
Nick.
.
- Follow-Ups:
- Re: SoapException - NullReferenceException
- From: Nick
- Re: SoapException - NullReferenceException
- References:
- SoapException - NullReferenceException
- From: Nick
- SoapException - NullReferenceException
- Prev by Date: Re: SoapException - NullReferenceException
- Next by Date: Re: SoapException - NullReferenceException
- Previous by thread: Re: SoapException - NullReferenceException
- Next by thread: Re: SoapException - NullReferenceException
- Index(es):
Relevant Pages
|