Hi
How do I use current date & time as the value for the findValue attribute in the ServiceCertificate config when using "FindByTimeValid" for the x509FindType? Using DateTime.Now as below obiously doesn't work but neither does "2010-10-20 14:35:28Z". I have two certificates on the server with the same details as one of them has expired...
I'm currently attempting to build a WCF service that uses a basicHttpBinding and requires authentication. I intended to use SSL for the project, and since I want it to be accessible from a SmartDevice project, I configured the binding to use TransportWithMessageCredential as security mode.
However, this setting is not available in the ...
Hi,
I am new to WCF issues and I'm trying to populate an control by using a wcf service . I have used 'Ajax-Enabled WCF' template ( VS 2010) for creating my service. there is no error while on Asp.net development server but when put on IIS [Method 404 Error] appears in dropdown . I tried to access the WCF services directly like (ht...
If an exception occurs in my WCF service, what is the best way to communicate that error to the client?
Should I log it on the service and rethrow a soap exception?
Or should I log it and return a user friendly message?
...
I been trying to upload File throught WCF using ExtJS here a snippted of my code
browseFile = new Ext.ux.form.FileUploadField({
id: 'form-file',
name: 'BrowseFile',
fieldLabel: 'Browse',
allowBlank: false,
maxLength: 8000,
emptyText: ''
});
added to the form and use the fileupload:true property too but havent been...
I am having the following data structure:
[DataContract]
public class OperationResult<T>
{
public OperationResult() { }
[DataMember]
public Int32 OpResult
{
get;set;
}
[DataMember]
public IList<T> OperationResults
{
get;set;
}
public static OperationResult<T> Success(IList<T>...
I have a stored proc where one of the columns is
sum(Value)/sum(qty) * sum(Requested) as ValueReq
Value, qty and Requested are columns of a table with datatype as numeric(20,0) in sql server. In the linq to sql class, ValueReq is declared as
private System.Nullable<decimal> ValueReq
Although the query returns non zero values as r...
I've got a WCF service running on a LAN IIS which is accessible from the internet as well.
The client that consumes the service is an application that runs on the LAN and remotely through the internet. There is no forwarding of anything on the DNS server redirecting http://www.corporate.com/Service to http://serverName/Service so I'm fi...
Good afternoon,
I am running into a curious problem with WCF and IntelliTrace. I have an application that I'm testing using a locally-hosted WCF endpoint (the development server built into VS2010) using the basicHttpBinding. The application has been running normally: no exceptions are are making their way to the app and all of the WCF...
Does anyone know of an end to end tutorial/example showing how to upload binaries to a WCF host from say a desktop application (probably Silverlight or WPF but it most likely doesn't matter).
...
I've been playing around with WCF and I have managed to a WCF service to generate both SOAP, POX, and JSON formats pretty easily based on this example (I added the soap config).
http://www.c-sharpcorner.com/UploadFile/ashutosh.shukla1/3040/Default.aspx
And I see that if you add a timestamp field to your data base tables you can actuall...
I've got a wcf "self-hosted" service up and running and when communicating across machines i get The remote server returned an unexpected response: (405) Method not allowed. message.
This only seems to happen when running the WCF test client connecting to a remote machine. When running on the server, everything communicates fine.
i'm...
Hi. I saw this post with a proposed solution:
http://stackoverflow.com/questions/497209/how-to-set-up-a-wcf-client-using-wsdualhttpbinding-in-code
but is not clear me what it is refering to as the CommServiceClient when talking about creating a service client. Some example?
...
I have a WCF service which has an endpoint with a net.tcp binding.
var baseAddress = new
Uri("net.tcp://localhost:8000/ServiceModelSamples/Service2");
var selfHost = new
ServiceHost(typeof(CpuUsageProvider),
baseAddress);
selfHost.AddServiceEndpoint(typeof(IGetCpuUsage),
new NetTcpBinding(),
"CpuUsageProvider"); var ...
I'm building a system which will have a few channels feeding different clients (MonoDroid, MonoTouch, Asp.Net Mvc, REST API)
I'm trying to adopt an SOA archetecture and also trying to adopt the persistence by reachability pattern (http://www.udidahan.com/2009/06/29/dont-create-aggregate-roots/)
My question relates to the design of the...
I've experience with WPF and WCF, with WCF I can set maxConnection to limit maximum connection per service. Now, I'm moving that application to Silverlight and WCF RIA but I can't find that property so it can do only 4 connection parallely.
Anyone know how can I configure WCF RIA to accept more connection?
...
Hi
Maybe this look like ridiculous but this is problem at least for me
I wrote duplex WCF service, in my service I need to get active client service and save them, and when with occurred special event I call specific client and send some values for it. So I define dictionary and save client in that. (With this method client calls)
...
Hi:
What I think I understand so far about signing a message with a cert:
If I have a Client endpoint whose referenced binding behavior has values like:
bindings/binding/wsHttpBinding/Security@mode=Message
bindings/binding/wsHttpBinding/transport@clientCredentialType=Certificate
it will retrieve settings from the endpoint's associa...
Creating service on .NET for Java client. Messages will be signed by certificate and will work over https.
Java client will be provide signature in form of Issuer Name and Serial. Are WCF support this ?
If yes, which binding use ?
...
http://stackoverflow.com/questions/3015124/calling-a-wcf-service-from-java
Following on from the above question, does anyone know how to get wsimport to see WCF properties marked with the [MessageHeader] attribute, and hence generate fields for said properties on the generated Java proxy classes?
Unfortunately the requirement has now c...