A WCF web service with the right class and method attributes can be accessed as a JavaScript file in a script tag. That is:
<script type=".." src="http://someserver/someservice.wcs/js"></script>
Is it possible to do the same thing with System.Web.ApplicationServices.AuthenticationService?
I'm creating a PhoneGap application ...
I have a C# application that communicates with an SAP function module via a an XI/PI web service.
My C# code is using a Visual Studio-generated WCF proxy (generated via the Visual Studio "Add Service Reference..." wizard.
I'm getting a System.ServiceModel.FaultException with the message "CX_ST_MATCH_ELEMENT:XSLT exception.System expect...
I'm getting this System.ServiceModel.FaultException calling an SAP XI/PI web service from my .NET application via WCF:
CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception.An error occurred when deserializing in the simple transformation program /1BCDWB/WSSB430AA018B4EA689BF0.Value 7/12/2010 is not a valid date in accord with the XML format for...
Hello,
I am creating an application that uses jQuery to make ajax calls to ASP.NET WCF Web Service. Everything works fine most of the time but eventually (about twice per week) the service stops working with the error below. The only solution is to clear the ASP.NET Temporary Files. The problem seems to start by the time the application...
I am using WCF REST Start Kit for Visual Studio 2008 or .Net 3.5. The example service will be able to get clean xml result like this:
<SampleItem>
<Value>SampleValue</Value>
</SampleItem>
The SampleItem is a simple class with Value property in Service.scv.cs. Then I tried to use a customized class like
[global::System.Serializable(...
What tools will come in handy to debug and monitor SaaS services built on WCF in production environment ?
FYI - No access to the actual server whatsoever. No remoting in, and no access to the file system.
...
I have a WCF web service defined as follows
[OperationContract]
[WebInvoke(
Method = "GET",
ResponseFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Bare,
UriTemplate = "Assets/{assetId}/Reports/{startDate}/{endDate}")]
JQGridDataStore<Report> GetReportsForAssetFilterByDate(string assetId, string startDate...
I have a visual studio 2008 solution with approximately 15 projects. Several of these projects have a WCF service reference to a WCF service project. Whenever I update the service project, I have to go to each of the other projects and right click the service reference and update it. Is there an easier way to do this, like a "Update Al...
Type 'ProblemType' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. See the Microsoft .NET Framework documentation for other supported types.
I have a class with very little in it. When I try to serialize the cl...
I am getting the following exception message when I try to run my newly created Silverlight app:
An error occurred while trying to make a request to URI 'http://localhost:8732/Design_Time_Addresses/IsAProgrammer.Service/Service1/'. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain p...
I'm in the process of deploying a WCF service application. The service works fine if it's running as its own site, but the intention is for the service to run as a virtual directory of the Default web site of the server. When I set the service up in this configuration, I get an odd problem. When the client tries to make a service call...
Okay,...first the facts.
I'm working on an ASP.Net project which validates it's users across a WCF service. I have a CutomMembershipUser class in a shared assembly which inherits from MembershipUser since I'm using a custom membership provider. All this cannot change because it's out of my remit.
Here's roughly what's happening. I've...
Hi,
I have a WCF service which I'm trying to call from a simple .NET 1.1 client. The problem I'm having relates to the sending of "Client Credentials" to the service. In .NET 3.5 I can add the following lines so that the username and password are sent in the message (SOAP) header:
service.ClientCredentials.UserName.UserName = "USERNAME...
Hi!
I am using CustomBinding to enable Soap 1.1 (endpoint does not support 1.2) + Addressing 1.0. The endpoint is only available over SSL, and runs on some kind of Java/Weblogic platform.
Here is my configuration:
<customBinding>
<binding name="Soap11Addr10">
<textMessageEncoding messageVersion="Soap11WSAddressing10" />
...
Im trying to call an Axis Ws that has NTLM Security in it, im using BasicHttpBinding, the problem is that if i call it i get an error saying:
The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.
I dont have any access to that server so i ca...
I have an order as an XDocument and I simply want to stick it in the body of a message and send it to an MSMQ queue. I've effectively serialized the order object already and now I just want to send it. Is this possible?
I'm using WCF here but I'd happy with a plain old msmq solution. I'm getting an error here indicating that an XDocumen...
Hi,everyone. I am trying to create an operation contract in WCF which is like the folllowing:
[OperationContract]
[WebGet]
XmlElement GetXML(string id);
I have same method in one of the ASMX service
[WebMethod]
XmlElement GetXML(string id);
The issue here is that if I call the method on WCF and method on ASMX using http g...
I'm trying to create a WCF client to send XML messages to a CGI script. The script functions in a request-response pattern, where the contents of the XML message will determine the action to invoke.
I've starting by creating a service contract to represent the defined set of documents the CGI script will accept:
[ServiceContract]
publi...
I'm currently building a corporate website using YUI. I have a Silverlight component left from a previous project. It's functionality is needed. Since this current project must support Linux I'm thinking of recreating it using Javascript.
Using Moonlight would be an option - but the component relies on a few November 2009 Silverlight To...
I got a lot of theoretical answers from Google that WCF is better than Web Service etc. etc. But I want to know from the programming and implementation point of view. I am very new to coding and want to know that how do we implement all three of these technologies? How are they different and in which scenario we should used which technol...