web-services

BOM not expected in CF but sent by IIS/SP

I'm trying to consume a SharePoint webservice from Coldfusion via cfinvoke('cause I don't want to deal with(read parse) the SOAP response itself). The soap response includes a byte-order-mark character(BOM), which produces the following exception in CF: "Cannot perform web service invocation GetList. The fault returned when invoking the...

IMAP forwarder

I'm wondering what is the quickest and most reliable way to forward mail from an IMAP account. My university does not allow our student-mailbox to forward to a private e-mail account (everybody uses either Gmail or Hotmail here). It's a political thing, not technical. We do have IMAP access to the mailbox. I would like to have a service...

How do I expose data in a JSON format through a web service using Rails?

Is there an easy way to return data to web service clients in JSON using Rails? ...

How do I expose data in a JSON format through a web service using Java?

Is there an easy way to return data to web service clients in JSON using java? I'm fine with servlets, spring, etc. ...

What are some good examples of a WS-Eventing client in Java?

There are a few web service frameworks available for Java: Axis2, CXF, JBossWS, and Metro. Does anyone have some good examples of a WS-Eventing client with these frameworks? ...

National holiday web service

Is there a public/government web service that I can call to find out what the national holidays are for a given year? (For the US and/or any country in the world.) Edit: Does anybody have a set of formulas to calculate US holidays? (C# would be my language of choice if there is a choice.) ...

Accessing .NET Web Service securely from Flex 3

We can successfully consume a .NET 2.0 web service from a Flex/AS3 application. Aside from SSL, how else can we make the security more robust (i.e., authentication)? ...

"Could not load type" in web service converted to VB.NET

I wrote a simple web service in C# using SharpDevelop (which I just got and I love). The client wanted it in VB, and fortunately there's a Convert To VB.NET feature. It's great. Translated all the code, and it builds. (I've been a "Notepad" guy for a long time, so I may seem a little old-fashioned.) But I get this error when I try t...

DynamicPopulateExtender ,TextArea and line feeds

I have this in a page : <textarea id="taEditableContent" runat="server" rows="5"></textarea> <ajaxToolkit:DynamicPopulateExtender ID="dpeEditPopulate" runat="server" TargetControlID="taEditableContent" ClearContentsDuringUpdate="true" PopulateTriggerControlID="hLink" ServicePath="/Content.asmx" ServiceMethod="EditContent...

Getting started with REST

I am looking for some good links with best practices and sample code on creating RESTful web services using .NET. Also, any other input you might have regarding REST would be greatly appreciated. ...

IIS uses proxy for webservice request. How to stop this?

I have a problem with a little .Net web application which uses the Amazon webservice. With the integrated Visual Studio web server everything works fine. But after deploying it to the IIS on the same computer i get the following error message: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne...

Error consuming Web Service from Winform App - "Cannot execute a program..."

I have a winform app that calls a web service to check for updates. This works in dev and it also works everywhere else I've tried it, just not on the installed copy on my machine (which happens to be the same in dev). The error is: Cannot execute a program. The command being executed was "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727...

Using reflection to call an ASP.NET web service

Say I have an ASMX web service, MyService. The service has a method, MyMethod. I could execute MyMethod on the server side as follows: MyService service = new MyService(); service.MyMethod(); I need to do similar, with service and method not known until runtime. I'm assuming that reflection is the way to go about that. Unfortuna...

Shared/Static variable in Global.asax isolated per request?

I have some ASP.NET web services which all share a common helper class they only need to instantiate one instance of per server. It's used for simple translation of data, but does spend some time during start-up loading things from the web.config file, etc. The helper class is 100% thread-safe. Think of it as a simple library of utility ...

ASP.NET WebService Returns Gibberish Characters When Throwing Exceptions

Greetings! I have a web service (ASMX) and in it, a web method that does some work and throws an exception if the input wasn't valid. [ScriptMethod] [WebMethod] public string MyWebMethod(string input) { string l_returnVal; if (!ValidInput(input)) { string l_errMsg = System.Web.HttpUtility.HtmlEncode(GetErrorMessage...

Writing C# client to consume a Java web service that returns array of objects

I am writing a C# client that calls a web service written in Java (by another person). I have added a web reference to my client and I'm able to call methods in the web service ok. The service was changed to return an array of objects, and the client does not properly parse the returned SOAP message. MyResponse[] MyFunc(string p) cla...

.NET WCF faults generating incorrect SOAP 1.1 faultcode values

I am experimenting with using the FaultException and FaultException to determine the best usage pattern in our applications. We need to support WCF as well as non-WCF service consumers/clients, including SOAP 1.1 and SOAP 1.2 clients. FYI: using FaultExceptions with wsHttpBinding results in SOAP 1.2 semantics whereas using FaultExceptio...

Error Serializing String in WebService call

this morning I ran into an issue with returning back a text string as result from a Web Service call. the Error I was getting is below ************** Exception Text ************** System.ServiceModel.CommunicationException: Error in deserializing body of reply message for operation 'GetFilingTreeXML'. ---> System.InvalidOperationExcepti...

C++ web service framework

We are looking for a C++ Soap web services framework that support RPC, preferably open source. Any recommendations? ...

Trying to understand web services performance

I bought an ASP.NET script about a year ago to retrieve FedEx shipping values. It builds an XML string that passes to the FedEx server using an HttpWebRequest, then parses the raw XML. The average response time for the script is about 900 milliseconds. So the other day I was poking around in the FedEx developer center and discover...