web-services

how to consume a rest web service from SQL Server.

I have the following scenario some real basic rest web service mainly, I'm just checking the existence of a single record, it's just a single validation, I'm not moving around hundreds of rows... that should be called from sql 2005, sql 2008... and yes sql 2000 and sql 6.5 (ouch!) I guess with sql 2005 and 2008 I could implement an as...

How to add attributes to properties of a class generated (web service proxy)?

I have a Silverlight 3 application which gets data from a web service. When I add a reference to my web service, all the classes used by the web service are defined in a proxy class. So far, so good... Now, I would like to use the DataForm offered in Silverlight 3. To use that component, I must add metadata to my class (e.g. see code bel...

Why is WSDL parser still importing external documents?

I tried to turn off importing documents in WSDL4J (1.6.2) in the way suggested by the API documentation: wsdlReader.setFeature("javax.wsdl.importDocuments", false); In fact, it stops importing XML schema files declared with wsdl:import tag, but does stop importing files declared with xs:import tags. The following code snippet [see ...

Marshalling polymorphic objects in JAX-WS

I'm creating a JAX-WS type webservice, with operations that return an object WebServiceReply. The class WebServiceReply itself contains a field of type Object. The individual operations would populate that field with a few different data-types, depending on the operation. Publishing the WSDL (I'm using Netbeans 6.7), and getting a ASP.N...

How can I configure Cassini web server to accept requests to different hosts?

See duplicate: Customizing the cassini webserver I have a web service hosted using Cassini web server. It works fine if I reference it by localhost, but when I use my machine's name (even using the browser locally), I get: Server Error in '/' Application. HTTP Error 403 - Forbidden. Version Information: Cassini Web Server 1.0.40305....

How to call a .NET web service from Blackberry Simulator?

Hi, I have to call a .NET web service (http://192 .168.1.14/ CG/authentication.asmx)from the Blackberry Simulator.Already i have done it in Android with KSOAP2, but i have no idea about how to do this in Blackberry.Can i use KSOAP2 in Blackberry?If i can please give some code snippets.Also please tell if you know any other ways to do...

WCF v.s. legacy ASP.Net Web Services

Duplicate: although this is a good discussion, this is a duplicate of Web Services — WCF vs. Standard. Please consider adding any new information to the earlier question and closing this one. Could anyone recommend me some documents to describe why WCF is better than legacy ASP.Net web services? I am especially interested in performan...

Problem with WCF Service - The protocol 'http' is not supported. How to resolve?

I'm after setting up a WCF service on my dev box but I'm getting an error when accessing it. I've set the service up as per this guide. It's is written in VS2008 / C# / .NET 3.5 and my dev box is Vista SP2 with IIS 7. At the moment the service is nothing more than the default structure since I am literally after testing a connection to i...

Façade - accept object instance, or individual parameters?

I'm creating a stateless session bean (the façade) which will be used for "managing" a particular entity, let's call it Product. There will be methods to add a new product, update an existing product, get products, etc (I'm using Hibernate for persistence, so I have a "ProductDbManager" bean that the façade will use for DB access). Thi...

Is there a way to get the entire source of a page with yql?

I am trying to load the source of any page into a textbox for a client side only html editor. I need to be able to get the entire source of a web page, not just the body. This yql query returns just the body: http://query.yahooapis.com/v1/public/yql?format=xml&callback=editor.handleLoad&q=select+*+from+html+where+url%3D%22exampl...

.NET Web Service Security

I have a C# web service on our website and I only want to be able to call it locally where its hosted - restricting access from the outside world. Whats the easiest way to do this without a login form? We cannot restrict the web service directory per ip (because I don't believe its static) ...

Staff Web Service Framework

How does Staff web service framework compare to others for c++? ...

Designing Web services for AJAX Consumption

We are in the process of designing/creating restful web services that will be consumed client side using XHR calls from various web pages. These web pages will contain components that will be populated by the data retrieved from the web services. My question is, is it best to design the return data of the web services to match specific...

Robust method for making a copy of a TRemotable object in Delphi 2007

Is there a robust mechanism for making a copy of TRemotable object (or descendant) in Delphi 2007? I'm creating a Delphi web service client that receives a variety of objects from a web service; of course, all are descendants of TRemotable. In the client, I create a matching object, then copy all the properties from the web service pro...

How Do I configure Multiple Service Endpoints in WCF?

Hi. I'd like some basic guidance on setting up my WCF configuration. This is my first serious effort with WCF (and first post on stackoverflow). I have a WCF class library (APILibrary) that I am referncing in my web project. In the wcf library, I currently have two services - IAuthService and ITradeService. Along these lines, I h...

Web service cannot write to Event Log when called by anonymous user

SUMMARY: How to configure a web service such that writing to the Event Log is always possible (regardless of caller)? DETAILS: I have a web service which writes an entry to the Application Log. I established the event source for this by means of a little console application and I think I understand that part of things. When I test this ...

What is the sense define several services in single WSDL file

I understand it makes sense to exposes the same functionality (interface in WSDL 1.2, portType in WSDL 1.1) under different endpoints (ports in WSDL 1.1), depending on underlying transport protocol (definined by the binding). But what is the sense to put definitions of different services into a single WSDL? Especially, if each service ex...

When implementing RESTful services should lookup values / tables get their own URI?

I am creating RESTful services for several database entities based on a modified version of the BISDM. Some of these entities have associated lookup tables, such as depicted below: The lookup tables are associated with one and only one table. Additionally, the lookup tables will be used by the client application to populate dropdown...

Is it inadvisable to use http traffic analysis to build a meta web service / pseudo-api?

I've been looking at http traffic analyzers which are browser addons that monitor and analyze all incoming and outgoing HTTP traffic between the browser and whatever web server you're connecting to. The types of information available per request include: * Request and response headers * Sent and received cookies * Querystring parameter...

Web reference behavior in an ASP.NET web site project

On my local workstation, I have a Visual Studio studio that contains a .NET 3.5 C# class library project and an .NET 3.5 ASP.NET web site project. I created a web reference (example http://prod.webservices/myservice/default.asmx) in the C# class library using the "Add Web Reference" module. It created an app.config with the following...