I have a self hosted Net Tcp WCF service and I have the following method
Subscribtion GetSubscribtion(int subscribtionId)
{
Subscribtion s;
if (_subscribtionTable.TryGetValue(subscribtionId, out s) == false)
{
Console.WriteLine("Not Found SessionID");//for debugging
...
Can i get the requester windows IPrincipal when he comsume WCF service?
...
There's so much stuff on this online but no one seems to be able to answer this... Hopefully someone here will be!
So i have a WCF web service hosted at godaddy.com. Everything works great when i try accessing it using:
http://www.domain.com/DataService.svc
problem is when i remove the www i.e.
http://domain.com/DataService.svc
Here...
Hi there
I have a service that uses duplex requests for calling back to the client application. I have currently exposed a single endpoint with a NetNamedPipeBinding, this is all working correctly.
When i add a basicHttpBinding i get the follow exception
Contract Requires Duplex, but Binding 'BasicHttpBinding' dosn't support it
Is i...
I'm taking my first baby steps into consuming web services. Here's my situation:
I'm writing in .NET 3.5 for an existing corporate intranet website. I need to add a call to a web service, passing account data and getting a response.
I am able to add a web reference to the .wsdl file and have Visual Studio generate the Service Referen...
I'm trying to convert an ASP.Net web service to WCF application. The client is on the .Net Compact Framework which does not support WCF so I need to make sure the WCF keeps supporting ASP style webservices. When I add the web service reference in Visual Studio the generated proxy class' methods have extra arguments.
For example if a me...
I know this is a complex WCF configuration issue, but here is a high level question:
Does WCF support Transactions over the Internet without SSL?
All of our service methods are decorated with the TransactionFlow attribute, e.g.:
[TransactionFlow(TransactionFlowOption.Mandatory)]
This forces the caller to supply a transaction context...
I'm trying to build a Windows Mobile 5 WCF client. This project currently uses web services but I'd like to convert it to WCF. I installed the .NET CF 3.5 redistributable on the device, but how do I get the "Add Service Reference" menu option to show up on my existing project in VS 2008?
...
Thats my question, I'm catching a few WCF exceptions on my client and the ProtocolException always has html code in its message.
Could I assume that will happen every time? For what I see the real good message comes in the inner exception, could I just discard the ProtocolException message and show the user the message from the inner exc...
I have been searching n the web on how and if it is possible to verify that the calling application is digitally signed with the correct certificate.
This is for internal use for my corporation. we want to digitally sign our applications and only let our digitally signed applications to access our wcf services. is this a configuration o...
I have a net tcp WCF service as follows
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)]
public class AVService : IAVService
{
static int _numberofInst = 0;
public AVService()
{
++_numberofInst;
Console.WriteLine("Number of instances "+_numberofInst);
...
Hello everyone,
I am wondering if there are configurable settings for restriction of the maximum request/respose data package size for WCF? I am using VSTS 2008 + WCF 3.5. I am self-host WCF service as a Windows Service.
thanks in advance,
George
...
i am sending byte[] (image) through wcf to silverlight, and from silverlight to wcf, everything works well as long as the byte[] (image) is less than 20KB, but when it's bigger, it doesn't work
when i try to save the image uploaded in silverlight and send it to wcf to save it in the DB
i receive: The remote server returned an error: Not...
What is the best way to check is the WCF service exists in a given ip and port? I want to check is the server exists on client installetion
...
Hello!
I have a Compact Framework 2.0 app that consume a WCF service. The data that retrieve from the service will be store on a SQL Server 2005 CE.
The SQL Server CE database has his own tables. I use a TableAdapter to access SQL Server CE and Insert and Select statement to store and retrieve data.
Is there a better way to do it?
T...
Hello,
Soliciting feedback/options/comments regarding a "best" pattern to use for reference data in my services.
What do I mean by reference data?
Let's use Northwind as an example. An Order is related to a Customer in the database. When I implement my Orders Service, in some cases I'll want the reference a "full" Customer from an O...
Hello
I currently have a simple WCF service running with one get request which returns XML, http://a446062738bb4f0aa2d8fd975aac602f.cloudapp.net/Service1.svc/GetALLPictures/10... Im trying to use [NSString stringWithURL:] to populate the string with the XML content, however this is not working, ive tried using Unicode and UTF8 encoding t...
I'm trying to utilize the Amazon Product Advertising API. They provided me with a .wsdl file which I consumed and generated wrapper classes for via Visual Studio 2008's "Add Service Reference" option. This wrapper class works just fine as is and I've been successfully sending requests and receiving responses from Amazon.
However, they...
I noticed that 2147483647 seems to be a popular choice for maxReceivedMessageSize but is this the limit?
...
Hi
Is it possible to create WCF proxy by the given config file, not app.config?
Thanks a lot!
...