web-services

Drag and drop a link on the desktop to create a shortcut

My client asked me a interesting thing today. Drag and drop a link in the browser on the desktop to create a shortcut to the linked webpage. We have a web-application and it could be very good to enable the user to directly connect their application. Do you have any idea of how to do that ? ...

How to retrieve data using Web services in .NET

How to retrieve data from database using Web services on VB? ...

tomcat webservice publishing

hello, if i know that a tomcat is publishing a webservice but i don't know its url. How can i discover what webservice this tomcat is publishing? thanks ...

how to get and set files from ftp server

Hello friends, I devloping one web application in which i need to do communication with FTP server As per gethered requirement there will be one FTP site and my app. has to deal with this site and has to locat perticular folder and files that i want to get in my app, the app will encode it and convert it into desired format and resubmit...

"Best" way to communicate between .NET 1.1 and .NET 3.5

By best I mean: Cheapest development cost (1.1 project is unlikely to live > 6 months) Easiest migration to WCF or similar By communicate between I mean: Remote communication between computers Most likely no firewall restrictions With .Net 1.1 the options appear to be: sockets, remoting, and various flavours of web service. The ...

Keep connection open for multiple web service requests

Hello, I would have question regarding web services. Let's say I have webservice client that has to perform under high load. And I cannot use another technology. Is it possible somehow to keep the connection open for all requests, to avoid overhead when establishing new tcp/ip connections? And in case of managed environment, is it possi...

How to tell who is calling web service (PHP on Apache)

I am creating a web service using php's SoapServer built-in class. I have run some basic tests and it seems to be working fine, but now I need to limit who can use the service. Assuming that only other scripts on the same server are trying to consume my service, and that they would do this server-side (as opposed to with AJAX or similar...

Embedded Jetty and SOAP

I am trying to run an embedded Jetty and would like to expose a soap webservice. The project is loaded as a WAR generated by netbeans. The webservice is generated from a WSDL. What is the simplest way to add SOAP support to embedded Jetty ...

How to call a webservice in the same website?

Hello. I have to call a webservice published in the same website the caller aspx is. When I try to "Add a Web Reference" the editor does not show the webservice methods from the generated namespace. Do I have to use the "Add Web Reference" or is there another way because the webservice is in the same website? Visual Studio 2005, C# ...

Controlling which WebMethods get exposed externally in a WebService

I couldn't think of a decent title, so let me first apologize for that. I have a WebService (call it A) written for my app so I can take advantage of ASP.NET 3.5 AJAX features. I use the generated JavaScript proxy to make AJAX calls. As a side effect, WebService A is exposed for anyone to add as a reference to another project, which i...

Basic post to test web service

I am working on form, which send input to webservice via post and display result. It must be simple, and it works fine on localhost. But when I try to use it agains live I have error 500. Here is my code: WebRequest request = WebRequest.Create("http://localhost:3192/WebServices/Export.asmx/" + uxAction.SelectedValue); ...

Correct way to Switch between Dev, Test and Prodcution Services in Builds

I have a client side app (WPF) that hits my web services. When I am running in dev I want to hit the Dev version of these web services. When I am running in the Test environment I want to hit the test version of the services. Like wise for production. Since these values are in my app.config file what is the best way to switch between...

Do Virtual Directories in shared hosting conflict with stuff in wwwroot?

Hi I have an asp.net mvc application, phpBB forum and asp.net webservice that I want them all in the same wwwroot. My shared hosting allows virtual directories so I went a head and made one. It made the directory and some web.config in it. I then uploaded my asp.net webservice and overrode the web.config that was in virtual directory ...

Where are Exchange Web Services: ExtendedPropertyDefinition IDs defined?

In researching how to use Exchange Web Services, I see examples like this Dim PR_DELETED_ON As New ExtendedPropertyDefinition(26255, MapiPropertyType.SystemTime) Dim PR_SEARCH_KEY As New ExtendedPropertyDefinition(12299, MapiPropertyType.Binary) That first parameter is an int that represents the property ID. Can anyone give me a poin...

Add Java Annotation to inherited field

I'm working on something that might benefit from a pattern like the following: public abstract class SomeBuisnessThingy() { protected int someDatapoint; } public class ADatabaseThingy() extends SomeBusinessThingy() { @SomeJPAAnnotation ???? someDatapoint; } public class AWebServiceThingy() extends SomeBusinessThingy() { @SomeS...

Change WebService endpoint address at run time

I used Netbeans to generate Web Sevice client code from WSDL url. But I can't change endpoint address at run time using code. Please help me to solve that problem! ...

Usage-Metrics for ASP.NET Web Services

Is there a way to collect usage metrics of an ASP.NET web service like Google Analytics collect usage metrics of a web site. All without implementing my own database tables or code. I don't need to collect the huge amount of information collected by Google Analytics, only simple information, like the number of calls and their distributi...

How to retrieve data from Database through jquery?

On my website, I'm using webservice to retrieve the data from (SQL Server) database. To improve performance, I like to use jQuery to retrieve the data from the webservice instead of using C#. The data values should be assigned to the drop-down list which I'm using in the aspx. Can anybody tell me how to do this? I'm a newbie to jQuery. ...

Calling AS400 SP from ASP .NET webservice

I have an external stored procedure (SP) in AS400 with IN and OUT prameters.When my SP is called from webservice with IN and OUT parameters, it shows me an error (Attempted to read or write protected memory).But when the webservice has all the parm as IN mode and calls my SP it works properly. ...

how to get Application_Start (in Global.asax.cs) to be called before requests in asmx web service on IIS 6.0

Hello, in my ASMX WS Application_Start is called when 1st request arrives. It's kind of too late then for me. Is there any way to get it called when iisreset is done? In http://stackoverflow.com/questions/1820770/what-is-the-right-way-to-spawn-thread-for-database-io-in-asmx-web-service I asked about preloading system data and the guys ...