Hi All
I am currently having an issue calling a WCF service from a windows service. My Application Solution looks like this.
Web Administration Console (Web Project)
Central Control (Windows Service)
WCF service so the Web Administration Console can connect to it and configure it
Several Calls to use WCF on the Node (Window Service)
...
We are currently using a .asmx web service method which serializes our object to Json to be returned to the client and consumed by MS Ajax code. For some members of the object, we use custom converters via classes that derive from JavaScriptConverter and override the Serialize method. We "wire up" these custom converters in our web.con...
I have an opportunity here to get into WCF but have a limitation on time on deliverable. I can provide my services in iteration and if WCF is the way to go I can buy extra time to get over the learning curve.
What is the norm now? Is WCF the way to go?
...
Say I have the following:
namespace SomeProject
{
public interface ISomething
{
string SomeMethod();
}
}
namespace SomeService
{
[DataContract]
public class CompositeType
{
[DataMember]
public ISomething Something { get; set; }
}
}
Now, in my calling code I want to be able to do thi...
Can I use Delphi 2007 to communicate with a WCF service using the netnamedpipebinding ?
If so, then how?
...
We are using the Enterprise Library 4.1 Exception Handling Application Block's ExceptionShielding feature in combination with a custom RoleProvider with our WCF services. When the RoleProvider determines an user is not in a role and returns false from the IsInRole method, the following exception is occurring:
System.ServiceModel.Securi...
I started here: http://stackoverflow.com/questions/753599/implementing-linq-to-sql-transactions-through-wcf
Since then I came to the following. I am using basicHttpBinding for legacy, and my WCF client is unmanaged C++ (gSOAP). So I am using ASP.NET Session and enable aspNetCompatibilityMode on WCF. This works, so now I can handle sessi...
I use WCF for a client server system.
When I add a service reference to IService on the server, a proxy class ServiceClient is generated.
My code looks like the following:
ServiceClient client = new ServiceClient();
try
{
client.Operation1();
}
catch(Exception ex)
{
// Handle Exception
}
try
{
client.Operation2();
}
catch(Ex...
We have a website built in PHP and are trying to enable it to talk to couple of services that are going to be written in WCF and follow REST Style architecture for web services.
Anybody have any best practices? issues?
...
Hello and thanks for any assistance
In my WCF Service I have a property declared as such:
public string PropertyName
{
get { return propertyName; }
set { propertyName = value; }
}
In my Client, when i add a service reference to the service, the imported .cs file has the same property, except it has lost it's casing, as such: ...
So here is the scenario... I have a sharepoint content type that calls a wcf service to update data in another database. The problem comes what happens if the call times out? This process happens during check out and while I may get a failure of the SP side while waiting for the call to finish, the service end may succeed. Any ideas...
I've got a WCF service with lots of method and DataContracts. It is usually consumed by large application "A". I want to create a tiny application "B" which will use the very same server but only a few methods from the service. I want to reduce the size of the XAP, and since the client is using a fraction of all methods exposed by the se...
I am a newbie in WCF, currently I am developing a TCP WCF service and I am not sure that I understand passing parameters correctly or not so I recommend you to comment and give a standardized way.
To get things clear I developed a small service for testing purpose that has single method and depends on an external .Net dll that exposes ...
As I'm currently learning to use WCF Services, I am constantly encountering tutorials on the internet which mention using a ServiceHost when using a WCF Service.
What exactly is this ServiceHost ?
In my current project I am using a WCF Service and having a reference to it from my app and whenever I want to consume it from my app I ...
Hello and thanks for your opinion.
I am creating a webservice.
This webservice will accept a customer and the customers accounts along with a couple other related objects and attributes and such.
When the webservice recieves a request, I attempt to process it.
If there is no error I simply just return. If there is an error, I throw ...
Hello, thanks for any assistance.
I'm creating a wcf web service for an external client.
The client is requesting a copy of the wsdl.
I currently am waiting on being able to provide the client with access to the service.
when I go to my local webserver running the service (http://localhost/Services.svc?wsdl) I am shown
the wsdl, the d...
Hello, and thanks for any assistance.
I'm confused on how I should return errors to a client using SOAP.
I have a wcf service, but I'm not sure what technology the client is using, so I'd like to stick to the SOAP specification.
As far as I've read, Fault messages seem to be the best way to handle this.
I can see my service having m...
Here is our current infrastructure:
2 web servers behind a shared load balancer
dns is pointing to the load balancer
web app is done in asp.net, with wcf services
My question is how to set up the SSL certificate to support https connection.
Here are 2 ideas that I have:
SSL certificate terminates at the load balancer. secure/unsec...
I have a WCF services. Which has two methods, say Get and Save. I want to expose only the Get method to the third party who will be consuming the service while my application should be able to consume both Get and Save.
Is there a way to consume a method not in OperationContract? I am thinking of verifying the host name of the request a...
I currently have a WCF Service with a CallBack Contract (duplex), and when I use the application that makes use of it on my computer everything works fine, but when I try it from a different computer, it doesn't connect.
These problems started occurring once I switched to using this wsDualHttpBinding (for callbacks) because when I used ...