services

Silverlight RIA Services - Unable to connect to SQL Server database

Hello, I am trying to get started with Silverlight. I have created a new Silverlight Business Application. The first thing I need to do with this business application is authenticate a user using the ASP.NET membership provider. I have already created my user via the Web Site Administration tool accessible through Visual Studio (Project...

Using both POST and GET Ajax calls for the same WebMethod in ASMX Web Service

I can't seem to call a web service method from Ajax with both POST and GET. Initially only the POST would work and GET would causes this error: {"Message":"An attempt was made to call the method \u0027getData\u0027 using a GET request, which is not allowed.","StackTrace":" at System.Web.Script.Services.RestHandler.GetRawPa...

How to develop an asynchronous web service in Netbeans?

Hi, Netbeans has a very nice setup for creating and testing synchronous web services with Axis2. However, I'd like to develop an asynchronous web service in Axis2, again in Netbeans. Is there a link somewhere I can look at? Is my best bet to check the example code in the Axis2 distribution? Thanks! ...

COM object to web service for mobile devices.

We got a COM object for our web applications. now we need to develop application for different mobile devices like IPhone, Android and windows mobile. what are the options out there ( rest server, soap serverice ) any idea. ...

WCF can't connect to an ASMX Web Service

Hi All I'm using WCF to connect to a remote web service (asmx) for testing at this point. The remote web service is unsecured for now (no https, no user name, password). I can add the WCF service reference, and all the classes are generated ok. When I make the call to the webservice, it just hangs. So I can connect with the SOAP UI t...

invoking web services from eclipse

i have to invoke already built web services from my code and get the response in return. how can i do it.... (i am working on eclipse for blackberry phone simulator,using j2me) any help will be greatful........ ...

How to get an Axis2 Web Service to print to the Tomcat logs

Hi all, I'm managed to get the userguide/example1 echo web service working for Axis2. However, to validate that the changes I make to the service are actually working, I would like to print something to the tomcat console. So far, it hasn't worked, using a simple System.out.println("xyz"); I grep the logs and it's not there. Also, I'm ...

What if I want to have my own plug-in architecture within Grails?

Suppose I want to define an interface, FooProvider, and then have multiple implementations of this interface available at runtime (maybe as individual services). In my controller class, I'd like to be able to have all known implementations of this interface injected at runtime so that I can expose them as "options" to the user for gettin...

Error on AddWebPart (Sharepoint 2007)

Hi, I am trying to use the AddWebPartToZone web service call within Sharepoint 2007 to add a webpart programmatically to a webpart page. We get a soap exception (Microsoft.Sharepoint.SoapServer.SoapServerException). The webpart i am trying to add is the original version of the Chatterbox app found on codeplex. When i try and add a con...

Ruby/Rails: Build internal service, no http support needed

I need to build an internal service that queues the DB for changes (in one table) every one second, and processed data after this event. I do not need all the Rails stack since this service does not need the Controller/View functionality. Basically, from the rails stack, i only need AR (or an ORM). The found solutions/approaches for t...

web services standards in SOA

Web services are becoming heart of SOA. The term Web services describes a standardized way of integrating Web-based applications using the XML, SOAP, WSDL and UDDI open standards over an Internet protocol backbone. XML is used to tag the data, SOAP is used to transfer the data, WSDL is used for describing the services available and UDDI ...

Does WqlEventQuery contain a constructor with 1 argument?

Hi all, I am trying to create a simple service in C# using VS2008 that creates a text file when the computer goes into sleep mode. My current code throws out the following error: 'SleepNotifierService.WqlEventQuery' does not contain a constructor that takes '1' arguments Now I looked in the Object browser, and it looks like it doe...

WCF service design question

Is it ok from your real-world-experience to define service contract with one method which will accept some object as a form of request and return some other object as a result of that request. What I mean is instead of having method for creating, deleting, editing and searching customers I would have these activities encapsulated within ...

web services @.net or java

confusion in using either jax-ws(java) or .NET for implementing the web services. i would like to develop some web services and check the security loopholes in them(means to stimulate some attacks in SOA such as coercive parsing attack, dos attack etc..) Which one either Java (or) .NET will be better for programming the web services for ...

ADO.net Data Services [DataWebkey]

I am using VS 2008(Professional edition) with SP1.I am new to ADO.NET DataServices.I am watching Mike Taulty videos. He used [DataWebKey] attribute to specifty the key field and he referred the namespace Microsoft.Data.Web. To follow that example I am trying to refer the same assembly,but it is not found in my system. How to fix it? ...

WSIFException, no schema elements found

Currently I am working on this framework WSIF, this line keep retrun me WSIFException: no shema elements found. Any idea? operation.executeRequestResponseOperation(input, output, fault); \ ...

ADO.net Data Services - Querying

Just I started learning ADO.NET Data Services. Some Pages show the querying like (sample) http://localhost:1705/ServiceExample/SomeService.svc/Persons(1)/Name http://localhost:1705/ServiceExample/SomeService.svc/Persons(1)/Name/$value Is it XPath or XQuery? Where can i get complete rules for forming such queries with examples? Than...

how can I deliver remote content via web service?

We have multiple websites under different domains that need to receive our banner ads. We have a server app, in PHP, that returns the HTML for a randomly-generated banner ad. Out of concern for the client side, I don't want to use an iframe nor do I want to include the jquery library because of the weight - I also do not want to duplica...

Using Shiro to secure services in grails.

I'm using grails to build an application that functions primarily as a service framework. My question is: Can services be secured in the same fashion as controllers? uri-based example: class SecurityFilters { def filters = { all(uri: "/**") { before = { // Ignore direct views (e.g. the default main index page). ...

Why does System.Threading.Timer stop on its own?

Hi there, I'm doing a small test project before I use System.Threading.Timer in a Windows Service project. It's working wonderfully, however the timer stops on its own after a minute or two. The full source for the test project is: using System; using System.Windows.Forms; using System.Threading; namespace studyTimers { public pa...