Re: Reusing SSL-sessions...

2002-07-05 Thread Niclas Hedhman
On Thursday 04 July 2002 23:50, Sanjiva Weerawarana wrote: > You should just re-use the Call object to hold a session. See > the addressbook2 sample for an example. And I assume that if you don't do a call within a reasonable time period, it will timeout the connection. Niclas -- To unsubscrib

Re: Execution error while running SOAP request

2002-07-05 Thread Scott Nichol
You may want to try this message on [EMAIL PROTECTED], as that package uses Axis, not Apache SOAP. Scott Nichol - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 04, 2002 9:41 AM Subject: Execution error while running SOAP request > hi, > > whe

execution error while running SOAP client-server

2002-07-05 Thread KavithaK
Hi, i am trying to access a SOAP service from the WAS3.5 server. i have a server program as follows - public class HelloServer { public String sayHelloTo(String name) { return ( name + new String("hello")); } } }

HELP: SOAP SSL PROXY-problems

2002-07-05 Thread Amazing Arny
Hi, I got a working SOAP-service over SSL without client-certificates. Now I'm trying to connect to the service trough a proxy with the next code: System.setProperty("https.proxyHost",""); System.setProperty("https.proxyPort","80"); I keep getting the next error: [SOAPException: faultCode=SOAP-

Re: HELP: SOAP SSL PROXY-problems

2002-07-05 Thread Niclas Hedhman
Version of JDK??? On Friday 05 July 2002 15:55, Amazing Arny wrote: > Hi, > > I got a working SOAP-service over SSL without client-certificates. Now I'm > trying to connect to the service trough a proxy with the next code: > System.setProperty("https.proxyHost",""); > System.setProperty("https.

Re: SOAPException: faultCode=SOAP-ENV:Client

2002-07-05 Thread Scott Nichol
Niket, Are you certain that there is not a different soap.jar in any of the directories Tomcat loads classes from? With Tomcat 4.0, you do not need to change catalina.bat in any way, nor do you need to copy and SOAP jar or class files to any place other than a directory under Tomcat's webapps di

Re: execution error while running SOAP client-server

2002-07-05 Thread Scott Nichol
The class file for your service (hello.HelloService) must be available to a WAS class loader. I am not familiar enough with WAS to know how to set this up. Scott Nichol - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 05, 2002 6:47 AM Subject: ex

Re: HELP: SOAP SSL PROXY-problems

2002-07-05 Thread Niclas Hedhman
On Friday 05 July 2002 16:52, Amazing Arny wrote: > Hi Niclas, > > Java: 1.3.1_02 > JDeveloper: 9.0.2.788 > OC4J: 9.0.2.0.0 And in JDK < 1.4, I think you need to install Java SSL extension, which is part of the JDK 1.4 distro. Niclas -- To unsubscribe, e-mail: For

Re:

2002-07-05 Thread Scott Nichol
Apache SOAP does not use saaj-api.jar, jaxm-api.jar, commons-logging.jar, while Axis does. If you don't know, Axis is pretty much Apache SOAP 3.0, but it is run as a separate project. (http://xml.apache.org/axis). Scott Nichol - Original Message - From: <[EMAIL PROTECTED]> To: "Scott N

Re: Reusing SSL-sessions...

2002-07-05 Thread Scott Nichol
I would think any timeout would be set on the server, specifically a session timeout, the length of which is probably configurable. Scott Nichol - Original Message - From: "Niclas Hedhman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 04, 2002 9:32 PM Subject: Re: Reus

Re: Reusing SSL-sessions...

2002-07-05 Thread Sanjiva Weerawarana
Did you mean to say "timeout the connection" and not "timeout the session"?? If you did mean it, you're mixing session support and keep-alive support. Apache SOAP does not have keep-alive support, but it does have HTTP session support. What I described is the mechanism to use HTTP session support

RE: Reusing SSL-sessions...

2002-07-05 Thread Leif Nilsson TACMa
Sanjiva.. I got that! I was talking about SSL-sessions (not HTTP-sessions). If the correct term is connection or not I don't know. But if you look at JSSE - they talk about SSL-sessions. If you look at SSL-specs they also talk about SSL-sessions. Below it all we have TCP ... What I wanted to ac

Re: COMProvider patch and ssl question

2002-07-05 Thread Scott Nichol
SSL-question == I use Java 1.4.0 and Apache soap 2.2 Furthermore I use https with client and server certificates. If I call repeatadly it seems that the client just loose the connection now and again. As this happens the call takes "0" seconds as supposed to the normal 2-5 seconds.

Re: Reusing SSL-sessions...

2002-07-05 Thread Scott Nichol
Is there a way to reuse the SSL-session for several SOAP-Calls ? As I've stated before it seems that soap over SSL sooner or later just fails. By activating the system property javax.net.debug (JSSE) it is clear that two independant sessions are created for each Call/SOAPHttpConnection. <<

Re: Reusing SSL-sessions...

2002-07-05 Thread Scott Nichol
Here are some results I got looking into SSL sessions. Using JDK 1.3.1_01 with JSSE 1.0.3 on Win2k, I changed the SSLSocketClient sample to loop 10 times. I ran the app with -Djavax.net.debug=ssl,handshake,session. The debug output showed that a total of 6 sessions were created to perform the 1

Re: Reusing SSL-sessions...

2002-07-05 Thread Niclas Hedhman
On Friday 05 July 2002 23:39, Leif Nilsson TACMa wrote: > It might very well be that I have to study the server configuration. > As I use it at the moment (one new fresh SSL-session for each call) > I don't see how it comes in to play however. No wonder you said "a bit slow" in the private email

Re: COMProvider patch and ssl question

2002-07-05 Thread Niclas Hedhman
On Saturday 06 July 2002 06:05, Scott Nichol wrote: > Furthermore I use https with client and server certificates. > If I call repeatadly it seems that the client just loose the connection > now and again. As this happens the call takes "0" seconds as supposed > to the normal 2-5 seconds. The re