Re: apache, axis, proxypasses, and firewalls.

2003-06-25 Thread Barry Levinson
We're using a similar configuration with apache proxy passing to tomcat. We've added endpointURLs to each service definition https://url.server.com/axis/services/api/myClass This causes axis to disregard the incoming url when generating WSDLs. --Barry Shah, Soniya M. wrote: We use Apache web se

Re: Session Scope

2003-02-20 Thread Barry Levinson
Yes, you need to allow cookies to be stored. See archives of this list for a more in depth answer. --Barry Almeida, Timothy wrote: I'm attempting to deploy a simple 'hello world type' service to run in "session scope", but it doesn't appear to be working. ('request' & 'application' scope setti

Re: Axis vs. IBM WSTK vs. Sun Java WSDP

2003-02-12 Thread Barry Levinson
Doesn't IBM WSTK use Axis? Isn't Axis distributed with WSTK? --Barry Anne Thomas Manes wrote: Sun's implementation is not open source. It is a reference implementation. The source is available, but it isn't open source. It is subject to Sun's source license. The original Apache SOAP project i

Re: Session Management

2003-01-31 Thread Barry Levinson
Cory, First, on your server, set scope to session in your deploy.wsdd. The client will also need to cooperate with session scope; the client needs to hold onto the cookie returned by Axis. For a .NET client, the client must be able to accept a cookie. All you need to do is to add a CookieCont

Re: Stateful Web Services

2003-01-15 Thread Barry Levinson
In addition to session scope, there is application scope. With (Bapplication scope, one and only one instance of a class is created. (B (BIf you where to use application scope, you would not need to set (Bmaintain sessions to be true. (B (BHowever, in the example of a bank account, you would

Re: Stateful Web Services

2003-01-15 Thread Barry Levinson
Maybe I'm missing something, but it seems this is really a simple (Bquestion with a simple answer. (B (BHere's the original question : (B (BFor example, can I create a "bank account" web service, which supports (Bdeposit(), withdrawl() and getBalance() operations, and have that web (Bservice

Re: AW: Deploying the client

2002-12-13 Thread Barry Levinson
To work with session scope in a .NET client, the client must be able to accept a cookie. All you need to do is to add a CookieContainer to your service client class. Use the following code (C#) : some.url.of.service.someService myService = new some.url.of.service.someService() ; myService.Coo

Re: testing axis with tomcat and 100 concurrent users

2002-12-12 Thread Barry Levinson
cat but it continues failing. It worked fine the first time I run the test with 100 clients and the just hang up the next times. No message in the log... what can it be? thanx Ernesto "Barry Levinson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL P

Re: testing axis with tomcat and 100 concurrent users

2002-12-11 Thread Barry Levinson
Sounds like you may have run out of tomcat processors. What does your tomcat server.xml configuration look like? Are you using org.apache.catalina.connector.http.HttpConnector as a connector, and if so, what do you have maxProcessors set to? (it should probably be > 100 for you test). --Barry

Re: Selectively exposing overloaded methods.

2002-12-03 Thread Barry Levinson
Not being able to selectively expose overloaded methods also is a problem for me. I have three methods (simplified for the list): void setHostID(BigHost ID) void setHostID(SmallHost ID) void setHostID(String ID) BigHost and SmallHost are not exposed via Axis. They show up as type="s:anyType"

Re: Turning off Basic Auth

2002-10-29 Thread Barry Levinson
The basic auth is turned on in the deploy.wsdd file by the addition of request flow simple authentication and authorization handlers. Simply remove these lines from the deploy.wsdd file : --Barry Frank E. Weiss wrote: I'm doing some web services development with Axis 1.0,

commons.httpClient package

2002-10-10 Thread Barry Levinson
Is it true that to build Axis v1.0 you need a non-released nightly drop version of httpcommons ( latest CVS version)? Anyone know of a workaround? It will be difficult for me to justify using an unknown version of httpcommons in production code. Thanks, --Barry

RE: Enabling .NET client to maintain session with Axis web service

2002-07-15 Thread Barry Levinson
You should be abe to simply set the CookieContainer member of your .NET web service client stub class to a new System.Net.CookieContainer() like : ws.CookieContainer = new System.Net.CookieContainer() ; Then .NET will maintain the session for you. --Barry -Original Message- From: Nares

RE: Strange bug: Axis in Tomcat 4.0.4 and .NET

2002-07-02 Thread Barry Levinson
s/rfc2616/rfc2616-sec14.html#sec14.23 I wonder what the chances of getting MS to fix this are? Anyone know who to email a bug report to? --Barry -Original Message- From: Barry Levinson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 2:34 PM To: [EMAIL PROTECTED] Subject: RE: Strange b

RE: Strange bug: Axis in Tomcat 4.0.4 and .NET

2002-07-02 Thread Barry Levinson
stubs. For now, I'll use < 4.0.4 tomcat. BTW - is this list moderated? Why do my emails seem to have a 3-6hr delay? --Barry -Original Message- From: Barry Levinson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 11:21 AM To: [EMAIL PROTECTED] Subject: RE: Strange bug: A

RE: confused about cookies

2002-07-02 Thread Barry Levinson
from within a handler, the session can be retieved using : public void invoke(MessageContext msgContext) throws AxisFault { Session session = msgContext.getSession(); --Barry -Original Message- From: Alexander Lyubshav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 11:3

RE: confused about cookies

2002-07-02 Thread Barry Levinson
After enabling session scope, you will need the client side code to use the session from the returned cookie. On the client side, add a call to setMaintainSession(true) when using the WSDL2Java client stubs : YourCodeServiceLocator servLoc = new YourCodeServiceLocator() ; YourCode

RE: Strange bug: Axis in Tomcat 4.0.4 and .NET

2002-07-02 Thread Barry Levinson
>From running tcpmon, it looks like Visual Studio .net doesn't specify the correct URL in it's HTTP Host: line. Instead of specifying "Host: localhost:8081" it specifies "Host: localhost". This is probably why the wsdl comes back with the incorrect url. I'm running tomcat 4.0.3. I'll download T

RE: Deploy Error

2002-06-26 Thread Barry Levinson
Santosh,   Try using :   java org.apache.axis.client.AdminClient -lhttp://localhost:7080/axis/services/AdminService deploy.wsdd   --Barry -Original Message-From: santhosh [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 26, 2002 3:01 AMTo: [EMAIL PROTECTED]Subject: Deploy