web-services

WCF duplex connection on iPhone?

Hi Guys, Is there way that a WCF duplex connection can be consumed in iPhone? Best regards, ...

python web service for massive usage

I need to develp a real production webservice with python that will be used by another client application (with another progamming language ) . I mean in real production webservice that this webserivce is will be used on critical environment that failure of the webserivce could cause major problems. could someone provide /suggest which ...

jQuery calls asmx web method multiple times

I have a jQuery method that calls a .asmx web service. The jQuery method only executes one time but the web service executes multiple times. this is the jQuery code that call the web service // Expand copy to group modal groups $(".groupZones .expand").live('click', function() { $(this).siblings('.contract').show();...

Consuming a webservice code simplification

UPDATED CODE TO LATEST ITERATION The following function consumes a webservice that returns address details based on zip code (CEP). I'm using this function to parse the xml and populate an empty query with the address details. I would like to know if there is a more elegant way to achieve the same result. It seems to be a waste to creat...

C#: Correct project template for REST API library?

I want to consume a series of REST services from a provider. But there are a lot of functions I can call and send to the server, so I think it would be a good idea to create a separate library that my C#/MVC2 project can reference and call. In VS2010, what is the correct project I should select to create this new library? Just plain old...

List of web applications and what they are written in?

I want to learn a new programming language and it would be fun to have a list of all web applications and what language they are written in. Gmail: Java? Youtube: Python only? Facebook: PHP + erlang? Google: C++? Amazon Ebay Etc... Is there a such comprehensive list somewhere? ...

is there a web service that can detect the country of a visitor in PHP?

I use PHP and I want to know if there's a free web service that can detect the countries of my visitors. Right now i can get their IPs and I have downloaded some IPtables that relate some locations but i don.t think they're quite accurate. So if you are aware of some free webservice it would be just great. Thanks! ...

How to convert Json object to cutom class object in web service?

I've scenario where I want to insert data into database without post back. there are around 12 to 13 fields which i need to insert. I'm passing DTO from the client side which is actually Json object. Now the problem which i'm facing is how to convert that Json object which i got in webservice to the "class" (in my case class name is User...

SOAPpy, C# and object passing

Hi! I'm trying to write a SOAPpy client to my C# WebService. It is arriving as null :( How can I get any debug from the C# SOAP parser that WebService uses? This is what Python sends: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://...

Can I have a singleton lifecycle webservice on glassfish V3?

Hi, I have a simple webservice created with Netbeans 6.5 and deployed into 2 glassfish servers V2.1 and V3. The ws has a basic method GetInstanceID that I call 3 times from a client. @WebService() public class FirstWS { private long m_instanceID = 0; //instance id //Log private void WriteLog(String cadena){ String msg = ""; ...

Encryption service. Terminology to use?

I am writing a web service that acts as a proxy to many other services, and for each of these services I need to pass along the user's password for that particular service. I'd like to keep the password encryption details out of the main part of the service and let the client deal with another specialized part of the service (let's call...

how to call a c# webservice from java

Hello Is there a way to call a c# webservice from java? I have a webservice which was written in c# language and I do want use this webservice in java. If there is a way, please let me know. Regards Altaico ...

Android: I need to prepare the UI from the webservice

Hello!! I am a newbie to Android and playing around with the UI and SQLLite for a while and it looks pretty good to me . We have a requirement that for the App that all the questions would be coming from the server through REST / Web service which would be displayed on the App.. say for e.g if there are 4 questions 1) Enter your Name ...

Designing iPhone applications that use ASP.NET web methods

After getting pretty far along with a jQTouch web application for our website, my boss and I decided we may as well just make a true iPhone app instead of struggling with sloppy flickering animations and login authentication issues. We currently have a fully functional web site with some SOAP web services, but we are looking at rewriting...

How do I create a Request in XML for a .NET web service?

How can I specify the Request object formatting in XML? My web services look like this: [WebMethod] public string MethodName(string str, string str2) { if (random()) return "123"; else return "no"; } Everything is in strings. How do I specify to a consumer what to request in XML? I am used to specifying this as...

ASP.NET C# Moving Method to Class File and Calling it from Code-behind

Hello, I have the following code in my aspx code-behind and it works fine. Because I am going to use it on more than one page, I'd like to move it to a class file. I am not sure how to do this properly. #region autocomplete search [WebMethodAttribute(), ScriptMethodAttribute()] public static string[] GetCompletionList(string prefixTex...

Read XML, or JSON file instead of SQL Server

I have asp.net 3.5 C# and a SQL Server 2008 back end. There is a table that I use the most, this table has around 100 rows and doesn't change often. My code (web service with a cache) is called from JQuery to search a record by ID and return a JSON response to client side. Recently the server that hosts my site had a big problem and h...

Dynamic WSDL Implementation in C#

I am relatively new to web services in .Net, so I apologize if this is a newbie sort of question. I have found numerous resources on how to implement web services in a .Net project, but all of them seem to involve static definition of the exposed methods. While this may be suitable for some applications, it does not fit the bill for wha...

how to use a webservice which created on c#t at java platform

Hello Previous developers created a webproject which consumes a webservice in .net platform and they wanted me to use this webservice on jsp. I read netbeans tutorials and find out that webservice is irrelevant to platform. However the problem is at .net project I could not find a file whose extension is .wsdl or a werbservice.amsx.The...

how to open HTTPS webservice in iPhone browser programmatically/

Hello, How to open the HTTPS web service in iPhone browser programmatically? I guess we can open the browser with the below syntax only for HTTP url, NSURL *url = [NSURL URLWithString:@"http://www.iphonedevelopertips.com"]; [[UIApplication sharedApplication] openURL:url]; Can i use the same syntax to open it for HTTPS url also? wh...