web-services

Is it possible to test stateful web services with SoapUI?

What do you use as a test client for your stateful web services? Is it possible to use SoapUI? Are there best practices in this area? ...

JAX-RPC, Spring web services, and UnsupportedOperationCallException

I have a JAX-RPC web service that I am attempting to consume using Spring. This is my first time using Spring to consume a web service, so right now I'm just trying to get it to integrate with the JAX-RPC web service as a test. The web service has several dozen operations in it, but for right now I only care about one. Here are the inte...

Where the deploy files goes for .NET Web Service running inside Visual Studio?

When I use my browser to test my web service, it opens at http://localhost:4832/ -- where can I find its files physically on my drive? Update I do not want to know where the files of my VS.NET solution are located but where I should put the files of the web service... the .asmx, .dll and other files that I will install for the real web...

Sabre web-services DepartureWindow format.

Do you know what's the format of the DepartureWindow parameter for sabre web-services' OTA_AirLowFareSearch call? Whatever I pass, it shows me an error. This is the entire documentation for those parameters (I kid you not): <!--"DepartureDateTime" represents the date and time of departure.--> <DepartureDateTime>2004-11-22T15:00:00</Dep...

Converting a fairly simple C# Class library into a COM object ?

Here's my problem: I have to call a web service with a secure header from a classic ASP page that returns a complex data type. For various reasons concerning a 3rd party tool it has to be classic ASP. We decided that I should create an external dll to do this - which I did (in c#) so it returns a dataset (Something ASP can understand)...

Consuming a web service in Java

I have a very simple soap web service that I need to consume from a Java client. What is the easiest way to accomplish this without using any third party libraries? A requirement is that the host anhd port is read from the web.xml before every call to the ws. ...

Best Practices for Building a SSO System

I am looking to build a Single-signon system for a couple web apps that used form based authentication. They way that I envision it is that my sso system would handle authentication against active directory pass the verification through to the desired web app when ever the used clicked a link through my sso portal. What might be the b...

Web service variable shared for the lifetime of the webservice?

How can I make a variable (object) available for the whole lifetime of the webservice? Static variable seem to work but is there an other way to do it? ...

Why are file uploads via Silverlight 2 limited to only .TXT files?

I have a Silverlight 2 app that sends a byte array to a Silverlight-enabled WCF service. However, (unless I try to upload a .txt file) the service's SaveFile() method is never reached and I get an error: "The remote server returned an error: NotFound" Am I missing something really obvious? Why can't I upload .doc files? Why only .txt...

Stateful PHP Web Service Using SOAP

I'm trying to implement a stateful web service in PHP using the SOAP extension. (Yes I know that web services are supposed to be stateless; all I really care to persist is some form of a session ID so I don't need to authenticate with every call to the service). PHP.net's API documentation is somewhat lacking on this, and there isn't mu...

How do RESTful and SOAP Web Services differ in practice?

I am implementing web services for a PHP application and am trying to understand what both standard web services and RESTful web services have to offer. My intent is to write wrapper code to abstract away the web service details so that developers can just "instantiate remote objects" and use them. Here are my thoughts, perhaps some of ...

JAXM soap message parsing

I am getting the following XML back from a .net service: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt; <soap:Body> <validateCred...

Best way to pass an array from JavaScript to C#?

I need to pass an array from JavaScript to a page method in C#. I have tried using a parameter in the C# method of IList and also a string[] array. Both ways throw an exception "cannot convert an object of type system.string to xxx", where xxx is the parameter type in the C# method. I am passing the object from jQuery as a json object, a...

Long Transaction Time Solution for JEE?

A problem I've encountered a few time in my career is in a tiered service architecture a single downstream system can bring down the entire client application if it gets into a state where all its threads are consumed on a deadlock or some sort of infinite loop bug in that system. Under these conditions the server socket on the JEE serve...

Which framework is better CXF or Spring-WS?

I am in the process of researching/comparing CXF and Spring-WS for web services? I need to function both as a provider and a consumer of WS. In a nutshell, I have been told that Spring-WS is more configurable, but CXF is easier to get up and running. This question is subjective, but will help direct me in my research. What experience d...

Stress testing a web service method with Powershell

I want to stress test a web service method by calling it several thousand times in quick succession. The method has a single string parameter that I will vary on each call. I'm planning on writing a Powershell script to loop and call this method a number of times. Is there a better way to do this? ...

Cosuming web-service with JAX-WS

I need to be able to read the host name and port from the web.xml file before every call to the ws. So how can I do this in JAX-WS or isn't it possible? ...

SOA - What Internal Web Service Did Your Company Implement First?

What internal web service did your company implement first? What did you learn? ...

How to call web service with Android

I am having a lot of trouble finding good information on how to call a standard SOAP/WSDL web service with Android. All I've been able to find are either very convoluted documents and references to "kSoap2" and then some bit about parsing it all manually with SAX. ... Ok, that's fine but it's 2008 so I figured there should be some good l...

Does jQuery's $.ajax() function handle ASP.NET authentication correctly?

I have a web app protected by ASP.NET Forms Authentication. The site uses jQuery's $.ajax() functionality to call a web service in the same app. Browsing to the web service .asmx does cause forms authentication to kick in and I once authenticated and make a $.ajax() call to the server I also see the ASP.NET session cookie and forms aut...