web-services

VS2008 web service code coverage

Hi, I have written a test method for a web service in VS2008, using visual studio test framework. Everything works fine until I enable code coverage for the web service dll in localtestrun.testrunconfig. Then, when I run the test, I get the result "Not executed". Could you give me an idea for this? Thank you ...

Apple Dashcode and Webservices

Hello All, I am developing my first Dashboard Widget and trying to call a webservice. But I keep on getting XMLHTTPRequest status 0. Following is the code var soapHeader = '<?xml version=\"1.0\" encoding=\"utf-8\"?>\n' +'<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"...

Session information in .net (asp and webservice)

Hi, I'm making a .net component, resulting in a dll assembly, that will be referenced by an asp.net site, and in another project by an asmx webservice. All code is version 2.0. The component has a few functions that call an external webservice, which returns an object. One of these functions is for example Login(username, password), wh...

Generate multiple clients with weblogic clientgen without iterate all them in ant build.xml

I use clientgen ant task shipped with weblogic to generate web-service clients. Currently I have one different clientgen statement for each wsdl. Is there any possibility do not iterate each wsdl? It will be perfect just set directory where all wsdl live for one clientget statement. ...

NullPointerException when trying to connect to web service using kSoap method Android

My web service should be returning an integer, but every time i run the code i get the NullPointerException error. Any ideas or help would be very appreciated Here's my code: public class CGCountTest extends Activity { TextView testTV; private static final String NAMESPACE = "http://passport-america.com/webservices/"; private sta...

Ship maritime AIS information API

Is there an API or Web Service that can be used to read AIS data? Most links I read starting at Wikipedia (http://en.wikipedia.org/wiki/Automatic_Identification_System) say that AIS data is freely available but I'm having a hard time finding a provider of the data. A C# example or language agnostic web service would be helpful. ...

Deserializing XML to an Auto-Generated Proxy Class

I'm trying to deserialize a parameter being passed into a web service call using XML Serialization. I am targeting the type of the proxy class that is generated by Visual Studio when referencing the web service. The deserialization appears to work except(no exceptions) yet none of the xml fields are mapped to their corresponding proper...

Web service accessing client database

Hello all! I am new to web services and i have a question: Should a web service be able to access the client database? Sorry if i am not using the proper terms. Lets say i have a web service method called : GetCarDetails(string name) which will actually return details from car table. in this method i have an sql statement like SELECT * F...

A scheme for expiring downloaded content?

I am going to offer a web API service that allows users to download and "rent" content for a monthly subscription fee. The API will either be open to everyone or possibly just select parties (not sure yet). Each developer must agree to a license, and they receive a developer key for their person. Each software application will have its o...

need to use custom classes instead of generated (by wsimport) in web-services

Hi, Could you, please, help with the following issue? When generate WS client code (with wsimport ant task), all classes are generated automatically in the same package (e.g. helloservice.endpoint) as web service, e.g. if my web-service has method public Node getNode(); so class helloservice.endpoint.Node is generated. Nevertheless, ...

How do i use web services as a source in reporting services

I am new to web services, How do i use web services as a source in reporting services. Thank you for help Kumar ...

Problem with Date type on CXF endpoint

Hi, I've configured a simple CXF endpoit with spring wich expose a simple object with a java.util.Date property. once remotely invoked with a .NET client the date property is always null. endopit: <jaxws:endpoint id="simpleService" implementor="cxf.base.SimpleServiceImpl" address="/SimpleService" /> .NET call: SimpleServiceClie...

Alternative to Ria Services

Hi I'm looking for another approach than use Ria Services with silverlight. We are using Silverlight 4 and .NET 4.0 Have someone make any nice solution with shared assemblies (maybe linked files so domain logic are spread). And maybe any nice framwork to make communicating with the wcf services in a clean way?? It would be really nice i...

Security when writing a PHP webservice?

I am writing a web service in PHP for the first time and had ran into some security problems. 1) I am planning to hash passwords using md5() before I write them to the database (or to authenticate the user) but I realize that to do that, I would have to transmit the password in plaintext to the server and hash it there. Because of thi...

how can i send resultset in JAX-WS

i am building a web service in java and my client is .net for example my table contains String "name",String "surname", and Integer "id" and i want to send all of them my question is, which type should the method return? ...

Voice identification for web apps

What libraries / projects is to identify / authenticating to web apps using the voice? ...

Ditching Django's models for Ajax/Web Services

Recently I came across a problem at work that made me rethink Django's models. The app I am developing resides on a Linux server. Its a simple model/view/controller app that involves user interaction and updating data in the database. The problem is that this data resides in a MS SQL database on a Windows machine. So in order to use ...

Using Active Directory Web Services in .Net application

Hello, I'm trying to build a .Net application to interrogate Active Directory. Edit: I need to use a Web Service to do this as I will be talking to AD from a Sharepoint Workflow using a third party workflow tool that requires the use of a web service. From my research, Windows 2008 R2 has Active Directory Web Services (ADWS) built in....

error working with wsdl files in visual studio 2008

Hi. I got a wsdl file in email. At first I didn't know how to use it. I've simply saved the file to my disk. Opened visual studio...added a service reference...provided path to file, and service was discovered. I opened the object browser to see the types and methods that got imported. I figure anything that ends with the name 'Client' i...

Zend Rest Client issue

Hi all i have the codes below class ReservationController extends Zend_Controller_Action { public function init() { } public function indexAction() { $this->_helper->viewRenderer->setNoRender(); $this->_helper->layout->disableLayout(); $soap = new Zend_Rest_Server(); $soap->setClass...