Below is the description of the flow:
Overall Flow:
Web page(aspx Client) -> Communicator DLL(Instantiate Proxy)->WCF Service
Web Page Client Role:
-> Instantiate class of Communicator DLL to pass the inputs to the operation
-> Gets the output from the client and do further processing
-> Does not have any clue of service operations or ...
All,
I created a WCF application that interacts with data in a database. I also created a new visual web part that consumes it.
I also created an ASP.NET application that calls the web part the exact way.
The web part does not work, it gets the following message, however the ASP.NET application does work.
Could not find default e...
I try to create WCF client to WSE 3.0 service. I have already working WSE3.0 client to the same service. Here is it's configurations:
<microsoft.web.services3>
<security>
<timeToleranceInSeconds value="10000"/>
<x509 allowTestRoot="true" verifyTrust="true" storeLocation="CurrentUser"/>
<binarySecurityTokenManager>
<add v...
I have recently come across the term Instance Deactivation.
a) What is that?
b) What for we need that?
c) In what context will it be useful?
I am looking for a simple answer that can be easily undestandable and if posible with some pseudo code.
Thanks
...
Hi All
I having a slight design problem : I have to create a Web Service (asmx or wcf) that retrieves customer data from multiple database servers, each one is exactly the same except they will contain data for different States (1 DB server per state, big states can have multiples etc).
This will be used by a call center, for example, ...
I am communicating between two processes using WCF. By default this produces very obscure and simple error messages when something goes wrong which are not very helpful.
On http://msdn.microsoft.com/en-us/library/aa702726.aspx I found out how I can enable more detailed logging. Unfortunately this seems rather static. I would like to do ...
Hi,
I have a WCF service, in it i have a method that takes a MessageContracts as input parameter and returns a MessageContract as out parameter. Please find the method defination below
[OperationContract(IsOneWay = false)]
FileDownloadReturnMessage DownloadFile(FileDownloadMessage request);
But when i create the proxy on the client a...
Hi,
i am trying to read file from a stream.
and i am using stream.read method to read the bytes. So the code goes like below
FileByteStream.Read(buffer, 0, outputMessage.FileByteStream.Length)
Now the above gives me error because the last parameter "outputMessage.FileByteStream.Length" returns a long type value but the method expec...
hey there
Trying to get HelloWorld working via SSL. Read all those docs:
http://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.x509findtype.aspx
http://msdn.microsoft.com/en-us/library/ff648431.aspx
http://msdn.microsoft.com/en-us/library/ms733791.aspx
http://msdn.microsoft.com/en-us/library/ms733813.aspx...
I have a WPF client in the same solution as my WCF service: WPF client invokes service asynchronously but breakspoints set in the WCF service implementation are not hit.
WCF service is in a project of type "WCF service library". It has "Start WCF service host when debugging another project in this solution" checked. I notice that indeed...
Hi,
I have a WCF web service that returns a stream. At the client side when i try to read it using below code then i get an exception at line " Byte[] buffer = new Byte[outputMessage.FileByteStream.Length];" saying System.Notsupported. Please advise me on what am i doing wrong here.
FileMetaData metaData = new FileMetaData();
...
Hi all,
can use static methods/ classes safely in WCF due to the fact that WCF creates a new thread for each user, so if i'll have a static variable
public static int = 5
and if two clients will try to change it simultaneously, will one of them will be able to change it for the other?
thanks...
...
I have a WebService that I am trying to use NetTCPBinding on.
here is my code for setting up the binding
private static void Run()
{
try
{
//set up the address configuration procedure: create a URI to serve as the base address
Uri baseAddress = new Uri("net.tcp://10.0.0.14:3790/Service/QB...
I'm trying to process a post by a third party server (Paypal) processed by my server through a WCF (.Net 3.5 SP1) service. All I need is to get and process the values with the query string. This sounds incredibly easy, but after a weekend, I'm still stumped. Any help would be greatly appreciated.
Passing the following URL from my brows...
Hi,
My applciation works as follows
[user]----username/password/domain----->[WCF service]
then i access the domain server to see to which actual DB the user is associated,
after getting that, i validate the user in his actual DB(DB is per domain)
the problem is that i need a place to store the domain name for the following requests...
Hi,
I am building a digital signage application and i need to allow my users to upload large images/videos. I have looked at the streaming mode to allow upload and download of the file, which seems to be the way to go. My problem is though that i need to figure out the proper approach to uploading. I need to put an entry into my database...
Greetings!
Here's the deal:
public static Message CreateMessage(
MessageVersion version,
MessageFault fault,
string action)
action: A description of how the message should be processed.
What do you guys put in there? "Handle with care!!!" or "FRAGILE"? Does it make any difference in the end?
Thanks
...
Ok.this is just making me frustrated...
Here is step by step of what I am trying to do (& not able to)
I am calling WCF service hosted in a SharePoint 2010 site from a silverlight app in same domain (So no cross doman I guess).
I use Linq to Sharepoint for querying the DB.
I am having a list "machines" in Sharepoint 2010 that is havin...
I have a WCF service that has been working flawlessly for 3 months. It is consumed by local clients on the same server hosting the WCF service and local network clients. It uses SSL and basic authentication for security.
A few nights ago, the local client (local network clients not affected) started receiving 404 errors whenever it tr...
I have a very simple Reflection-based OData sample the runs fine and generates json when I use the Accept header as indicated. However, I cannot get it to work with the $format=json parameter. Whenever I add that parameter, I get Bad Request. According to this, it seems like it should work: link text
Note that other system query opti...