Solved

WCF Service Error

Posted on 2013-06-24
4
417 Views
Last Modified: 2013-06-30
Hi,
I am consuming a WCF service in Classic ASP web application using SOAP calls.
I am getting the following error.

Object reference not set to an instance of an object
SyncInvokeAuthorizeIdentity(Object , Object[] , Object[] ) 
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at 
System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at 
System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc) at 
System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) at 
System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at 
System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc) at 
System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc) at 
System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc) at 
System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc) at 
System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
System.NullReferenceException  

Open in new window


I tried to google for some of these exceptions. But, I couldn't find any solution.

Can you guys please help me in this?

Thanks
Padu
0
Comment
Question by:spraocs
  • 2
  • 2
4 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39275517
Please let us know which webservice you are using and please post your code taking out any passwords.  If your code is very long, post only what is needed to answer this question.  How you are building the soap envelope, httppost and reading response.

Include what line where the error was.
0
 
LVL 1

Accepted Solution

by:
spraocs earned 0 total points
ID: 39275993
Thanks for responding.
Sorry, I think I jumped in too early. I was missing a tag in the soap message body. But the error message posted above didn't give me any clue about that. So, I had to post a question here.. closing this question now.
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39276016
That's what I figured.
0
 
LVL 1

Author Closing Comment

by:spraocs
ID: 39287916
I was missing a tag as mentioned in my previous post.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jquery to restrict certain words from input in form 11 39
FileUp - Classic ASP 5 19
innerHTML 7 34
ASP exit 10 19
To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre…
Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question