wcf

How do I use Fiddler to listen to the asp.net development server (i.e. cassini)?

I am attempting to debug a (RESTful) WCF app using Fiddler. I run my project via VS IDE - which launches my app in the ASP.NET Development Server aka Cassini. I then launch Fiddler and in the Request Builder tab enter the following: "http://localhost:1066/GeneralService/sections/summary" with GET as the http method. Fiddler respon...

wcf duplex call through from host to guest under vmware (nat?)

i have installed an xp under vmware workstation and i can ping the guest with the adress 192.168.126.131 - so i've started a wcf duplex service, which works fine if i start srv and client under my host system (using localhost everywhere as path) - but if i start the service srv under the guest i can access http://192.168.126.131:18000/My...

Web application design

I have a project that I have recently started working on seriously but had a bit of a design discussion with a friend and I think he raised some interesting points. The project is designed to be highly scalable and easy to maintain the business objects completely independently. Ease of scalability has forced some of the design decisions...

How to call WCF Ria Service/DomainService from Jquery?

I'm attempting to call a DomainService created using WCF Ria Services from jquery. If I use a POST I get 405 method not allowed. If I use Get, it get javascript errors. Am I missing a configuration step? This code results in the 405. function GetSearchResults() { $.ajax( { type: "POST", url: "/Services/CustomerService.svc/GetC...

WCF WebService - Is there a way to determine that client received response?

Lets say I have a WCF service that a client can use to receive message from some server side message queue. As an example, lets say there is a server-side queue of email in a data table: ID | MESSAGE_TEXT | SENT ------------------------ 1 | Hi! | N 2 | A 2nd Msg | N Lets define our service as: [OperationContract] public...

WCF service timeout when not started yet.

I have a WCF service that I am self-hosting. It was working fine apart from being slow when the InstanceContextMode was set to PerCall. (the constructor is quite heavy so that makes perfect sense) I set the InstanceContextMode to Single, and now it works fine, after the service has started up. However, if the service is still starting u...

What are the benefits of using WCF over ASMX web services?

What are the benefits of using WCF over ASMX web services? Any pointers? ...

WCF (hosting service in IIS) - machine name automattically being picked up by WCF rather than IP?

So, I previously posted about my troubles in moving a working WCF service from my local machine to the development server. The problem was that when moving it over all of the references were by machine name rather than ip. Since i was not accessing it on the domain, I couldn't see the machine name and couldn't access the references. H...

Filter parameter design question for web services

A filter criteria parameter needs to be made available as a parameter for a web service that returns monthly summary of account data. GetLedgerSummary(Fiscal Year, Fiscal Month, Filter) returns LedgerSummaryResponse LedgerSummaryResponse contains Company Code, Account Code, Fiscal Year, Fiscal Month and amount. How should the “Filter...

Which binding in WCF provides both streaming and session?

I am using wsHTTPBinding with wcf session but it doesnt support streaming, if I use basicHTTP for streaming it doesnt support wcf session? Is there any solution without using MTOM? ...

Is MTOM requires messageContract in WCF?

Is three any way use datacontacts while using mtom ...

rss feed service request parameter charset

First of all, I'd consider myself a very beginner in services development so pardon my ignorance here... I've created the rss syndication feed service (rest) in wcf and have problems with the request parameter values character. I need to pass the name as the parameter which contains the characters from the ISO 8859-2..... the request loo...

Visual Studio WCF Application now asking to manually attach to process

I have a console app that is calling a WCF app hosted in IIS. Up until now everything has been fine and I am able to debug the app - step through it without any problems... Until I added my dev pc to a domain.... now every time I get step into the code hosted in IIS, a popup comes up asking if I would like to attach to this process.....

Linq, Entity Framework and WCF

If I have a customers and orders relationship in my Linq or EF model, at the WCF service layer I can add an order to the customer by calling Customer.Orders.Add(customer); When I access my customer object on the client, and want to add an order, there is no Add method, and the Orders propery is an array. Is there any way I can work w...

Passing Credientials through WCF to Java WS

I have a WCF entrance that communicates with an internal java WS for our client. Now have to expand this WCF to be multi app and pass to the java WS the proper certificates. Currently the one was part of the bizObj class in my WCF. I have multiple .cer files that I will have to maintain in my WCF and pass in by caller app. Of cour...

[WCF] service-to-service call keeps HTTP Method?

Hi, I'm having a weird problem with WCF services. My application expose a service and also is a client of another service (not a WCF service). When my client application call my service using POST, the POST method is keep when this service call the other service, even if the service interface is configured using WebGetAttribute. Is th...

How do I use the RoleService class in WCF?

Hello, I'm pretty new to WCF, so this might be a very simple question. I'm implementing a service to be accessed from Silverlight. I'm using role-based authentication with my own ASP.NET Role and Membership provider implementations. It seems to be configured correctly - I can use PrincipalPermission attributes on methods. However, I'm...

Any viable alternatives to WCF and WSDL for integration endpoints?

My employer is a software vendor for a specific market. Our customers integrate our system with others using web services. We use Microsoft technology, and our web services are implemented in ASP.NET and WCF. The time has come to review our current set of services, and come up with company standards for future integrations. I am reading...

Effective pattern for getting progress info about a method that takes a long time in WCF?

I want to get progress updates about a method called on WCF. For example I run 1000 queries and want to know the current status. ...

Can't connect to WCF service on Android

I am trying to connect to a .NET WCF service in Android using kSOAP2 (v 2.1.2), but I keep getting a fatal exception whenever I try to make the service call. I'm having a bit of difficulty tracking down the error and can't seem to figure out why it's happening. The code I am using is below: package org.example.android; import org.ksoap...