wsdl question
When I add a service reference this generates classes for the service that I can use to call the service. I'm assuming that VS uses the WSDL returned from the hosted service to generate the classes I...
View ArticleCreating background thread(expected to work till service life cycle) on...
Hi, I am hosting a wcf service in IIS which provides necessary GUI interaction with data/MQ messaging, along with this I want one more thread to keep running for the complete life cycle of service....
View Articletrying to write a basic rest wcf service
Hello - I'm trying to write a basic rest wcf service. The following url made the task sound simple enough: http://msdn.microsoft.com/en-us/magazine/dd315413.aspx#id0070034 The wcf service is working as...
View Articlehow to handle int id param in wcf rest services?
Hello - I'd like to return a Customer object from a WCF REST method based on customer ID. For example: http://localhost/RestTest.svc/Customers/123 I can successfully use the following...
View Articlehow to save an object with wcf rest?
Hello - I'm able to use the following code as an interface to allow my REST service to return a Customer object based on an ID parameter: [OperationContract] [WebInvoke(Method = "GET", ResponseFormat =...
View Articlegeneric xml/json rest wcf service
Hello - I read the following information online: "The trick to getting the method to respond with and to either XML or JSON is all in the request headers. To tell the service you want to work with XML,...
View ArticleThe maximum string content length quota (8192) has been exceeded while...
Hello, I'm in trouble with wcf hosted on Windows Azure as a web service. This error occurs when I send a lot of string (>10kb) to the service. Error message: The maximum string content length quota...
View ArticleHow to Deserialize an XML String Variable
I need to extract XML data from the National Weather Service’s Web Service. It returns XML data as a text string. I’m looking for the best way to get values of elements and attributes from specific...
View ArticleWCF supports by Inernet Explorer
Hi, I listen from some one WCF runs properly only Inernet Explorer instead of FireFox, Chrome & opera ..... Please conform Furthermore i notice that some tags values not load in firefox and chrome...
View ArticleServie code file methods values in WSDL
Hi i have a service in WCF name Service1 contains Service1.svc, Service1.cs, IService1.cs IService1.cs using System; using System.ServiceModel; using System.Data; [ServiceContract] public interface...
View Articlerest - idempotence
Hello - I've seen the concept of "idempotence" referred to while researching WCF REST services. Can someone please explain the concept of idempotence and its relationship to WCF REST services?
View ArticleFile Upload in WCF using jquery
Hi i need samples to upload files in WCF using jquery concept without postback.I should open and read the file by using FileStream concept.Can anyone helpout.
View ArticleCreate Service using WSDL
Hi I want to ask that should we create a service using a WSDL file, than how.... Thank You
View Articlecreate service skelton from WSDL file
Hi i want to know how the skelton of Service created from a WSDL file for example i have a created a simple WCF Service IService.cs using System; using System.Data; using System.ServiceModel;...
View ArticleSOAP envelope request and get respose using c#
I have third party company given us URL and SOAP envelop format , now I need to request i have used below method but gives me errors. I have string soapenv = HttpWebRequest req =...
View ArticleGet ip address
Hi, I will like to get the ip adress of my computer such as (220.255.1.46) so I can get the country I am at. But I keep getting ::1 as the output. This is what i used:...
View Articleopening a port for wcf service
It seems like one requirement that I've heard for production deployment of web services in the past is that a port must be opened to accommodate it. Is this true? Or is this only true in some...
View Articlehow to use PROXY in CLIENT
proxy Dim ObjProxy As New System.Net.WebClientDim prxy As New WebProxy(My.Settings.Proxy_Server, Integer.Parse(My.Settings.Proxy_Port))prxy.Credentials = New NetworkCredential(My.Settings.Proxy_User,...
View Articledatacontracts with list datamembers
Hello - I'm creating a DataContract for a WCF service. One of the DataMembers needs to be a list of objects. The service compiles but when I add a reference to the service in another project the list...
View ArticleCreate xml in web service using Soap Header
Hi, how do i create xml on my desire in web service using Soap Header forExample i want that when i test the xml it should be create like this <Employee> <EmployeeDetails>...
View Article