I expected, that if I deploy the service with the above
option, the constructor of the xxxImpl class would be called
only once per session. In fact I don't see any difference
compared to "Request" scope. Am I on the wrong track? How
can I instantiate a class as a session singleton?
All,
According to earlier posts the problem I am experiencing is related to Axis
not being able to find certain classes.
For example, a previous poster was using Java 1.4.0 and the ENDORSED_DIRS
was not pointing to the Axis jars. I was using Java 1.4.0 also and tried in
vein to change setclasspa
Hi!
I have web application which consists of several servlets sharing some
context (there they keep state). Now I am trying to add web service
interface to it using AXIS. In scenario where AXIS is deployed as
separate web application (I am using Tomcat4) it is difficult to
organize communicat
Title: Multiple Classes In JWS file
Hi ,
I am a new user of axis and I would like to know if a .jws file supports multiple classes. For example I have
public class A{
public A(){
}
}
class B{
public void methodB(){
A a = new
Hello,
I wrote the small program using latest Axis beta 2
to find datasources in OLAP server. I am able to compile, but when I run I get
Deserializer exceptions.
import java.io.*;import java.util.*;import
java.net.*;import javax.xml.rpc.ParameterMode;import
javax.xml.rpc.namespace.QName
Hi Andrew!
When you set "scope=session" on a service, the JavaProvider will actually use the
Session object that is associated with the MessageContext to store the service object
(under the service's name - so you should actually be careful not to overwrite it if
you use the Session in your o
In theory, when you append ?WSDL to the service URL
and do an HTTP GET you get the WSDL for the service.
However, if you're using WAR files, this doesn't work.
I have looked at the code in AxisServlet.doGet() and
found that this is by design, i.e. there are these
lines:
String realpath =
context
This is how I am making a String array
String[] str = new String[1];
str[0] = "2";
I am passing this array to a webservice method. My client call is as follows
Call call = (Call)_service.createCall();
call.setTargetEndpointAddress( new java.net.URL(_endpoint) );
call.setOperationName( "remo
RE: Authentication and digital signaturesNaresh,
"It appears that these classes don't exist in Axis beta 2. The equivalent is
probably:
org.apache.axis.client.Call.setUsername(uid);
org.apache.axis.client.Call.setPassword(password); "
The examples from the book come bundled with an Alpha
Title: RE: Authentication and digital signatures
Dan,
Thanks for all this wonderful information. I downloaded the examples and have couple of questions about basic authentication.
Example 1 sets that username and password as follows:
org.apache.axis.client.ServiceClient.set(MessageCon
Hi Andrew!
Sorry I wasn't more precise. Yes, it's a transport-specific property that gets set by
the AxisServlet. In particular, it can be retrieved with:
((HttpServlet)msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLET)).getServletContext();
In answer to your second question, you just hav
Authentication and digital signaturesNaresh,
Basic Authentication and SSL can be handled directly by your web server.
The following are links to the relevant Tomcat How-To.
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.
Hi Naresh,
You may find the following sketchy description helpful:
Authentication is about proving to someone that you are who you claim to be.
In PKI world, this would mean possession of the private key corresponding to
a X509 certificate having the public key issued by a well known CA. Usual
13 matches
Mail list logo