Error updating axis deploy wsdd
Someone asked me how they could turn on NT Authentication for web service using Apache Axis (the web service used by Cold Fusion).By default Axis uses its own HTTP client code, org.
The first thing you need to do, is to find a way to create a certificate that can be used with both WSS4J and WSE 3.0. Hello Erlend Can you send your example of PWCallback class with some comments like which key you need to insert into soap Header. The deployment process automatically sets the permissions of the By default, a service is initialized on the first invocation of a method in that service.However, there are frequently times when a service needs to run some time-consuming, global initialization.It gets found on the classpath and generally you don't actually have one and the one built in to gets used. To switch Axis to use the HTTPClient jar, you would change this: Once you have this code configured, Axis will use the HTTPClient library for it HTTP needs. BUT switching the line in the file alone doesn't do the trick if you are talking to a Cold Fusion web service.Since the HTTPClient library supports NT Authentication, you just set the username/password on the Stub object as you would normally do for (say) Basic Authentication and it will just work. Talking to a Cold Fusion web service via Apache, you will get an "411 - length required" error back that looks like this: The Apache JRun connector doesn't allow chunked encoding without a content length (generally true for all general pupose connectors, including mod_python) and the Commons HTTPSender class in Axis does not provide a content-length. In this situation, it is better to have the service initialize when the container starts, so as to not impact the performance of the first method invocation.
To have the service initialize on container starup, add the following to your descriptor: , during container startup.
So I want to use my web service automatically without having to explicitly run an Admin tool to deploy it to Axis.
The integration guide that comes with Axis says that by default the engine looks for a WEB-INF/file. Deployed it in my app server (Resin 3.x) and I get a SOAP service not found.
Both mechanisms trigger actual activation by looking up the Resource Home in the JNDI directory.
This initial lookup causes a proper Message Context and/or JAAS subject to be associated with the current thread, instantiation of the object implementing the Resource Home and, if the Resource Home implements the setting of the service dictates when and how service instances are created.
As you can see I have specified which algorithms to use for the session key and ecrypted session key (RSA15 and AES128).