web-services

How to write an iphone application to control a device that exposes a telnet api

Hi! I have to write an iphone application that controls a device. This device exposes a telnet based interface. The application should ideally have user access control and customizability for each user. I was thinking of writing C++ classes that would communicate with the device using sockets. This functionality can then be exposed th...

Asp.net web site and web service hosting

I have a web site and a web service and I would like to host them somewhere. I need to use it mostly for testing and so that a some friends who are developing some applications to use the service have access to it. Also the service is using a MS SQL 2008 database. Could you suggest any good free or cheap web hosting service for this. I ...

Changes to JBoss web.xml have no effect

I just added this to my web.xml on my JBOSS server. But it had no effect. I am still allowed to connect to ports that do not use bi-directional certificate exchange. Anyone have an ideas? <!-- Force SSL for entire site as described here: http://wiki.metawerx.net/wiki/ForcingSSLForSectionsOfYourWebsite --> <security-constraint> ...

MSBUILD publish does not publish a xsd schema file

I am using MSbuild to publish my webservices projects on the command line using the following command: msbuild.exe MyWebservicesProjectPath\Services.csproj /t:ResolveReferences;_CopyWebApplication /p:Configuration=Release;BuildingProject=true;WebProjectOutputDir=c:\inetpub\wwwroot\webserviceDest;OutDir=c:\inetpub\wwwroot\webserviceDe...

Want to Call Same BackgroundWorker Multiple Times without using Application.DoEvents

I'm running in to a problem that I was able to fix with Application.DoEvents, but don't want to leave that in because it might introduce all sorts of nasty problems. Background: Our app is primarily a desktop app that makes many calls to a web service. We control everything but changes to the overall system design are not going to be s...

Web Service for finding basic company info

I'm looking for a web service similar to StrikeIron Zacks Company Profile. In particular I'm looking for company headquarters based on company name or stock ticker. If anyone knows where Google, Yahoo, or StrikeIron find this information, I would greatly appreciate it. Thanks in advance ...

Message Queue vs. Web Services?

Under what conditions would one favor apps talking via a message queue instead of via web services (I just mean XML or JSON or YAML or whatever over HTTP here, not any particular type)? I have to talk between two apps on a local network. One will be a web app and have to request commands on another app (running on different hardware). T...

.Net Windows Service not able to access a file

I have VB.net windows service and in one of the functions I am using a XML file which is in the same directory of the application. When I install the service though the service starts it is not finding the xml file. How do I include the XML file in the web service? If I copy the file to the same folder as the exe and app.config files, ...

Trouble Getting Data from a Webservice using Qooxdoo

My capstone team has decided to use Qooxdoo as the front end for our project. We're developing apps for OpenFlow controllers using NOX, so we're using the NOX webservices framework. I'm having trouble getting data from the service; I know the service is running because if I go to the URL using Firefox the right data shows up. Here's the ...

Removed WebMethod from ASP.NET Webservice, method still shows up

I changed the signature of one of my web methods in a web service and couldn't get it to update, so now I've removed the whole method and rebuilt the project and that removed method still shows up and works! Is there a WebService cache in Visual Studio I don't know about? I've cleaned, rebuilt, built the project, even searching the pro...

how to read image from project folder in java ?

I am developing web method for webservice in java. In this web method I have to read image from my images folder which resides in my webservice project folder. I am using the code as follows. @WebMethod(operationName = "getAddvertisementImage") public Vector getAddvertisementImage() { Image image = null; Vector imageList = new V...

Securing Web Service communication with SSL using CXF

Hi all, I am trying to secure communications via SSL/TLS for one of our Web Service using CXF 2.2.5. I am wondering how to update client and server Spring configuration file to activate this feature. I found some information on CXF's website (CXF Wiki) for the client configuration, here is the given example: <http:conduit name="{http:...

ASP.NET- using System.IO.File.Delete() to delete file(s) from directory inside wwwroot?

I have a ASP.NET SOAP web service whose web method creates a PDF file, writes it to the "Download" directory of the applicaton, and returns the URL to the user. Code: //Create the map images (MapPrinter) and insert them on the PDF (PagePrinter). MemoryStream mstream = null; FileStream fs = null; try { //Create the memorystream stor...

How to Authenticate to a asp.Net webservice from Flash Media Server

I've searched all over and can't find this addressed anywhere. I have a Flash Media Server script that writes data to an ASP.Net webservice when a user connects. It works great, but I want to lock down security if possible. The best I could come up with was to add a token to the flashVars of the client flv, then pass it through FMS w...

Compressed xml on soappy

I'm developing an application that uses webservices in python, both sides (server and client) are developed in Python and uses SOAPpy for the webservices, but, you know, the xml is too verbose, I want to compress it, but as far as I have searched in google I can't find something helpful. ...

Parsing custom parameters from an Axis2 exposed POJO

I have a web service operation that I am exposing with Axis2. Let's say it's like this: public class MyService{ public String helloworld(String yourName){ return "Hello " + yourName; } } This is a pretty simple web service. My question is how do I parse more complex parameters? For example, I want to pass more than just stri...

Can custom exceptions be created for a webservice operation on netbeans?

I am using netbeans glassfish bundle to create a webservice. I am adding operations to the webservice from the design view. In the exception tab I noticed theres no way to create a custom exception and you can only search for a predefined exception. Is this a standard for webservices? Or can I just create my own exception classes and the...

What is the plan you would suggest for a novice to learn web services?

As I plan to switch my career to a 100% web services development company(using open source Java technologies), I need to build a thorough knowledge in the foundation concepts and then related technologies. But I'm pretty confused by the thousands of jargon and technologies. What study/development plan would you suggest for a novice? A li...

How to securely remember a login password for scripted web queries?

I'm looking at scripting parts of my workflow, which involves interacting with some web-services via SOAP and XML-RPC queries. I'm scripting using bash and python. I need to authenticate against these web services, and I'd ideally like to do so without having to type in my password for every request (typing it once per login would be...

How to obtain client's URL from WCF service?

Hello, gentlemen. Here is the problem: I have a WCF service and a few sites connecting to it and sending certain messages. How can I obtain client's URL (not IP) from the WCF service to assign it with the message? A kind of statistics. I'm using C#. Thank you in advance, Tim ...