wcf + Byte array through wcf service using MTOM
Hi, How to pass Byte array through wcf service using MTOM..please give me any sample ...
Hi, How to pass Byte array through wcf service using MTOM..please give me any sample ...
We have a Web project containing both an ASP.Net (forms) UI, and some WCF web services. This is hosted in IIS 6. Both the UI and the WCF services make use of a PDF-generating tool which requires a license, stored in the <appSettings> section of the web.config file. The license is based on the domain of the website, i.e. xxx.com (all subd...
Is it possible to host a service with multiple binding endpoints under WAS. For example a service with tow TCP endpoints and tow message queue endpoints? Is that possible? ...
I created a RESTful service using WCF which calculates some value and then returns a response to the client. I am expecting a lot of traffic so I am not sure whether I need to manually implement queues or it is not neccessary in order to process all client requests. Actually I am receiving measurements from clients which have to be sto...
Hi, I just built a asp.net 2.0 web site. Now I need add REST web service so I can communicate with another web application. I've worked with 2 SOAP web service project before, but have no experise with REST at all. I guess only a coupleweeks would works fine. after googling, I found it's not that easy. This is what I found: There is N...
I'm attempting to load test a WCF service with (IIS6/Server2003/BasicHttpBinding). The service is throttled as follows: <serviceThrottling maxConcurrentCalls="100" maxConcurrentSessions="100" maxConcurrentInstances="100"/> To assess the number of calls on the server I'm using the ServiceModelService 3.0.0.0 performance counters. If ...
The contract name 'IMyService' could not be found in the list of contracts implemented by the service 'MyService'.. ---> System.InvalidOperationException: The contract name 'IMyService' could not be found in the list of contracts implemented by the service 'MyService'. This is driving me crazy. I have a WCF web service that works on my ...
When I first posted this question I had strong coupling between my web service and application controller where the controller needed to open multiple threads to the service and as it received back data it had to do a lot of processing on the returned data and merge it into one dataset. I did not like the fact that the client had to so m...
I am trying to generate a client proxy from a WCF service library. I am using VS2005, .NET 3.0 on a Windows XP Pro workstation. The WCF service is hosted in a windows service. When I run the windows service as a console application, there are no problems. I can run svcutil.exe against that address and it generates the proxy. However, whe...
So I've got a project, running all on a private network. I've got a computer interfacing to some specific pieces of hardware and presenting a user interface via Winforms to control them all. Now, I'd like the ability to split the app, such that all the interface and main business logic runs on one computer, but the GUI runs on anot...
WCF promotes good design by using interfaces and contracts etc. What baffles me is that, for example in my case if I have 2 sets of business functionality like ICustomerMgmtBIZ and IProductMgmtBiz. If these two are ServiceContracts, and I have an interface like IBusinessService:IProductMgmtBIZ,ICustomerMgmtBIZ and implementation class ...
Am getting an error mentioned below when I call my WCF service?How do i get rid of it? There was an error while trying to serialize parameter http://tempuri.org/:MyWCFSvc.svc The InnerException message was 'Type 'System.String[]' with data contract name 'ArrayOfstring:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not ex...
My project details are as follows, Project Type : WCF client project Technology : ASP.NET MVC I am getting data from WCF service in the form of List<SomeInterface>, and the method for example "GetAllMessages(int ServiceChannel)" or the Interface "SomeInterface", doesn't expose PageSize,PageNumber. I am not using Model,as the data i...
Hi, my WCF service it's used by a Silverlight application to retrieve data. I've no problem, [OperationContract] MyCollectionClass GetList(int sessID, string name); [CollectionDataContract] public class MyCollectionClass : List<MyClass>{ } [DataContract] public class MyClass { [DataMember] public string Prop1 { get; set...
Hi Just started getting to grips with WCF security. How do I list a user's roles at the service? E.g. // Could use declarative security here, i.e. using PrincipalPermission attribute public string MyService() { // Would like some code that does something like: foreach( Role role in CurrentUser.Roles ) { } } Thanks ...
Can anyone advise of a good pattern for using a WCF Service from an ASP.net Page? It seems that if the lifetime of the Client(:ServiceModel.ClientBase) is not properly controlled that we get PipeException thrown. It currently exists as a field of the Page class, but is being reinstantiated upon each page request without being cleaned up ...
I have a custom stream that I am using with WCF for large BLOBs from the database. It reads the data in chunks. What is the best way to handle the connection for the stream? Should I just open it at the construction or open/close it with each chuck read? Thanks. ...
When in the WCF lifecycle are service behaviors loaded? How long to they persist? Would I have to recycle my Service Host to re-apply service behaviors or are they dynamically detected? Is the lifetime variable based on the type of Service Host(Self,Windows Service, IIS, WAS)? ...
Hi there, Currently have the task of designing a web service ( i am going to wcf but principles still apply) in c#. Problem is there is no overloading of methods which i am aware of so i need to name web methods with different names. I would really like some input on naming conventions, there just doesn't seem to be anything out there...
I'm using ServicedComponent from EnterpriseServices AKA Com+ for Distributed transactions Simple transaction programming by using attributes Object pooling Things that I find lacking in com+ The lack of dll versioning Pain of having to gac & reg every time I change a component Having to attach debugger I'm aware that WCF solves ...