web-services

Java Webservice testing

Hi I provide a web service to my organisation. i was wondering would anyone recommeding the use of apache cactus for setting up a testing framework or has anyone worked with any other web service frameworks that may be useful? Thanks Damien ...

How to sync access to file between ASP.NET web site and ASP.NET web service on one web server

I have deployed ASP.NET web site and ASP.NET web service on the same web server. Both of them require access to shared file. How to implement/share lock that supports single writers and multiple readers? If somebody reads, nobody can write, but all still can read. If somebody writes, nobody can read/write. ...

Simple java client code for Web Service - something to do with QName?

I am getting the following error when I get to the line that invokes a REALLY BASIC web service I have running on Tomcat/Axis. Element or attribute do not match QName production: QName::=(NCName':')?NCName Have I got something wrong with QName?- I can't even find any useful information about it. My client code is below: import javax...

Any way to make "find references" work for web methods?

I'm looking for a way to find references to a web method in other code that may use it. Right-click and choose find references doesn't make it through the wsdl interface to other classes in my solution that reference those web methods. This is part of a clean-up effort - I'm trying to remove outdated/old/unused methods. I can search b...

Target IIS Worker Processes on Request

Ok, strange setup, strange question. We've got a Client and an Admin web application for our SaaS app, running on asp.net-2.0/iis-6. The Admin application can change options displayed on the Client application. When those options are saved in the Admin we call a Webservice on the Client, from the Admin, to flush our cache of the options ...

Why is calling a web service slower from a web page?

We have a DLL used as the middle layer between our website front end and our back end ticketing system. The method of insertion into the ticketing system is a bit complicated to explain, but the short version is that it's slow. The best case scenario I've gotten is a 9 second submission time. The real problem though, is that I can onl...

How do I fix this error: http_client.c(227) Error creating a socket. Most probably error returned by OS

I am in the process of setting up the wso2 php web services framework on my ubuntu 8.04 development server. However my webservice is failing. Looking into the wsf_client.log (custom log for the framework) file gives me the error in the question. I belive the error is returned from axis, but I have no idea how to fix it and would be gra...

Calling a C# web service from with PHP with a long parameter

We have a customer that is trying to call our web service written in C# from PHP code. The web service call takes a long as parameter. This call works fine for other customers calling from C# or Java but this customer is getting an error back from the call. I haven't debugged their specific call but I am guessing that the 64bit integer ...

Is it possible to override a .NET client's default timeout on a call to a webservice?

I'd like the web service proxy class to wait more than 2 minutes ...

Testing REST webservices

HI There, My organization is working on building RESTful webservices on JBoss appserver. The QA team is used to testing SOAP webservices so far using SoapUI. SoapUI has a new version that has REST capabilities. We're considering using that. 1) Are there any publicly available RESTful services available on the net for free that someone ...

Don't understand how Axis works if I haven't installed it?

Forgive my ignorance - still learning here. I am using Eclipse Ganymede (Java 1.5) and have been experimenting with web services - I have mangaged to get a simple web service up and running and the nice wizard you get in Eclipse generates all the necessary bits and pieces e.g. wsdl file etc - and you can test the service and everthing e...

Directory of APIs/WebServices - where do I find one?

Where do I find a directory where a lot of APIs or Webservices are collected? I'd like to generate a Web Site getting its content from different services, but I assume that spidering together the content is not legal (e.g. getting the latest financial data from finance.yahoo.com). So I would like to have a list of APIs and WebServices (...

Deploy time Webservice location.

I am actually using framework 1.1. I my Web application i am actually adding a reference to a webservice. I am doing this using the Visual studio. When i add a web reference the below list of files get generated. reference.map reference.vb reference.disco reference.wsdl. all these files have the url pointing to the webservice. Even...

When should a web service not be used?

Using a web service is often an excellent architectural approach. And, with the advent of WCF in .Net, it's getting even better. But, in my experience, some people seem to think that web services should always be used in the data access layer for calls to the database. I don't think that web services are the universal solution. I am th...

Easy way to translate from DTO to Entity and Entity to DTO?

I have worked on several distributed client/server projects recently, and one pain point that we always run into is translating the DTO objects into our entities and vice-versa. I was wondering if anyone has a "simple" solution to this time sink? One thing I thought about was coming up with some sort of translation using reflection...I...

Encryption of SOAP message in Axis 2

Hi, I need to use encryption (and signature) for a web-service (server side). I use axis2 and successfully added the rampart module (for WS-Security implementation). But rampart page (http://ws.apache.org/axis2/modules/rampart/1_2/security-module.html) is missing examples and the sample file are not really documented. So my question is ...

XML From a Web Service Call

Visual Studio makes calling a web service easy, trying to figure out what is going on under the covers is difficult. How can I see the actual XML generated from my .Net app when making a call to a web service? ...

YUI DataTable .NET webservice

Does anyone have an example of using of populating a YUI DataTable with a .NET webservice? Thanks in advance. :) ...

returning data via webservice c#

i know this is an age old question, but this is my scenario This is in C# 2.0 Have a windows application which has a datagridview control. This needs to be populates by making a webservice call. I want to achive the same functionality on the data if i were to use a direct connection and if i were using datasets, namely like paging and...

Exchange Web Services, try to use ExchangeImpersonationType ...

I am trying to use EWS, first time trying to use the ExchangeServiceBinding. The code I am using is below: _service = new ExchangeServiceBinding(); //_service.Credentials = new NetworkCredential(userName, userPassword, this.Domain); _service.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials; _service.Url = this.ServiceU...