What's the best approach for using a web service in an iPhone app? Should I connect directly to the service or proxy the request through my own web server and where I can cache the results and, if the service changes, make any updates in a single location without having to have my app update approved by Apple.
...
I’m looking for some strategies regarding accessing some cached data that resides in a internal company web service. Actually, preventing access of the cached data while the cache is being refreshed.
We have a .Net 3.5 C# web service running on a web farm that maintains a cache of a half-dozen or so datasets. This data is configurati...
I'm getting a little tired of all the UI demos of auto completion in ASP.Net. I believe the UI portion of autocompletion has been solved multiple times over again.
My question is how do you best handle the queries hitting your webservices? I'm currently implementing an autocompletion service for a musician database. The database is fai...
void myButton_Click(object sender, RoutedEventArgs e)
{
var oContext = new DomainService1();
var oResult = oContext.GetPersistMapSet();
oContext.LoadPersistMapSet();
foreach (PersistMap oMap in oResult.ToArray<PersistMap>())
MessageBox.Show(oMap.Data.ToString());
}
http://screenc...
I have C# Client application calling Windows webservice written in WCF calling Sql Procedure and this proc give output around 1.3 million records then the C# client application keep them in memory and does all validations one by one
I am getting error:
System.Exception: An exception has
occurred when recalculating the
balances, ...
I have a site written in Delphi that needs to get data from a .NET web service. In order to consume the web service I am attaching to a .NET web site first that contains a wizard that the end user has to fill out, which in turn is then calling the web service in order to populate AJAX drop-down lists and to return data to the calling Del...
Hi folks,
I've been given this legacy app to do some bugtesting. Joy :( It's a simple webservice written in C# -> api.asmx.
Now, the trick for testing it, is that it requires some SOAP HEADER for authentication. I know I can just go to the asmx page, and it gives me all the api methods that are exposed. Clicking on those methods gives ...
I am building an ASP.NET website which will collect data from a user and submit it to a 3rd party webservice. The webservice is somewhat unreliable and for this reason there is a backup service.
If a call to the primary service fails (timeout or some other error) then I need to flip a bit in a static class which will trip the system to ...
What is best/good book to learn REST ? Same time looking good REST framework in java or groovy.
...
I have a web site with users and their data accordingly.
What is the safest way to implement web services / API such that users' login credentials and in turn data are secure? oAuth isn't really an option, because usage will not necessarily be in other web apps.
My concern is that having the username and password as an input is dangero...
I am trying to debug a problem with a .net compact framework application I have running on windows mobile 6. It occurs when I call a web-service call on my development machine.
I don't need any help with the actual error, but with invoking the debugger at the correct time.
I run the web-service in debug mode and am able to trigger a br...
Hi guys,
I'm developing a REST api, and I'm wondering the following:
I want to use HTTP PUT to update some entities in the webservice. The format will be a urlencoded body. Is it acceptable to only update the fields that were actually specified, rather than the entire entity?
I'm asking, because PUT would be a very convenient method t...
What are the differences between a web service and a Windows service?
My experience has mostly been with Windows services, and I have never created a web service.
Do web services behave similarly to Windows services?
Can they have scheduling, run at certain times, etc.?
When you would use a web service in place of a Windows service, a...
I'm new to using web services under powershell, so maybe I have a basic misunderstanding about something. I'm working with Microsoft's Reporting Services. Here is a repro script.
$computer = "rptdev"
$uri = "http://$($computer)/ReportServer/ReportService.asmx?WSDL"
$reporting = New-WebServiceProxy -uri $uri -UseDefaultCredential -names...
I'm used to sending files via SOAP to / from C# based web services and we've always used the "byte[]" type for the contents of the file.
However, I've now got a java web service that wants a byteArrayOutputStream and I have no idea how to send it one from my C# client.
The WSDL shows it as
<xs:element name="baos" type="tns:byteArra...
I am currently using Serialization in order to make deep copies of some autogenerated webservice class. Is a cleaner way to do this? The classes are autogenerated, so I don't want to touch them. More detail:
My current, code (which works fine) is this:
using (Stream stream = new MemoryStream()) //Copy IR
{
IFormatter IF = new Bin...
Scenario:
A client calls WebService A on the LAN. WebService A is running under an App Pool with Identity "Network Service".
WebService A does some work, prepares to call WebService B.
WebService B requires a client cert (*.cer) and SSL.
WebService A is on a dedicated Windows 2003 server.
Everything works in the Dev environment as it s...
I am testing a server and client i made on my webspace.
when i try to call a simple "testServer" function defined in a ServerMap class, I get
"Looks like we got no XML document"
..?
I called getFunctions on the client and testServer is a valid function. I tried catching all exceptions and then calling __getLastResponseHeaders() and __...
I'm getting the following exception while sending ( or receiving ) a byte array to a C# service.
There was an error deserializing the object of type System.Byte[].
The maximum array length quota (16384) has been exceeded while reading XML data.
This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryR...
I've just published a web service and written up some fairly primitive documentation. I've included the input parameters and output results, a short description of what each web service method does, and examples of possible errors.
What I've included in my documentation is pretty much what has been in the documentation of most web serv...