web-services

.NET WebService Sending Large XML File

I have a list of objects List that I need to send over a web service. The list contains about 37,000 Objects. This translates to about a 125 MB XML File if I serialized it to XML. I think by default web services communicate via serialized XML. This leads me to believe I am actually sending 125MB file each time. In binary format this...

jquery ajax error cannot find url outside of debug mode

I inherited some code two weeks ago that is using the jquery.ajax method to connect to a .NET web service. Here is the piece of code give me the trouble... if (MSCTour.AppSettings.OFFLINE !== 'TRUE') { $.ajax({ url: url, data: json, type: "POST", co...

How can i write a Nusoap client script for asmx web service?

I need a php client base on nusoap lib. to get a asmx service response with haeder auth enabled: This is the Request (using soapUI): <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:res="namespaceurl"> <soap:Header> <res:AuthHeader> <!--Optional:--> <res:UserName>myuser</res:UserName>...

Is showing the Exception StackTrace useful in a RELEASE assembly or only a DEBUG .dll

I've gone to some lengths to improve the error handling in my webservice - in particular, showing the StackTrace as in this example: catch (Exception ex) { EventLog log = new EventLog(); log.Source = g_EventSource; StringBuilder msg = new StringBuilder("Exception in UpdateRecord method has bee...

RESTful services and

Hello. I have just read Resource-Oriented Architecture: The Rest of REST. The reasoning behind content negotiation is compelling, but there's one thing I sometimes need, which seems to be impossible in this schema. Let assume I've got a web service to deliver some graphs. I want users to choose between different styles of these graphs ...

Objective reasons for using Python or Ruby for a new REST Web API

So this thread is definitely NOT a thread for why Python is better than Ruby or the inverse. Instead, this thread is for objective criticism on why you would pick one over the other to write a RESTful web API that's going to be used by many different clients, (mobile, web browsers, tablets etc). Again, don't compare Ruby on Rails vs Dja...

How to call a webmethod asynchronously and partially render a control ?

Hi all, I need to call a webmethod of a webservice asynchronously from code behind of a web page. In the callback function I need to bind a gridview and render it. I want to partially render that gridview in the callback function in codebehind. How to implement that? Is it possible to implement all these in codebehind without using ...

Web Service in asp.net

Hi I am new to webservice in .net. My questions is do we really require to have the SSL for accessing web methods visible to me. and if require, where it should be on my side or on cliet side who is providing me webmethods? Thanks ...

qt soap client + ASP.net Web service

Hi, I'm writing Qt client for ASP.NET web service with FORMS based authenitcation. The service consists of 3 methods: Login(user,pass) Helloworld() - this method returns info oabout athenticated user. Logout() Every thing working fine on the dot.net client with CookieContainer. The problem begins with HelloWorld() methods. it return...

How to use the Samsung CL65 wifi to automatically transfer images to a web site/service?

I would like to be able to setup the Samsung CL65 to transfer photos to a web site/service using it's WiFi capabilities either automatically each time a photo is taken or in a batch upon demand. Basically, take a photo and have it transferred w/o user intervention. Anyone know if this is possible w/ this camera or another camera? Than...

Microsoft CRM 4 : What user privileges are needed to access the webservice API ?

I am trying to use the Microsoft CRM 4 webservices. However, I get the 401 Unauthorized error for any requests I send. I am running under my own user account, which has access to CRM. What user privileges do I need to add, in order to get access ? ...

using jQuery AJAX with asp.net webservices always goes to error: instead of success:

Issue I have an aspx page with jQuery code to send an ajax request over to an asmx web service file (on the same website). The response that comes back is not consistent, however, it consistently fires the "error" jQuery callback as opposed to the "success" call back. The status code inconsistently varies between 200, 12030, and 12031. ...

Microsoft CRM, how do I get all the members of a list using CrmService ?

I am developing a tool that needs to read data from Microsoft CRM using the webservice API. I need to get all the members of a marketing list. I can get all the lists in the system using the webservice, but I can't get the members of a list. This is the query I have so far, which I can run, but it does not return any members: Q...

What do we mean by 'Variability in Web Services'?

In the era of SOA and Cloud Computing, we often hear the term "Variability in Web Services". I think it means how an implemented web service can be modified to the new requirements of user or geography. Still what would be a good definition of this? ...

Web Service solutions from Mac

Trying to find a way to rapidly develop web services on the Mac Server platform that will be served via Apache and need to be able to write to flat files or SQL Lite on the Mac. We have .net, ObjC, C++, Python, and Java skills. We have done lots of web service work before on Windows and will probably go with Azure when we build out the ...

How do I get the URI that threw a WebException?

I'm calling a method on a webservice and it is throwing a 403 Forbidden WebException... System.Net.WebException: The request failed with HTTP status 403: Forbidden. I've got this error logged but I'd really like to have the URI recorded in the log message so it is easy to determine which webservice is causing the problem. Is t...

ImageConverter: Parameter is not valid for a byte array

Hi all, I am sending a string formatted data of the image from an iPhone client code to a web service. I am trying to encode that in binary64 and then convert it to a byte array. I get this problem of Parameter not valid at the following point in the code. byte[] ImgInput = System.Text.Encoding.UTF8.GetBytes(ImgInputString); ...

[iPhone and Web Services]: REST vs SOAP

I've started my degree project, a mobile application suitable for iPhone, Android and (in the near future) Symbian. The server architecture is the following: web site (for "standard" users); web service (for mobile connections), based on TomCat and Axis2; mySQL DB to storage users data. Surfing across the web, I've read a lot of disc...

Using AppEngine XMPP for Client Notifications

I've been looking for a way to tell clients about expired objects and AppEngine's XMPP implementation seems really interesting because it's scalable, should be reliable and can contain up to 100kb of data. But as I understand it, before a client can listen to messages, he should have a gmail account. That's very impractical. Is there ...

Consuming a SOAP Rails Webservice doesn't work in Delphi 2009 but was Ok in Delphi 2006

Hi, I have a soap webservice written in RubyOnRails and a client written in Delphi. The client and server comunicate fine using Delphi 2006, but compiling with the newer Delphi 2009 causes the Rails server to "crash". This is the request (generated by built in THTTPRIO): <?xml version="1.0"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http:/...