web-services

Token access to sharepoint Web service

Here is my problem, I have one webpart that will retrieve current username and its token, using this code: SPUser myUser = SPControl.GetContextWeb(Context).CurrentUser; This information will be forwarded to external system, that will invoke windows service to download a document in sharepoint using sharepoint webservice. The probl...

.Net Web Reference SSL Error

While using a Visual Studio "Web Reference" to a SOAP service on a server that requires an HTTPS connection I get the error: "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel." The parent class of the client is SoapHTTPClientProtocol if that makes any difference. I am not in t...

How should I architect my iPhone app to talk to my website?

Hey all, I'm planning my first iPhone app and I'd like to get some inputs as to how to build it, right from the start. The iPhone app is being built to be paired with a public facing web application that is already built in PHP. I'd like the web platform to be central (data is housed in a mySQL database), and have the iPhone clients ...

Wrong path returned by Environment.GetFolderPath(Environment.SpecialFolder.ApplicationFolder) under IIS6 WebService

On my test machine running (Windows XP, IIS5.1) the following code executed within a C# .NET WebService (.SVC) under a custom process identity (using machine.config to specify the user) Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); correctly returns c:\Documents and Settings\myUserName\Application Data Howev...

Android Webservice SOAP

Hi All, I'm calling soap webservice in android app. its working fine and getting the response in SOAP object. I don't know what to do after that. I'm searching for tutorial but I didnt find any. I'm really very fed up. I need to parse the reponse. Can anybody please help me in this case. filter.setOnClickListener(new OnClickListen...

How some method(service? whatever..) can be run by certain conditions or by certain period of time

I know some about Struts2. But it's all about something begins with "user click(HTTPRequest)". I need to know how to run some method(it seems not to be a proper term) inside. Example, everyday or every hour update some list. I mean, without any request from the outside. I guess it has something to do with the socalled back-end or what...

ksoap2 blackberry webservice problem, sample need

Hi! I'm new in blackberry, Currently I'm working at a program, in which I'm fetching data from the php based web service using ksoap2 lib. Everything works smoothly. App connects and fetches the data from the webservice, But now the problem is that, I don't know how to parse the resulting data. It is complex data and contains many rows a...

Does the Server ASP.Net timeout setting affect the client timeout setting?

I'm working with ASP.Net web services and am having a problem with a long-running process that takes about 5 minutes to complete, and it's timing out. To fix this, I was able to set the executionTimeout on the server's web.config to 10 minutes, and then set the .Timeout property on the Web Service object to approximately 9 minutes. Now...

Maximum time between an asynchronous call and response (web-services)

Are there any best practices that dictate the maximum time between an asynchronous call and its corresponding response. Basically I have a process that takes a long time to run (eg: 5 minutes). Option 1: I could expose the process as an asynchronous call. In which case the user calls my service and then at some later time, I respond wit...

What makes it a PaaS not SaaS - or examples

I found some questions here on how to create a SaaS. This much is easy, but what I don't understand is what makes an application a PaaS and not a SaaS. What lines does an application cross before we can start calling it a PaaS (platform as a service) and not just a SaaS (software as a service)? It seems like a small difference but I can'...

looking for an intraday stock quote feed

I have an application which needs to get intraday stock quotes on several assets (indices, commodities etc'). I want to be able to query the data in HTTP and get it as CSV/XML format. Now, I'd like to be able to ask the data provider for example what was the last bid/ask/price on GE (General Electric) at 4:00PM, and ask it in let's say...

How to identify the JSON response?

I am developing the REST enabled WCF Service. I am using the following code inside the interface. [OperationContract] //[WebGet] [WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json)] List<String> GetProjects(); I want the method should return the JSON response. I am pass...

Connection refused when calling SOAP Webservice using Android

I developed a webservice in .net and I'm trying to call it in Android. To call the webservice I'm using ksoap2. The WDSL's URL is: http://localhost/Cidadaos_Cidade/Open.asmx?WSDL Here's the WSDL <?xml version="1.0" encoding="utf-8"?> <wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/...

REST/webservices noob questions

Hello. I'm starting in the web-services world and I have a few questions: From what I've read, REST could be understood as a simple call to a URL which gives a certain expected result. So, what is the difference between a REST web-service and a simple website? Web-services are language-independent. So, if I'm developing a Java-based R...

Web Service Security

We have an API that will be only used by our new website for now. I would like to get an input how what stackoverflowers think about the security in place for this api. 1)SSL protected 2)When logging in, the user's "IP" is sent as well as user and password. The API is then attached to the session and the session token is sent back. Whe...

Parse KSoap2 response in android

So I managed to call a webservice using KSoap2 in android but I can't find a way to parse the response... So here's what I receive from the webservice anyType{ WORCCategoriaSubcategoriaRecord=anyType{ssENCategoria=anyType{Id=1; Nome=Problema na rua; }; ssENSubcategoria=anyType{Id=1; Nome=Falta de acesso; Imagem=anyType{}; CategoriaId=1;...

Controlling date formatting on .NET WCF service request

I'm trying to call a web service from .NET 3.5 using WCF. The error I'm getting currently is An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. InnerException: {"Value -2147483648 for millisOfSecond must be in the range [0,999]"} I've narrow...

Difference between webservice, web methods & server side code ?

Some questions confusing me guys, I'm just new to web services altogether. What is the difference between web service, web methods and server side code ? Where is web service preferred over server side methods? Where are web methods preferred to be used ? How does web service differ from server side post back ? ...

how can i create web analytics for others ???

how can i create form for web analytics for other blogs to serve as sitetrail ,webdigr etc. from my own blog techlaugh.com . . plz serve me . ...

Web Services versioning and server side handling

I am trying to devise a strategy for Web Services versioning and how to handle versions from a SCM point of view. We are doing bottom-up (JAX-WS) services, and therefore have less control over the schema and can't follow some schema versioning of the best practices. My current thoughts are: 1) Major changes (non-backwards compatible): ...