Hi Guys
These are my endpoints
endpoint name="rest" address="" binding="webHttpBinding"
behaviorConfiguration="poxBehavior"
contract="IActionService"
endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"
which makes the service available at /here
when I change the address to [say] 're...
I have a silverlight appplication in which i make a call to wcf using basichttpbinding.I have checked all the loops.The problem is that there are certain completed events which are called more than once.I start by handling the loaded event of the webservice.I am not able to find why the event is executed more than once
...
How can I update a WCF REST services UriTemplate to be www.mysite.com/... instead of the system name http://mysystem/...
When I go to the service help page I see the system name and I don't want the end user to see that.
http://myServerName.local/WCF/Svc.svc/blah/function
I want to see
http://www.mysite.com/WCF/Svc.svc/blah/fu...
We have a system where we host a couple of WCF applications in IIS. Some of these applications have a bit of an extended start-up time taking a couple of seconds (more than a users would be happy to wait for). Once it's up and running, everything is snappy though, so it really is only the startup time.
The client also has a requirement ...
I have an application which exposes a WCF web service using the WebServiceHostFactory. We use an HttpModule to add a NHibernate session to the current HttpContexts items collection when the request enters, and then close the session when the request exits. The problem I am seeing is that intermittently the session is no longer present in...
I have two WCF services which are logically different and I wish to keep them seperate. They each have an operation which returns the same datacontract. A single silverlight client consumes both services. When I add a service reference in the silverlight client to each service, the single datacontract ends up twice in the generated co...
I have an 3rd party SOAP web service. I need to make a call to one of its methods. The request needs to be signed. How can I sign the request?
...
Before anyone flags this as duplicate from the other barrel full of questions about WCF, I don't want MSDN links and blog article references. I can Google for myself, and have been at this for 3 days, so if all you have are Google links, please abstain.
I'm having a heck of a time with an IIS hosted WCF service using wsHttpBinding and a...
I have situation where I need to authenticate a client across multiple web services. Basically each service needs to identify the client and know a few other small pieces of information about the client.
The way I have it working now is that the needed identifying information is stored in a session table in a database by the authentica...
Hi,
We are developing a browser based intranet application. All users have active directory account, so obvious choice would be use Integrated Windows Authentication. But there will be multiple users accessing same client machine so we decided to use form based authentication (but authenticated against AD).
In this scenario what is the ...
I hosting a WCF service on Windows 7 IIS. When the service is trying to write to a config file and getting the error:
"Access to the path 'C:\Program Files (x86)\MIMS\Master\ahug_uqt.tmp' is denied."
This is not the name of the config file although I assume ConfigurationManager is creating a temp file then updating this to the real co...
Guys, can anyone point me to a definitive Microsoft map for where Reporting Services is going regarding using WCF Data Services (ADO.NET Data Services, Astoria) as a data source? There's bits of fragmented info out there, some about creating custom data providers, some about some sort of extension enable connection to the Azure storage l...
I mean If I was using WCF over http I wouldn't hesitate.
My ORM is LLBLGen Pro which provides me with some pretty nice entity collections features, like tracking changes and other. If I would go the DTO path I would lost this functionality. For now there is on the client side a Web app, which does not need any tracking changes funcional...
I'm thinking about how to design my service, especially the part which will provide data for an gridview on the clien side.
The GridView needs this data:
-A list of objects
-Count of all records
The question is:
Should I create one method for getting these data which will return an object which would includes the count and the list....
I have a WCF web service that has a method that returns a generic collection. Now, my question is: Should I expose it as ICollection<T>, List<T>, IList<T>, IEnumerable<T> or something else?
I suppose that List<T> is out of the question since I want to avoid CA1002 errors, but the underlying type will be a List<T>.
I am really interes...
I am a bit new to WCF and will try to clearly describe what I am trying to do.
I have a WCF webservice that uses JSON requests. I am doing fine sending/receiving JSON for the most part. For example, the following code works well and as expected.
JSON sent:
{ "guy": {"FirstName":"Dave"} }
WCF:
[DataContract]
public class S...
Hello,
I'm brand new to WCF and I was wondering how to architect my design.
I want to expose methods for all my domain objects to be able to get and set their properties. I have them all split up into their own interfaces. i.e)
public interface IGroupDAO {
IEnumerable<Group> FindGroup(string criteria);
Group GetGroup(int groupID...
I have a Linux/c client app that connects to a WCF web service over HTTP/SOAP (BasicHTTPBinding). I am using gSOAP. Can I implement the calls to the web-service using callback? I want to get the data asynchronously as call back.
Update: I have updated the question title.
...
I have a working custom UserNamePasswordValidator that calls into my Oracle DB.
This class derives from System.IdentityModel.Selectors.UserNamePasswordValidator and the Validate() method returns void.
I load my User object from the database, and once the password is validated, I want to stash my "User" object so the service can access ...
When consuming my WCF service from client, I get the following error message. Problem is when I am able to run the code easily from a windows client or a console app. Just not from my web application.
System.InvalidOperationException was unhandled by user code
Message="Client found response content type of
'multipart/related; typ...