Is there a way to get the host name of the cleint making the call to a net.tcp binding in WCF. I'm trying to Diagnose an issue and I'd like to find out which client is sending me the message which is causing it.
I've tried:
OperationContext.Current.Channel.RemoteAddress.Uri.AbsoluteUri
But that only seems to give me a generic schema ...
.Net 4 will have a brilliant support for memory mapped files. The two main applications listed on different blogs (http://blogs.msdn.com/salvapatuel/archive/2009/06/08/working-with-memory-mapped-files-in-net-4.aspx) are:
1) editing large files,
2) interprocess communication.
I'm already using WCF over named pipes for interprocess comm...
i'll use some sample code to demonstrate my problem...
this is an entity
public class Channel : EntityBase
{
[DataMember]
public virtual IList<LocalChannel> LocalChannels { get; set; }
}
local channel has a string property.
this 2 classes mapped fluently and works fine with the has many relation.
the problem is in the wcf ...
Hi there,
Anybody aware of how to call a webservice from Java, whats the recommended way, do i need to download an additional JAR or something?
Anybody know of a good tutorial.. i saw something ksoap but it seems pretty old??
The webservice is actually hosted by WCF on .net but i shouldn't think this makes a difference...
I was hopin...
By using grails I have to consume WCF WebService.I was trying but could not.If someone could just tell me the steps to call a webservice by using grails.
...
I am working on writing BDD specifications for a broad set of WCF service infrastructure I am writing. I have noticed that each specification I write that involves a call to ServiceHost.Open(), that line takes a good 2 - 6 seconds to execute (the time keeps growing as I add more and more specs). I noticed that when this method is called,...
Hi!
I don't know if this could be done, but I have a WCF service that should return a custom object, the object has a collection of another custom object that contains a stream.
when I try to return this object I get
System.Runtime.Serialization.InvalidDataContractException: Type 'System.ServiceModel.Dispatcher.StreamFormatter+Message...
Hi ,
I have to deploy my WCF service on IIS 7.0 in windows 2003. Currently windows2003 has IIS 6.0 installed already. I like to know:
How/Steps to upgrade from IIS 6.0 to IIS 7.0?
Is there any installer for IIS 7.0. I am googling it but it gives the reference of setup that upgrade my internet explorer to 7.0.
Please provide me links...
Hello there,
My WCF service library is hosted as a Windows Service and is supposed to handle requests from multiple clients.
One request that clients are going to make frequently is pretty resource intensive.
I have two doubts pertaining to above scenerio:
How a WCF service handles multiple client's request?
Is there any WCF configur...
I have a WCF service which works perfectly when deployed in our dev and test environments, but which falls over in the production environment.
When attempting to browse to the service, the following exception is thrown (inner exception type is InvalidDataContractException):
[ServiceActivationException: The service '/IL.Party.WS/Party.s...
Hi there,
Is it possible to force WCFSvcHost (which is executed automatically when I do an F5 or when I am debugging another project in the solution) to use a custom ServiceHost?
I have my Custom ServiceHost working great in my asp.net Host container by using a service factory which in turn calls the Custom Service Base.
But when wcfS...
Hello there,
I want to pass list of entitiy objects from Client to WCF Service,
but my WCF Service has no knowledge of the structure of these entity objects.
One way could be to pass them in an XML file.
What could be the other possible ways to pass such objects to WCF service?
Please guide.
Thank you!
...
This is my first attempt to use WCF so there may be something fundamentally wrong with this approach - if so I'm happy to switch to a different model. At quick glance, I thought the answer to this question would have worked, but my scenario appears to be different.
I have an ASP.NET MVC website where the controllers access the WCF clien...
Hi everyone,
I really can't figure this one out! (if it's even possible). From a WCF service we are receiving product information. A product datacontract has some members that are defined as strings (but are actually integers), but we want to process them as integers.
When I change the datatype in the contract on the client side from...
I have the following WCF client configuration:
<basicHttpBinding>
<binding name="basicHttpOCCWS" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
max...
I have a list of a custom DTO that I am trying to pass across to a WCF service.
I am getting the following error:
There was an error while trying to serialize parameter tcp://localhost/:oObject. The InnerException message was 'Type 'System.Collections.Generic.List`1[[TEGE.ER.WorkFlowEngine.WFCommon.HeartBeat.HeartBeatDTO, WFCommon, ...
Hello everyone,
I am presently designing a message queue system that will be used by various applications and am having a difficult time trying to decide whether to use WCF to provide the services or use a shared class library (DLL) and deploy the DLL with the clients.
For some additional information:
• The queue is stored in a SQL ...
Background
I have an SQL CE database, that is constantly updated (every second).
I have a (web) application that allows a user to look at the data in real-time. At some point a user can click "take a snapshot" button, and it will open the snapshot in a different window.
And then on that form, there is "print" and "download" buttons that...
I have a basic wcf service and when I go to the wcfctestclient to test it, I get an error saying metadata could not be found please add it etc. Unfortunately, the MSDN link in the error popup is broken and my WCF service's app.config has metadata enabled:
<serviceBehaviors>
<behavior name="TelerikWcfServices.Service1Behavior">
...
Hi All,
I want to clear my doubts about some questions related to web services and WCF.
Following are my doubts..
What is the message format in Web Services , like in WCF every message is a SOAP message?
Can we use TCP/IP protocol in Web Services if not then why not ?
Why we use DataContractSerializer in WCF while we already had XMLSe...