Hello everyone,
I am using VSTS 2010 + C# + .Net 4.0 + IIS 7.5 + Windows 7. When I open an svc file (in IIS manager, right click the svc file and select browse) for a WCF project in IIS, there is an error like this, any ideas what is wrong?
This type of page is not served.
Description: The type of page you have requested is not served...
I have a Dispatch MessageInspector which is deserializing a SAML Token contained in the SOAP message header.
To do the deserialization I am using a variation of the following code:
List<SecurityToken> tokens = new List<SecurityToken>();
tokens.Add(new X509SecurityToken(CertificateUtility.GetCertificate()));
SecurityTokenResolver outO...
Downloaded the WCF REST Template from this location.
The default response format is XML, which works great. However, when I try to get a JSON response, I still get XML.
This is my modified code -
[WebGet(UriTemplate = "",ResponseFormat = WebMessageFormat.Json)]
public List<SampleItem> GetCollection()
{
// TODO: Replac...
I have created a WCF service library (not a WCF service application).
The project output is a dll.
How can I host this on IIS 7.5/WAS?
I believed that creating a service library was the way to go so that it could be used on a variety of hosts, whereas the service application is limited to IIS.
I'm getting lost in MS mumbo jumbo here, ...
Hi All,
A client provided us with schemas and a wsdl for a service they would like developed. When I jumped on the project, there was already a service implementation in place. When I pull up the svc file in IE, it shows the normal svcutil command etc.. When I drill down and I look at the schemas being imported by the wsdl we're using, I...
Hi there,
I am looking for some help with ReadAsDataContract in WCF REST. I found screencast and walthrough from Aaron Skonnard which shows how to ReadAsDataContract.
For some reason I can't seem to find it again. I have found 1 screencast from him but it only shows info about ReadAsXML etc
Is anybody aware of this screencast and wher...
Having read the documentation and many many articles I believe the following should work but it doesn't.
This is how my datacontracts are structured.
[DataContract]
[KnownType(typeof(Friend))]
public class Person
{
private string name;
[DataMember]
public string Name { get { return name; } set { name = value; }}
private P...
I have a client wherein I pass in the username, password through network credentials. What I want to do is to pass these two parameters to the service itself for authentication purposes: Example shown below:
Client:
HttpClient client = new HttpClient("http://localhost:8080/ProductService/");
client.TransportSettings.Credentials =
...
Is there any Absolute Beginner's tutorial available on Web for WCF that comprehensively describes the underlying technologies, protocols and other relevant stuff.
Just cramming the ABCs and other conventions make me feel bad.
...
I need to provide a service to a third-party that will be sending soap messages with a signed Timestamp..
How can I configure my service to support this?
UPDATE
I've managed to get close to the format of the Soap message that we're after but WCF insists on signing both the username and the timestamp tokens, Is there a way to modify the...
Hello,
I have two projects, one is a WCF service, the other is an ASP.NET MVC site. The service is to be exposed to multiple consumers, including my MVC site. Both the site and the service require access over SSL. I only have one SSL certificate I can use.
Any ideas how I can set these two projects up in IIS?
Thanks in advance.
...
I have a site that host more then 60 services.
With the simplified version of the wcf configuration, i dont have to speficy all the services and its corresponding endpoints.
The question is how do I speficy the service host to use the same behaviorConfiguration for all servies endpoint ?
I don't want to list all the endpoints in the ...
Hi,
I am having problem with the WCF + Silverlight application when querying database.
An exception occurred during the operation, making the result invalid. Check InnerException for exception details.
at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at AWShop.EmployeeServiceProxy.GetEmployeesCompleted...
I have a requirement to geocode data using Google's geocoding service. Google's geocoding services aren't as friendly to consumption via .NET as, say Bing's (no surprise there) so while I could go all out with ContractDataSerializers, WCF, JSON and a whole other pile of acronyms is there anything wrong with something like the below if a...
Is it possible to communicate with a WCF service without using NETCFSvcUtil to generate the proxy?
I'm trying to call a WCF service on a mobile using compact framework. I do not want to use NETCFSvcUtil to generate a proxy for a particular reason.
I have this sample code on the mobile side to test it out :
// This is the contrac...
Hi,
I have a wcf service hosted in iis.
I have many clients connected to it via basicHttpBinding.
On the same server I also have other service that is doing the business logic.
The business service puts the messages on local private queue. The wcf service in a separate thread waits for a change in the private queue and if it sees new m...
Hi All,
I'm currently looking at developing a WCF Service for the first time, but am a bit confused.
Say I've got a windows application that is going to call into this web service, that service is then going to call our data methods to retrieve and save the data.
Now, say for example we have 2 classes in our solution, Customer and Pr...
Hello everyone,
I am using VSTS 2010 + C# + .Net 4.0 + IIS 7.5 + Windows 7. I am following MSDN sample here without any modifications, http://msdn.microsoft.com/en-us/library/ms733766.aspx
When I open the service.svc file (in IIS manager, right click the svc file and select browse) in IIS, there is an error like this, any ideas what is...
I'm having an issue with the treeview control from the silverlight 4 toolkit. I can't get it to view to display my data correctly, the toplevel items are shown but the childnodes are nowhere to be seen.
More info:
I have a wcf service that delivers a list of Categories with nested subcategories to my viewmodel (I made sure to explicitly...
This is my first try trying to use WCF, so I'm guessing I'm doing something incorrect.
I'm trying to access a soap service defined by the WSDL at http://confluence.atlassian.com/rpc/soap-axis/confluenceservice-v1?wsdl I'm using VS2010, and I add a Service Reference to my project and point it to the URL there (or rather, our intranet inst...