How to use REST with webservice in

dotnet framework


  • 1. Office Web Services Toolkit No Results From Search
    I'm having problems similar to the Peter on getting the toolkit to process my WSDL file. It just does nothing. It complains when it does not find the file, but the "Search" never gives back any results. I do not have the import complexity that Peter had. I have tried to verify that it is a valid WSDL file by using XmlSpy. Any help would be much appreciated.
  • 2. <Protocols> (Web.config) setting for WebService
    Hi, I have a webservice at root folder <Root> and have webservices at child folders <ChildA>, <ChildB> etc... If i comment out the <Protocols> tag itself (note its not the elements HttpGet,HttpPost,SOAP) in Root Folder's web.config but not in the Child folders' web.config files, does it have an impact on applications making use of the webservices in Child folders? Does the web.config setting at root have any cascading impact on subfolder web.config settings even though sub folders still have <Protocols> tag enabled for HttpPost and HttpGet? Any comments will be appreciated. thanks Anand
  • 3. The request failed with HTTP status 400: Bad Request.
    I have a WebService build on a Java Environment which I tried to use. When I add a reference in VisualStudio 2003 I get the error "The request failed with HTTP status 400: Bad Request." Even when I uses the command line wsdl.exe <URL> I get this error message. Now, I tried the same with VisualStudio 2005 and there it works fine. I already encountered interoperability issues with the .NET FW 1.1 which have been removed with Framework 2.0. Does anyone know how I can make the stuff working in Framework 1.1?

How to use REST with webservice in

Postby jain.mca » Wed, 12 Apr 2006 13:31:37 GMT

Hi Friends..
 i m getting a problem how to use REST in webservice which is developed
 i have created a simple webservice but bydefault it used soap.
 but my boss wants create it used by REST...

plz help me and if any one have a sample code then send me also


Similar Threads:

1.REST WebService Resources

I have been asked to create a new web service using the REST architectural 
style, but I haven't been able to find any examples or really good resources 
to help me understand how to go about writing the source code.  Does anyone 
know of any good REST resources that use either VB.Net or C# for examples?

Does REST require any special software libraries?  With SOAP, I can simply 
use Visual Studio to create a new function with the WebMethod attribute to 
create a web service.  Is the process similar with REST?  Thanks.

2.Using external Webservice from my ASP.NET app and proxy srv

3.Prob using a custom type in webservice

I have the following sample webservice:

namespace x
    public class WS : System.Web.Services.WebService
        public class Class1
            public string s;
        public class Class2
            public string s;
        public class Class3
            public string s;
            public Class1 c1;
            public Class2 c2;

        public string Test(Class3 c3)

When I use XmlSerializer to deserialize the webreference proxy for Class3, 
it includes namespace attributes for Class3.s, Class3.c1, and Class3.c2.  If 
I set the namespace attribute of the webservice to "" and update the 
webreference, the webreference proxy no longer works.  How can I tell the 
webservice to ignore the namespace attribute for all public types in Class3?

4.ASP.NET Application Calling Webservice Using Integrated Authentication


This one may be a bit of a mess.
I have a set of WebServices which use Integreated Authentication.  I
can access the WSDL files without any issue.

I have a ASPNET web application that is running under a specified
Process account.  The process account is an active directory domain
account which has been configured according to the MS Guide MS998297.

When I try to call the Webservice from the ASPNET application I am
greated with a "The request failed with HTTP status 401: Unauthorized.
" error message.  Can anyone offer any pointers or reccomendations?

5.Calling Webservice from ASP using httpGet now breaks calls from .Net code

Hi,   I have got a web service (in .net 1.1)  that I call using SSL.
It works fine.

I then get a requirement to access the service using ASP, so I write
code doing an HttpGet to access it.  This works fine, however only
after I stick the following in the web.config file (as httpget is not
included by default for 1.1).  Note the ASP code was accessing
the service using HTTP not HTTPS, so I'm not sure if they accessed it
using https if it would fail.

     <add name="HttpGet"/>
     <add name="HttpPost"/>

This then breaks access for my existing site.   What have I done

I thought perhaps it was because I need to state the SOAP protocol so
I stuck in
     <add name="HttpSoap"/>  into the protocol section, but to no

 I bet its something silly, but as I'm not very familiar with web
services I am stuck!  Any suggestions?


6. using a VC++ DLL function in a C# ASP.NET webservice

7. Issue using an unmanaged dll in a ASP.Net 2.0 Webservice

8. Problem in deploying my WebService developed using WebServ

Return to dotnet framework


Who is online

Users browsing this forum: No registered users and 51 guest