web-services

COM+: ApplicationException instead of thrown exception

I got a ASP.net webservice which calls a COM+ component. A class in the COM+ component throws an exception which I want to handle. But ApplicationException is caught by the webbservice instead of the real exception. Why is that? Edit: Exception details System.ApplicationException: Error in the application. at System.Runtime.Intero...

Design approach: android and web service

I am developing an app for android mobiles that communicates with a json/rest web service. I need to make certain kinds of calls periodically to the server to check for some information. Within that context I might need also to query the GPS for the current position. I'm quite undecided to use a Local Service, since I don't know very wel...

calling java axis2 webservice (with omelement params) from c#

Hey guys, I want to call a webservice which expects a OMElement-parameter. How can I serve this with c# / .net? The signature of the generated client looks like this: client.ExecuteMethod(object param); Thx in advance, macx ...

Is it possible to force jQuery to make AJAX calls for URLs with gzip/deflate enabled?

I have a web service that is willing to output gzip/deflated data. I've verified that the service will respond with raw JSON or with gzip'd JSON using wget and curl. I want to consume this web service using the jQuery AJAX call. By default, the $.ajax call that jQuery provides does not add the "Accept-Encoding: gzip" HTTP request hea...

Passing ArrayList from VB.Net to C# WebServices

I've got the unenviable task of cleaning up a rather messy VB.Net client. The general plan is to move all calculations to WebServices, and I can see exactly how to do this, but it involves passing a large number of different variables to the WebServices. I chose to use an ArrayList as I've worked with them heavily in Java, and have had ...

Problem with inserting value in table

Hi Using webservice method I wanted to insert multiple row in database table. Though I am passing more than one row its inserting only one row. Could somebody please help me how can do this. And one more after inserting the records I wanted clear the datagrid cell but that is also not working… Here is my code: // Create a sales...

How do I consume a webservice running on localhost in a project located on a vm?

I am running a webservice on my development box and I need to test that webservice in a virtual machine that is running on the host(aka the development box). The webservice on the dev box is running at: http://localhost:8100/ws_name.asmx. From the VM I have unsuccessfully tried things like: http://host_machine_ip/ws_name.asmx http...

Writing ruby web-service. What architecture should I use? Rack, Rails-engine?

I need to write web-service that will get files over http and convert them. This service in future might be included in rails application. I wonder what I need to use for that? Mount as Rack-middleware? Sinatra app? Write Rails-engine? Simple ruby script with networking? Anything else? Thanks ...

caching web service calls in MonoTouch

In Objective-C, I've used Three20's TTUrlRequest to enable some simple caching of my web service calls. I'd like to do something similar in MonoTouch, but it's unclear whether or not the MT implementation of HttpWebRequest supports caching. Using HttpWebResponse.IsFromCache causes a "Not Implemented" exception. I haven't been able to ...

Convert a byte array from a C# web service in to a file using AIR 2 (AS3)

I'm using a web service created in C#, its purpose is to get files from a server, and I'm trying to use it in AIR 2 (AS3). Actually I can communicate with the web service with this library: http://labs.alducente.com/gophr/ When I call the webservice function I get this XML: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/en...

A service to search for RSS feeds?

Hi, I am building an RSS Reader. Some of the existing ones out there (for example, Pulse News for iPhone/iPad) have a search box where you can search for some term (example - "sports") and it will return a list of feeds that match your search criteria. So in this example, you type in "sports", and it searches and then comes back with E...

VB.NET Calling webservice with Authentication key

I'm trying to setup a connection to a webservice from VB.NET I'm totally clueless on how to perform this. I receive an overview of what their Soap can do and i also received a securitykey. I'm however not sure how to call this webservice using the securitykey in VB.NET. Hope someone can help me a bit further using the layout of the servi...

Exchange Web Services Managed API: Accessing other users items

Is it possibly to access the folders and items of other Exchange accounts other than the one of the logged in user? Can I do this via Exchange Web Services Managed API? ...

consume SOAP webservice using jquery

I have a SOAP web service in java which needs to ba called from an html page using jquery. Can somebody tell me how to do that. I am new to it. ...

Howto ignore SSL certificate error in WebService request ?

Question: I have written a console program that uses the SQL server 2005 web service to upload reports to SQL Server 2005 reporting service (so that I don't have to upload 100 reports by hand everytime). It works fine locally, and remotely. But now, the problem is one server uses SSL so rs.Url = "https://hostname/ReportServer/reportserv...

ServiceContractGenerator type problem

Hi, We try to generate web service proxy class using ServiceContractGenerator. We get problem at using web services that returns DataTable. Generated code for DataTable below public partial class MethodResultOfDataTableymujubN2Result { private System.Xml.XmlElement[] anyField; private System.Xml.XmlElement any1Field; //...

[Visual Studio]How can I update a foreign web reference?

Hi! I have a server where I use Microsoft CRM. MS CRM auto-generate web references. I take over someone else's application code (an application which connects to CRM). I expect to develop on my local machine, but the references they gave me are not up to date. I want to update them using the right-click/update on the reference. But it...

Web Service Debugger Exception : Undefined complexType 'http://schemas.xmlsoap.org/soap/encoding/:Array'

I'm debugging a web service and only the first time I connect to it I get this exception on the DefaultWsdlHelpGenerator.aspx(?) class (take a look at the path) Now it seems to be related to compliance of the basic profile 1.1 but I have that turned off in the config file. <configuration> <system.web> <webServices> <confor...

WCF service reference generates void methods from WSDL

This is my first try trying to use WCF, so I'm guessing I'm doing something incorrect. I'm trying to access a soap service defined by the WSDL at http://confluence.atlassian.com/rpc/soap-axis/confluenceservice-v1?wsdl I'm using VS2010, and I add a Service Reference to my project and point it to the URL there (or rather, our intranet inst...

SOAP over HTTP Web Services and timeouts

I have a few specific questions about web services (SOAP over HTTP): A client calls a web service. If, in the middle of the call, the client terminates it's own connection, is the server aware that the connection was terminated? This is more of a HTTP question. Is is possible for a client to call a web service and be forced to wait for...