We are using WCF for communication between a client and a server application. The client application has many features that requires communication to the server - and we have chosen to implement this in multiple classes (seperation of responsability)
For the time, we are creating new WCF endpoints and service contracts for each object -...
We have a Flash application that connects to a WCF REST web service returning json data.
We use URLRequest/URLLoader with POST requests, not a lower-level library using sockets like as3httpclientlib.
The application runs swimmingly well in the normal course of duties, but when we are behind a corporate proxy server (ie. In Internet Exp...
While using WCF and OperationContracts I have the following method defined:
[OperationContract]
[FaultContract(typeof(ValidationFault))]
[FaultContract(typeof(FaultException<ExceptionDetail>))]
int DoSomething(int someId, MyComplexType messageData);
When this gets translated to a WSDL by the WCF runtime, it ends up wit...
I'm having a strange problem invoking a WCF service from flex. When I'm testing from Eclipse (Run as or Debug) and the url in the browser points to C:..., the service call is successfull:
16:17:31.008 [DEBUG] mx.rpc.soap.Operation Invoking SOAP operation ValidateAccessCode
16:17:31.009 [DEBUG] mx.rpc.soap.SOAPEncoder Encoding SOAP reque...
What are the .datasource files that are automatically generated by "Create Service Reference" in Visual Studio? The comment in the file is this:
This file is automatically generated
by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the conte...
Getting error with Could not find endpoint element with name 'CaseJacketPort' and contract 'GrandJuryService.CaseJacket'
private void InitProxy()
{
m_Proxy = new DivisionAssignmentJSS.GrandJuryService.CaseJacketClient("CaseJacketPort"); << error here
From my App.config:
<client>
<endpoint address="http://172.24.8.125:8080/gr...
I'm interested in knowing the different bandwidth and performance characteristics of the different WCF bindings (basicHttp, WSHttp, nettcp, etc.). Aside from writing a service and exposing the different endpoint bindings that we can call to exercise, how could I measure these metrics?
In particular, I need to know how bandwidth and per...
My question revolves around a WCF REST Service for IIS that responds with JSONP. I took the classes in this solution: http://msdn.microsoft.com/en-us/library/cc716898.aspx and added them to mine. Things were working fine on my developer workstation using impersonation with httpTransport but when I tried to move up to the development se...
I've created a WCF Service in an existing ASP.NET Website and implemented a custom UserNamePasswordValidator to check the client's credentials against our database.
My problem occurs when I try to set the HTTPContext's User to a custom principle. It works all of the time, except the first call after recompiling the website. In that si...
I'm connecting to a webservice using WCF. I can authenticate on the server correctly, send my request, and get a signed response back.
The only thing is that the body of the response isn't encrypted. Ok, I'm fine with that. It's not my service and not my call how they do things, I'm just writing a client.
The issue is that WCF keeps gi...
Hi guys,
I'm having trouble inserting a new LinqToSql object over WCF.
What I'm doing is just sending an Orders Batch to the service. Inside the batch are Orders that have already been sent previously. When I do
data.batches.InsertOnSubmit(newbatch)
I get a sql error:
"Violation of PRIMARY KEY constraint 'PK_HTOrder'. Cannot inse...
I currently have a WCF service to consume a remote REST service with the following:
[ServiceContract]
[XmlSerializerFormat]
public interface IMyApi
{
[OperationContract]
[WebGet(
ResponseFormat = WebMessage.Xml,
UriTemplate = "RemoteServicePage.jsp")]
MyNewClass Send();
}
The nice part about this is the XmlSerializerFormat attr...
We are trying to talk to a (possible)Java WebService from .NET 3.5 using WCF. The WebService defines a Timestamp object which seems to be a datetime without the decimal milliseconds.
WCF decided .NET would use a datatime as the object backing in the proxy class. When sending objects with the timestamp to the Java WebServer the datetim...
We're connecting to a web service and the fault message we're getting back isn't deserializing (at all), and no version of class that I can make will deserialize correctly. We have no control over the server side of things. The server does not allow for discovery, so adding ?WSDL to the end of the URL of the endpoint results in an error,...
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="HTTPBaseAddress"
value="http://localhost:8000/Derivatives/"/>
<add key="TCPBaseAddress"
value="net.tcp://localhost:8010/Derivatives/"/>
</appSettings>
<system.diagnostics>
<sources>
<source
name="System.ServiceM...
Hi.
I am using XMLHTTP from withing my web project to call a WCF method in my
service library that is hosted on another port.
The project is hosted on port 2541:
localhost:2524/Web-Project/test.aspx
When I fire a button on test.aspx, it issues an XMLHTTP request
doing a REST-style GET pointing at the below URL string:
localhost:4...
For clarity when I mention tiers in my question, I am referring to physical tiers (i.e. different servers for presentation, application and database)
My company has a public facing website that is currently built as a typical 2 tier system (web server and database server).
Soon a project will start in which we will be re-writing the wh...
Hi! I need to deploy a WCF service where the user specifies some configuration data.
Let me explain: the service connects to a web server and the user should specify IP and port of that server.
How could I do it?
A solution could be to develop a tool which allows the user to create the configuration file and to "say" the service where t...
In SOA I believe that the wsdl does not support recursive data types but I saw some examples where the proxy actually works. Anybody knows more about this?
...
I am trying to consume a WCF logging service from classic ASP without deploy a Com wrapper. I found a method of doing so here. Here is the vb script, simplified.
Dim addr
addr = "service:mexAddress=""net.pipe://localhost/Services/Logging/LoggingManager/Mex""," _
& "address=""net.pipe://localhost/Services/Logging/LoggingManager/classic...