--deployScope "Session": what to expect

2002-05-09 Thread Ronald Hütter
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?

Problem Deploying Service via wsdd & AdminClient (NoSuchMethodError)

2002-05-09 Thread Alan Moore
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

axis servlet

2002-05-09 Thread Vadim Zaliva
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

Multiple Classes In JWS file

2002-05-09 Thread Ajit Varahala
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

Accessing avalysis services using Axis beta 2

2002-05-09 Thread Jabali Putrevu
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

RE: stateful service example (no cookies)

2002-05-09 Thread Glen Daniels
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

?WSDL and WAR files Bug

2002-05-09 Thread robert woodley
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

Passing String Array as Parameter and returning void

2002-05-09 Thread Vaishakhi Ajmera
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 signatures

2002-05-09 Thread Dan Chisholm
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

RE: Authentication and digital signatures

2002-05-09 Thread Naresh Bhatia
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

RE: Clarification about ServiceLifecycle (part2) ?

2002-05-09 Thread Glen Daniels
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

Re: Authentication and digital signatures

2002-05-09 Thread Dan Chisholm
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.

RE: Authentication and digital signatures

2002-05-09 Thread KUMAR,PANKAJ (HP-Cupertino,ex1)
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