web-services

Web service response differs from WSDL

Any explanation for this kind of behaviour? Part of WSDL: <complexType name="ArrayCD"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="item" type="impl:EF"/> </sequence> </complexType> <complexType name="AB"> <sequence> <element name="elem1" nillable="true" type="impl:ArrayCD"/> </sequen...

RESTful API design question - how should one allow users to create new resource instances?

I'm working in a research group where we intend to publish implementations of some of the algorithms we develop on the web via a RESTful API. Most of these algorithms work on small to medium size datasets, and in many cases, a user of our services might want to run multiple queries (with different parameters) on the same dataset, so for ...

How to update automatically data from datagrid in flex2?

Here is the problem: I have datagrid binded with data acquired from web service which, as you may suspect, retrieves data from some db. Datagrid has some editable columns and I want to update db through appropriate web service call without adding button "Update" as a last column in datagrid. How can I do this? Is there any event which...

How to submit photo via http from iphone application

Hi Guys, Does anyone have any idea how can I save/upload a photo from iphone application via http? Thanks ...

Webservice with .NET

Hi, I have an application that when run as a windows application takes around 4 secs to compute, but when run as a webservice, it takes a long time to compute (until a timeout). Do you have any idea what the problem might be? I am assuming that since the code is exactly the same, there are no problems such as infinite loops ..... it se...

Coldfusion Web Service Response Problem

I have a problem with the Web Service I recently developed. The problem is about the Web Service response. More precisely sometimes the Web Service sends back the following response: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/...

No Endpoint Listening

Get the error message "There was no endpoint listening at http://subdomain.domain.com, This is often caused by an incorrect address or SOAP action. See InnerException" Any suggestions? ...

WCF interoperability with WSDL proxy and performance consideration advise.

I'm essentially writing a broker service. The requirement is that I write an API that acts as an intermediary broker between our in-house developed services and a 3rd party provided API. The intention being that my API abstract the actual communication with the 3rd party API from our internal systems. The architect on the project chose...

Can I get the URL used from the stub class created with wsdl.exe?

I'm working with a customer whose web service doesn't return the data in every case. Since the C# stub code is generated by calling wsdl.exe, I'm wondering how to get the actual URL used for any particular method call. I would like to feed the URL to a browser to show them (aka point fingers). ...

ASMX Web Service Execution very slow

Hi, I have a function that takes a byte[] as input and returns a string, when executed with a windows application takes 3 seconds to execute, while if the same function is executed within a webservice takes a very large amount of time to execute (more than 1 min). Do I need to enable something? ...

Is there a .NET class to handle encryption?

I need to encrypt bytecode to send over a connection to a webservice, preferably using a GUID as a key. I have done a bit of research and found several classes developed for a similar purpose, but haven't been able to turn up much that is built into the Windows libraries. My question is: Is there something built in to C# that performs t...

Anyone have experience with ServiceStack or other .Net services framework?

I'm looking for at using ServiceStack for the services part of a web application instead of rolling my own. Anyone have any experience using it? Any C#/.Net alternatives I should consider? ...

Advice on creating simple web service

Hi all, I want to build simple SOAP web service. So far I've only worked with existing SOAP/Rest services. And now I'd like to create my own, simple one for starters. For example create simple hello + string web service where I provide the string in request from SOAP ui or similar tool. I have Jboss server installed already, what is th...

nsdata to nsstring to nsdata

Hello everybody. I am calling the webservices. The web service returns data in xml format. Now the problem is the xml data is not being received in proper format. In place of "<", ">" it returns in html form . So i assigned the xmldata to a NsMutableString and replaced the escape characters so that the format of xml data is proper. Then ...

getting error as Internal Server error

Hi There, When I try to run my site it gives error as Internal Server error, when I refresh the page I get my result properly.The error page looks like this: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@te...

Need to run a processing demanding application on a .NET server.... any tips?

Hi, I need to run an image processing application on a .NET server. Do you have any tips what I should/can do? I implemented the code in a webservice, but performance is very slow (at least 10x slower than when executed in a windows application). Any help will be greatly appreciated. thanks ...

What is the difference between remote procedure call and web service

Is there any clear definition about RPC and Web Service? A quick wikipedia search shows: RPC: Remote procedure call (RPC) is an Inter-process communication technology that allows a computer program to cause a subroutine or procedure to execute in another address space (commonly on another computer on a shared network) wit...

Reading files in a webservice

Hi, I have a webservice, in which I read the settings saved in an xml file. I read the setting by the following command: string dpath = HttpContext.Current.Request.PhysicalApplicationPath.ToString(); XmlTextReader reader = new XmlTextReader(dpath + "Settings.xml"); This is working perfectly when running the applicatio...

Writing a file by a webservice

Hi, I have a wevservice, and I would like to write logs into a textfile. My problem is that i do not know what path to give when creating the streamwriter: TextWriter tw = new StreamWriter("????"); Can you please help what path I should enter? ...

Android "java.lang.noclassdeffounderror" exception

Hello, I have a android webservice client application. I am trying to use the java standard WS library support. I have stripped the application down to the minimum, as shown below, to try and isolate the issue. Below is the application, package fau.edu.cse; import android.app.Activity; import android.os.Bundle; import android.widge...