Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Configuration error in Web.config file while accessing the SOAP webservice

Reply
Thread Tools

Configuration error in Web.config file while accessing the SOAP webservice

 
 
kaush
Guest
Posts: n/a
 
      10-15-2005
Hi all,
I am creating a webservice to accept SOAP messages, parse the
message and send a SOAP response back to the client accessing my web
service using WSE-2 in ASP.NET.
I am creating a class which derives from "SoapReceiver" class
and do the processing here. To register this class by using the HTTP
protocol, I am editing the "web.config" file. I am adding an "add"
element to this config file as follows:
<httpHandlers>
<add verb="*" path="MyReceiver.ashx"
type="CodeService.HttpService"/>
</httpHandlers>

Here "HttpService" is the class I have created in "CodeService"
namespace. Also I am adding a "configSections" element to the
"configuration" section of the "web.config" file to add
microsoft.web.services2 configuration section.

When I try accessing this webservice from a browser say like
"http://localhost/CodeService/CodeWebService.asmx", I get the follwing
error
Parser Error Message: Could not load type CodeService.HttpService from
assembly System.Web, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a.

Could anyone please let me know where I am going wrong?

Thanks,
kaush

 
Reply With Quote
 
 
 
 
Peter Kelcey
Guest
Posts: n/a
 
      10-17-2005
Kaush

I posted a response to this question in your other post question in the
microsoft.public.framework.webservices group. Please refer to that.

http://groups.google.ca/group/micros...1bfdba065827cd

Peter Kelcey

 
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
SOAP error: Cannot map <class> to SOAP/OM Daniel Berger Ruby 0 02-02-2010 04:22 PM
Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicK Mike ASP .Net 5 08-15-2007 08:57 AM
Response receives following error while calling a WebService: (500) Internal Server Error HP ASP .Net Web Services 0 05-30-2006 05:31 AM
Help while error "Error while trying to run project:" David ASP .Net 1 07-19-2004 08:41 PM
Got error msg while Debugging : Error while trying to run project: ... ^CrazyCoder^ ASP .Net 3 09-15-2003 09:40 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57