ws

Ant WSGEN WSDL generation - include WSIT policy definition

Hi, I'm using the WSGEN Ant task to generate a WSDL from a service class. The task runs fine and generates the required WSDL. The problem I'm having is trying to get it to incorporate the WSIT policy definition at the top of the WSDL. When I deploy the service in Netbeans (i.e. not using Ant to handle WSGEN), Netbeans generates a WSDL ...

Java WS Authenticator Problem

Hi all, at the moment I am struggling with a bug in Sun's class 'java.net.Authenticator'. It seems that the Authenticator class has a system wide static Authenticator. This results in the following problem in my multi-threaded application. Thread 1 - Authenticates for User 1 Thread 2 - Authenticates for User 2 Thread 1 - Executes the c...

How to serve files and html directly from a WCF-service similar to an ASHX-handler?

Im writing an install and update-server for an intranet-application and I want the user to be able to install the app directly from a url such as: http://domain.local/myapp/install.exe where this request is handled by my service. I also would like to be able to serve some basic HTML on for instance http://domain.local/myapp/status.html ...