web-services

Extracting Data from a dataset returned from a web service

Hi All, Has anyone a source of the qury language used to extract data returned from a web service. I wrote a web service returnes a dataset, [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [ToolboxItem(false)] // To allow this Web Service to be called from script, using ASP...

ASP.NET 1.1 Web Services & jQuery

I've been looking for an example of a 1.1 web service getting called using jQuery. I'd like to call a web service and pass a few parameters to it. Can someone point me in the right direction? Thanks! ...

How do I set access permissions for the search web service in Search Server 2008 Express?

I have installed Microsoft Search Server 2008 Express on a Windows 2003 server and created a search content source (our corporate website) for testing. I can search this source just fine from the Search Centre. From an ASP.NET web application I am trying to query the provided web service as described here I am using impersonation sett...

Using ajax to call a web service when Windows Authentication turned on?

Hi I am trying to call a web service method from javascript: function Search() { var context = new Object; context.Filter = "Test"; SearchService.GetSearch(context, onSuccess, onFailed); } function onSuccess(result) { // userContext contains symbol passed into method var res = document...

DotNetNuke module development with webservices

I need to deploy a webservice as part of a DotNetNuke 4.x module that I'm creating - but am not sure how I can do that and know that it'll always stay in the same place. How can I add an asmx file to my module project, and when I create my .DNN file specify where the webservice will end up? I want to reference the webservice from insid...

Is it possible to determine if assembly was loaded inside a web service?

In a .Net web service is it possible to determine if the assembly was loaded inside a web service? If it is, how would such a check be made? And from such a check can the original location of the assembly be determined? It's a long story involving assemblies being shared between multiple entry points of our application on a server som...

WCF service is running at computername.mydomain.local/service.svc, why?

Hi, My WCF service running on IIS7 seems to resolve at: http://computername.mydomain.local/service.svc My web.config doesn't reference any url. What could be the cause? ...

Sending a Soap Header with a WSDL Soap Request with PHP

I'm extremely new to SOAP and I'm trying to implement a quick test client in PHP that consumes a ASP.NET web service. The web service relies on a Soap Header that contains authorization parameters. Is it possible to send the auth header along with a soap request when using WSDL? My code: php $service = new SoapClient("http://localhos...

how to check errors from Web Services

Hello everyone, I am developing ASP.Net asmx web services. And at client side, if the request to server returns Http error code, like http 500, how could I know from web services client side (I use the automatically generated client proxy by using add web references)? thanks in advance, George ...

Can use ASP to call PHP soap?

My customer has a PHP web service, that they want me to use. It's PHP-based, while my web is ASP-based. The ASP code looks like this: Dim soapclient WSDL_URL = "http://xxx.xxxx.xx/index.php?Action=service" set soapclient = Server.CreateObject("MSSOAP.SoapClient30") soapclient.ClientProperty("ServerHTTPRequest") = True on error res...

Sharepoint and SQL server Endpoint

I created a LinkedServer on MS SQL Server 2005 pointing to my Active Directory. Nothing too fancy. Simple LinkedServer with ReadOnlyAdmin Account assigned to CONNECTAS Property. Then I created some storedprocedures to retreive some data from the LinkedServer. Again nothing too fancy. Just a few simple LDAP Queries. Then I created a SQL...

How to load WSDL from file

I am trying to save some bandwidth and include wsdl file in my flex/air application. Which url format should I use in order to load that file instead of the remote one. I am using loadWSDL() method. EDIT: wsdl file needs to be part of the application. I know I can use file://some/path for local files, but don't know how to load file ...

Netbeans and .NET web services

Hi, I'm not an experienced java developer so any comment will be welcomed ... I've written a web service using c# and I wanted to consume this service from java - used Netbeans for this task. All methods works well beside one: the method expecting a type called BusinessDataField2 - this type contains 2 fields: name(string) and value(o...

How do I accurately determine the location of a visitor to my website?

I need a consistent and reliable way to determine the location (state/province, country, etc) of a computer that visits my website, using any of the following: PHP JavaScript MySQL Any Web Services Something I haven't thought of? I'm am not looking for a locked-out 3rd party stats program such as Google Analytics. It's already in us...

Real-world uses of MySQL savepoints in web services?

Does anyone have experience they can share using MySQL savepoints (directly or via an ORM), especially in a non-trivial web service? Where have you actually used them? Are they reliable enough (assuming you're willing to run a fairly recent version of MySQL) or too bleeding-edge or expensive? Lastly, does anyone have experience with s...

ASP.net Web Service and intellisense

Ok so I have an ASP.Net website project. The project resides on a server on the network, accessed by Visual Studio 2008 via a fileshare. In the web site project I add a web reference to a webservice I have previously created. I can consume this webservice via winforms apps without any problems. But when I try to reference the Webserv...

Variations on a simple webservice/API: Summing a list of numbers.

In another question I asked for different implementations of a simple RESTful webservice. It was pointed out, however, that the API I defined was not particularly RESTful. My question: Is that a bad thing? More specifically: What are alternative ways to define such an API? I'll add the answer from the problem definition in the other qu...

how to use your same Domain entities throug a .Net webservice?

if you have an entity which is reference in the client and a webservice like this public class Post { public int ID {get; set;} string Data {get; set;} } public class MyService: System.Web.Services.WebService { [WebMethod] public int Write (Post post) { //Do stuff ...

Google Checkout : Best way to handle cart editing and checkout confirmation

Hello all, I am in the process of implementing Google Checkout in an e-store. Once customers click the 'Google Checkout' button, my project requires that they are able to navigate back to the e-store to possibly edit the cart. Customers should be able to click the 'back' button, type in the URL to my cart page, or click the 'edit' link ...

When creating a JavascriptConverter, how to return an array?

I'm trying to write a custom JavascriptConverter for use with a WebService I'm writing. I have to write a custom converter, because Microsoft.JScript.JSObject doesn't support IDictionary, so it gets treated as an array. I have this part working fine. However, because Microsoft.JScript.ArrayObject is a subclass of Microsoft.JScript.JSObje...