web-services

Web Service to connect to an API and get the response back from the API

This is a general Programming question I'm new to Java Web services programming using Apache Axis and JAX-RPC. We need to build 2 components,a App engine (Shopping cart, Payment Gateway integration etc..) and a UI Control Panel over an existing API. The API understands only XML.How we must communicate with the API? link text We have ...

Debugging Question - VS 2008 web services on Cassini

I'm testing a web service in Visual Studio, and stepping through using the debugger. Then I click stop debugging. This stops the debugging session, but the program continues to run like a runaway train. Is this a "bug" or a "feature" of Visual Studio 2008? If it's a feature, how can I tell Visual Studio to halt execution when I click...

Zend_Rest_Server doesn't invoke class method

I am trying to Build a basic app, 2 PHP files, one using Zend_Rest_Server, the other - Zend_Rest_Client. Here is server code: class test1 { public function test() { return "mytest"; } } include_once ("common.php"); set_include_path('.' . PATH_SEPARATOR . '..\..\library/' . get_include_path()); require_once 'Zend/Load...

How to call webservice using same credentials as Sharepoint?

Is it possible to do a webservice call from within an Excel sheet that has been downloaded from a sharepoint server, using the same credentials as the ones that are used for accessing the Sharepoint server? We're currently developing an Excel solution, which does webservice request from within the Excel sheet. This works fine, but the u...

Asp.net web-service being consumed by Java, and windows integrated authentication

So I created a web-service for a co-worker to consume, but his department is using Java where everything my department is in .NET. On top of that we have Windows Integrated Authentication turned on in our IIS server. Is there some type of Java library/framework that provides windows integrated authentication credentials to Java clients...

How to Fetch Data From a WebService in iPhone?

I have to develop an application which includes following things, => Make a request to the Web Service through an iPhone... => fetch Data from web service... I have never used an web service to develop iPhone application. But i know what is web service. The example of web service is given below. a snapshot ...

Drawbacks to using Lift (Scala-based framework) for webservices?

I have been working on a project and as I have just started on the webservice I found Lift has been released, so I am curious if there will be much more complication by using Lift over Jax-WS using JDK6. I am doing this with the Eclipse IDE, but I don't know if I will get much benefit from the IDE on this project. ...

ASMX Web Services + Active Directory question

I have a client that calls a web service that then hits AD to get information. Recently i started to have the following behavior. after a long wait or a IISReset, the Client calls the web service, the web service shows the call, starts to DirectoryEntry.RefreshCache();. (Which is inside a try catch that should log any exceptions) Then...

Is there a testing tool to test a C# .net web service that contains complex types?

I have built a C# .net web service that takes a complex type as a parameter. Is there a testing tool that I can run against my web service and pass all of the values to the complex parameter type? Some background info: I ran the xsd.exe tool against my XSD and have created a .cs class. This .cs class has the dataset that is used as my...

WCF calling WSE 2.0 WS-Security service with inline security tokens in the response - "Cannot find a token authenticator"

I have a web service in .NET 1.1 and WSE 2.0 that uses WS-Security with x509 certificates for both signature and encryption. I'm trying to configure a WCF client to connect with this service, and it's proving more challenging that I had expected. I've gotten past most of my versioning issues by using a custom binding, but I'm stuck on ...

How does crossdomain data access work?

I'm using JQuery to make a JSON request to access data on a private server. I've noticed however that I get this message when attempting to access the data: Security Error: Content at xxxxxxx may not load data from xxxxxxx. Looking at the JQuery reference I see it's accessing: http://api.flickr.com/services/feeds/photos%5Fpublic....

iPhone interaction with ASP.NET WebService

I have to develop an application, which will request to a web service developed in ASP.NET. I don't know, what is the code of creating a request to asp.net web service, How asp.net web service will respond to iPhone Application? How iPhone will parse that response to proper way? I have already read this question http://stackoverflow...

Page change notification via RSS for a POST page

Are there any web services that can return an RSS feed for a page that must be requested with a POST? Page2RSS.com or something like it generally works very well for this but they only work with GET requests. The website I am trying to turn into an RSS feed really should probably use GET instead of POST in the first place. Alternatively ...

C++ return values for Web Service

Hi: I have some .dll native C++ programs which mainly return int/double values, array structures and string values. These values should be taken by a Web Service program made in C#. I would like to know if it is really necessary to modify my C++ programs and adapt to Web service, i.e. return values such as a XML string/file together wi...

free web hosting service that allows listening at undesignated ports

I'm writing an android based app wherein the app is the client and connects to a server that I will run. This server will be created using a java serverSocket and will listen at an undesignated port say 4444 for Android clients. Basically I'm looking for a free web hosting service that will allow me to create sockets to listen at undes...

Can Console Output in a Web Service Operation be Visible on the Client Console?

I have a console application that's calling a web service method. In the web service method, I am using System.Console.WriteLine, but its getting ignored. How can I give feedback to the console application from within my web service method? ...

netbeans and producing a web service best practice w.r.t dto's

I am just starting to use netbeans and web services and I want to implement a web service with netbeans and glassfish from an existing wsdl with standard netbeans short cuts. The dto's are generated and placed in a a source directory in the web project (it must be a web project). Is there a way I can change this generated source code d...

WCF IList Serialization Issue

I have an object that has a generic IList in it that is being returned from a WCF web service method: [DataContract(Name = "PageableList_Of_{0}")] public class PageableResults<T> { [DataMember] public IList<T> Items { get; set; } [DataMember] public int TotalRows { get; set; } } [OperationContract] PageableResults<Conte...

In WCF is there a way to set ServiceContract Namespace assembly-wide?

In WCF land, you can specify a Namespace prefix for anything that has a [DataContract] like so: [DataContract(Namespace="MyApp")] public class whatever... However if you wanted to apply a common namespace to ALL data contracts assembly-wide, you can use the ContractNamespaceAttribute: /* in AssemblyInfo.cs */ [assembly: ContractNames...

Does redirecting a web service URL have any effect on the web service?

Let's say a client gave me this URL to access a webservice to GetQuotes: http://www.somecompany.com/services/myservice.asmx If I tried to access the web service and I get redirected to: http://new.location.somecompany.com/theservice.asmx Will this affect the ASP.NET client calling this web service? Where both service URLs have the e...