web-services

SQL Server - Using CLR integration to consume a Web Service

There are a few tutorials on the web that describe consuming a Web Service using SQL Server 2005's CLR integration. For the most, the process seems pretty convoluted. I've run into several issues including the need to change my database's trust level, and using the sgen tool to create a static XmlSerializer assembly; and I still haven't ...

Programatically access weather info

I am looking for a web weather service in the United States that will allow links to be created with the latitude and longitude. Ideally it would show the radar imagery for that location, but just a simple "Sunny, 78F" would suffice as well. Any ideas? ...

What is the best practice in defining a soap service (generic vs. specific operation)?

Hi all. My situation is as follows: I have a normalized database, in which I hold geographic information about airports. The structure is: airport --is in--> city --is in--> country --is in--> continent Now I want to let users administrate this data, without giving them direct access to the database. We need to offer this administra...

What is tempuri.org?

Why does tempuri.org exist? Why does each XML Webservice require its own namespace, unique from any other on the web? ...

Database Null

I have an asp.net text form that contains numerous decimal fields that are optional. I want to selectively update the database but not inserting a "0" for fields that do not have data (maintaining the null status). Typically, I would create multiple functions, each with a different signature to handle this. However, I am inserting the ...

SQL: WHERE IN (array of IDs)

Hi, I have webservice which is passed an array of ints. I'd like to do the select statement as follows but keep getting errors. Do I need to change the array to a string? [WebMethod] public MiniEvent[] getAdminEvents(int buildingID, DateTime startDate) command.CommandText = @"SELECT id, startDateTime, en...

How to create documented WSDL using XFire

Hi there, I use XFire to create a webservice wrapper around my application. XFire provides the webservice interface and WSDL at runtime (or creates them at compile time, don't know exactly). Many of our customers don't know webservices very well and additionally they simply don't read any external documentation like Javadoc. I know tha...

Can I upgrade an ASP.NET web service to WCF and still call it from ASP.NET 1.1?

I need to make a change to an ASP.NET web service written a couple years ago on 2.0. I call this web service from an old 1.1 web site. I need to make some changes to the web service, so am thinking, should I rewrite this into a WCF service and if so, will I still be able to use it from my 1.1 web site? ...

Download attachment from a web service without using WSE?

Is there any way to download attachment from a web service without using WSE in C#? ...

IBM Websphere OutOfMemoryException.

Often, I found OutOfMemoryException on IBM Websphere Application Server. I think this exception occur because my application retrieve Huge data from database. So, I limit all query don't retreive data more than 1000 records and set JVM of WAS follow + Verbose garbage collection + Maximum Heap size = 1024 (RAM on my server is 16 GB and n...

How do I Update a GridView from a Page Method from code behind?

How do I update a Gridview on a aspx page from a webmethod? Here is my code. [WebMethod] public static string GetDate() { return DateTime.Now.ToString(); } I can't use the "findcontrol" or the "this" methods so I need some help. ...

Issues with client consuming a .net web service upgraded from .NET 1.1 to 3.5

I am working on a web application that was recently converted from Visual Studio 2003 to Visual Studio 2008. The application contained some web services that were written using the .NET 1.1 Framework and Web Service Enhancements 2.0. They were converted to the .NET 3.5 framework using the VS 2008 Conversion Wizard Tool. A client appli...

Is it possible to specify proxy credentials in your web.config?

Hi all, I need to configure a website to access a webservice on another machine, via a proxy. I can configure the website to use a proxy, but I can't find a way of specifying the credentials that the proxy requires, is that possible? Here is my current configuration: <defaultProxy useDefaultCredentials="false"> <proxy usesystemde...

Importing Delphi Web Services into Java

I have a web server built in Delphi, and I'm trying to consume its web services on Java (I'm using Eclipse IDE) by creating a Web Service Client through the Eclipse wizard. The Web Services Explorer recognice the WSDL file, but when trying to create the client, the wizard says there's an "unexpected attribute" and does not create any fil...

Implementation ideas for Web Service request for file transfer

I have a web service application written in Java - we use Glassfish as the Application Server. And a client for the web service written in .NET. As a result of a request made to the web service I would like to transfer a file from the server to the client. What would you recommend I use ? ...

Upgrading a ASP.NET 1.1 Web Service using the WSE 2.0 to .NET 3.5

We recently upgraded an application that that contained web services using the WSE 2.0 to .NET 3.5. When we converted the project in Visual Studio 2008, It did not mention anything about the removing and/or modifying the WSE 2.0 namespaces. Here is the basic architecture of the web services in the .NET 1.1 project. Web Service Source ...

Expose Java class as SOAP WebService - how ?

I am looking for a framework to turn given Java class into WebService (may be with some limitations on method parameters etc) Thanks ...

How to connect my Spring + Hibernate based application backend with pure HTML and AJAX based client?

Hi all, I'd like to call methods of my DAOs by AJAX. I'm quite new in that so I would like to ask what is the best way to do that. Is it possible to publish my beans as web services and call them with e.g. jQuery? I think it is not possible :) I've also read about Direct Web Remoting but I don't know which way to go... As I see, there...

Change asp.net generated WSDL for an asp.net web service

is there any way to change the way asp.net generates elements in the WSDL generated from a .asmx file? Specifically, it seems to mark all elements minoccurs="0" and there are some elements that I want to be minoccurs="1" (aka required fields). One of these is an argument to the web service (e.g. foo(arg1, arg2) where I want arg2 to be...

Why is my ASP.NET AutoCompleteExtender returning undefined?

Why am I getting a textbox that returns undefined list of variables? When I run this code: var query = (from tisa in db.TA_Info_Step_Archives where tisa.ta_Serial.ToString().StartsWith(prefixText) select tisa.TA_Serial.ToString()).Distinct().Take(Convert.ToInt32(count)); return query.ToList...