For example, in my WCF, if I have a Customer table and an Order table that have an association to each other on Customer ID.
I want to get the Count of the number of Orders for each Customer.
In regular VB code I can just do this:
Dim CustID As Integer = 1234
Dim cust As New MyService.Customer()
cust = cust.GetCustomer(CustID)
Respons...
Well, it appears that now that WCF has been out for a while, the WCF Channels Mini Book that is referenced in this great article (http://winterdom.com/weblog/2007/02/14/WritingAWCFTransportChannelPart1.aspx) provided by SO user tomasr (http://stackoverflow.com/users/10292/tomasr) is no longer available since Microsoft retired the netfx3....
Is there some sort of "built-in" authentication in WCF? I need to expose a web service to our clients so they can check status of their transactions.
My initial thought was they would just use their normal Username and Password passed in as method properties. It would be over SSL, of course, but is this method of authentication not ...
When I use the WCF Test Client, it shows an IMetadataExchange end point, even if I don't have one defined. However that endpoint also has an error indicating it can't talk to the endpoint. I've tested this on a few applications and it happens with all of them:
'The contract 'IMetadataExchange' in client configuration does not match the ...
Hi Everyone,
I am having a problem when deploying my WCF service. Locally it works fine, but on our test server we have a number of different services setup in IIS, all with different IPs, say:
192.168.0.10 <--- Default IP
192.168.0.11
192.168.0.12 <--- My webservice IP
when I try to browse to http://192.168.0.12/mysevervice.svc all...
Hi all,
I have a specific requirement to remove all client WCF configuration (<system.serviceModel>) out of the main app.config file, and into a separate XML file. The behaviour I would like to see is similar to that available in the appSettings section using the File="" directive. In fact, I'd ideally like to be able to specify a s...
I am using WCF to return a plain old XML (POX) document to the caller. I am using the XML Serializer formatter to turn the objects into XML.
In the returned document I have some extraneous xml namespace references (that weren't there in the ASMX version) for the XML Schema and instance. I have seen various arguments on the web that ...
EDIT: I started a closed vote on this question because I resolved the issue. I was doing everything fine, but a reference to an ASP URL rewriter that I downloaded and uninstalled a while ago still had a reference in IIS. This forum post by Waclaw Stypula (the one with the steps) helped me track this down, by accident. When I launched t...
I have a website where I currently use ASP.NET's built in Authentication, profile and role management. I would like to move some functionality (including authentication) to the client side using a third party javascript library like JQuery or Mootools without the use of ScriptManager and generated proxy classes.
There is very limited in...
Goal
I would like to be able to both host and connect to a vanilla sockets server via WCF, within the hosting framework I am devising. I want to be able to use WCF to codify the transport and protocol communications that have to be manually managed by sockets programmers today. This would allow me the ultimate interoperability with Li...
I was wondering if anybody out there had some good tips/dos and don'ts for designing WCF contracts with a mind for web-service interoperability, both in terms of older Microsoft web service technologies (e.g. WSE) and non-Microsoft technologies such as Java calling WCF web services.
For example: are there any special rules that need t...
I'm working on a WCF service that will be communicating over net.tcp to n instances of a client app (that is being developed by another programmer in my office).
At the moment I am using net.tcp without any security as I felt setting this up at this stage wasn't necessary, at least not until we are closer to rolling out.
During the de...
I want to send a large blob from biztalk with some metadata to a WCF service.
I can control both the service settings and the biztalk settings freely, though I have to use http to reach the service.
The blob may well be in the gigabyte range, so the plain WCF BizTalk adapter with BasicHttp or WSHttp is out of question since it serializ...
I have web farm with 10 servers running IIS, on every one of them I have the same web site together with the same WCF service (which expose some functionality for reading/deleting cache, sessions, application variables, other internal data)
On some other web server I have an “administration” web application which is a client to the WCF ...
Hi,
I have a WCF service with three methods. Two of the methods return custom types (these work as expected), and the third method takes a custom type as a parameter and returns a boolean. When calling the third method via a PHP soap client it returns an 'Object reference not set to an instance of an object' exception.
Example Custom...
So, I have a WCF service that is listening on both net.tcp and net.pipe. I've generated a WCF proxy client, and I'd like it to be able to connect via tcp or named pipe. I don't want the config in app.config, but in code.
The WCF client will get the endpoint address at runtime, so something like "net.tcp://mymachine:10001/MyService" or "...
I've been tasked with building a basic admin app.
The app needs an ASP.NET front end which talks to a number of back end services using WCF.
One requirement is that the users of the app are authenticated using Windows authentication. I can do this no problem if the app logic were contained in the ASP.NET app, but I have no idea how to p...
I know it's not supported, and I know it's not even a terribly good idea. But, I want to have a WCF client inside a SQL Table Valued Function.
I've (seemingly) registered the correct assemblies, but when running my client - I get a WCF error:
Msg 6522, Level 16, State 1, Line 1
System.ServiceModel.CommunicationObjectFaultedException: ...
WCF: Why does passing in a remote endpoint fail when passing the same endpoint via the configuration file works?
This works:
Using con As New OfferingTap.OfferingTapClient(New ServiceModel.InstanceContext(callback), "NetTcpBinding_IOfferingTap"
This doesn't:
Using con As New OfferingTap.OfferingTapClient(New ServiceModel.Ins...
Just curious if anyone has messed with the Apache.NMS.WCF code at all. For a work project, I've started to try to integrate the Apache.NMS WCF binding with ActiveMQ. I've made some progress, but if anyone has any links or info, I'd greatly appreciate it.
...