web-services

Web Service call fails from JQuery

Hey guys, Really appreciate any help someone might be able to offer! I've been trying to set up a JQuery Ajax call to a web service, and the little debugging I've done so far shows that the web service will return parameters and from the client side I've use the alert function to show that data is going to the data string, but then I ...

.NET Service burden of using Entity Translator

We have incremental burden of maintaining EntityTranslator to transform the business messages to the service message and service message to business message in .NET and WCF application. In fact, I cannot call them as Business object since we just need to fetch from DB and update the same. We read data from device and store to DB and read...

PHP + .Net Web services for data access - Bad Design Choice?

The company has a PHP app that is in horrible condition. They want to start making plans to redesign it in .NET, however they need to run with the current design because of various reasons that I won't get into here. They want to make some enhancements to the current design but do it in such a way that those enhancements can be in-part ...

My EventWaitHandle says "Access to the path is denied", but its not

Quick summary with what I now know I've got an EventWaitHandle that I created and then closed. When I try to re-create it with this ctor, an "Access to the path ... is denied" exception is thrown. This exception is rare, most of the times it just re-creates the EventWaitHandle just fine. With the answer posted below (by me), I'm able ...

AJAX Cascading Dropdown contents are not being updated correctly on server

Greetings, I'm having an issue with a cascading dropdown not updating correctly server-side. The page I am using has two cascading dropdowns: one for the category of a car [ddlCategory] and one for the colors of a car of a certain category [ddlColor]. There are also two text fields that take dates. The goal of the page is to display an ...

How to do Authentication between a webservice and a mobile phone?

Hi I want to make a windows mobile 6 cellphone application. This application will talk to a web service that I want to make. I don't know must about web services and programming app for phones so I got a couple questions. How do I do authentication? Like my user loads up my app and goes to the login page. They type in there credenti...

Secure WCF service

I am very new to using WCF services. Right now I have a WCF service that I call using jQuery. I'm concerned about users making unauthorized calls to the service. What would be the best way to secure my service? ...

Does a published endpoint have a limited number of connections? [Java 1.6.0_16]

I've created a Web Service using import javax.xml.ws.Endpoint and a client that connects to it using Service.create and service.getPort. Now, everything works perfectly fine when only using a small amount of connections... But - if I launch lets say 1000 concurrent connections (Clients) to my Web Services I get the following "sometimes"...

What is RESTFul Web Services in Java

Well as the title suggest, what is this Restful Web Service thing in Java, What are its benefits over SOAP Web Services, why the hell someone implemented again some other technology? What is the reason to use Restful one instead of SOAP one? For example I will give a service which will be accessible for many clients from high level lang...

Error calling Java web service from .NET code?

I'm getting an error in code that calls a Java web service. The code works fine on the rest of my team's PCs. I have exactly the same copy of the source code. So I'm guessing it's a configuration issue on my PC buried deep somewhere and has nothing to do with the source code itself? The error I get is: The HTTP request was forbidden...

How to Backup a webservice?

The problem is I reinstalled my computer and the backup didn't work so now all my sourcecode is gone... But my webservice is still running on a webserver. When I upload the new website the old site will be deleted, so how can i backup the webservice and make it a part of my new website? In the bin folder of the webserver there is some...

Web service client close connection

I have a Glassfish app server hosting my web service (jax-rs with apache cxf). I have a Java client consuming this web service using code: Service service = JAXRSClientFactory.create("http://localhost/service", Service.class); The service is consumed x number of times at run time. x can vary. All is good - the code runs fine and as...

How do I discover RESTful Web services?

When I want to find a "Big" Web service (WS-*/WSDL based) of required functionality I can simply google for ".... filetype:wsdl" because Google indexes also WSDL definitions. Or I can simply use some registries that already crawled the Web for WSDL definitions for me, e.g. SeekDa.com or ServiceFinder. When I want to find RESTful Web ser...

Has anyone know how to consume WCF Certificate based security WebServices from an iPhone app?

I'm trying to interact with a WCF web services using certificate based security and both message signature and encryption but with no luck. I had successfully implemented signature only communications, but when I create the elements I get an error verifying the message. Has anyone have any hints on how to implement this? Thanks!!! ...

http listeners inside threads

Hello I am writing a web service which has to be able to reply to multiple http requests. From what I understand, I will need to deal with HttpListener. What is the best method to receive a http request(or better, multiple http requests), translate it and send the results back to the caller? How safe is to use HttpListeners on threads?...

ASP.Net ScriptMethod generating empty JSON

I'm using JavaScript to access a ScriptService method called GetPerson(). The problem is that it is returning a fairly empty JSON string instead of an actual object string. The same happens when I return a new DateTime object so the class is out of question I hope. This is returned: {"d":{"__type":"Person"}} this is my WebService.cs...

How to report progress of a web service on windows mobile client?

I have tried to implement progress reporting using a soap extension as described at the following links: stackoverflow codeproject However, my "ProgressUpdate" method is not being called, and I believe that is because I haven't got an app.config file in my Windows Mobile project to tell the web service calls to be processed by the SOAP...

CGI language choice

Ok, I've asked a few related questions here and only ended up with more questions and I realized now it's because I don't have enough background info. So I'll make it more generic: I need to make a simple web application. Static HTML/JQuery pages will send AJAX POST requests to some server side code, which will: Read the POST variable...

Who is calling my WebService?

I have a web service that is on an internal server. It can be called from any website on our network. More and more developers are starting to use it. Current probably 20+ pages use this service, and the number is growing fast. I can see a year from now, someone asking what pages are using this service and what methods. I would like t...

how to sharethe web application session with a webservice

Hello, Here's the scenario. My page loads with certain objects in the session. The user clicks a button, and I need to update a certain section of my page using jquery. The jquery would make an ajax call to the web service which needs to access one of the objects in the session. How would I do this? How can my web service access the ...