Axis 1.4 Http Session not destroyed

2007-02-05 Thread Clarence Dahlin
I've been profiling my web service and is stuck on why the Axis-made HttpSessions aren't destroyed and garbage collected. The web service itself, which looks to be added as an attribute to the session, is destroyed along with everything it refers to when it enters my http listener (destroy

Re: Reading properties files from AXIS

2006-11-29 Thread Clarence Dahlin
I use the ServletContext to locate properties files, like this HttpServlet srv = (HttpServlet) MessageContext.getCurrentContext ().getProperty( HTTPConstants.MC_HTTP_SERVLET); ServletContext context = srv.getServletContext(); InputStream is =

Re: axis 1.4 performance tuning

2006-11-28 Thread Clarence Dahlin
Are those 3,4 transactions initiated from one client only, synchronized? If the XML (SOAP) that you send is very large, maybe that would limit performance. XML Parsing is expensive. /Clarence On 11/27/06, Frederick N. Brier [EMAIL PROTECTED] wrote: Xucai, Are you running Axis within Tomcat,

Re: axis 1.4 performance tuning

2006-11-27 Thread Clarence Dahlin
Out of curiousity, how many transactions/second do you have right now? On 11/27/06, xu cai [EMAIL PROTECTED] wrote: hi all, does anybody has idea on how to improve the # of transaction/second on axis 1.4 ? thanks xucai

Re: Axis - Session Timeout Listener

2006-11-16 Thread Clarence Dahlin
You could try using the AxisHTTPSessionListener or javax.servlet.http.HttpSessionListener. It has a sessionDestroyed(), where you should be able to tell your other objects that the session is destroyed. I do it something like this: public void sessionDestroyed(HttpSessionEvent

Re: Document literal Wrapped in wsdd

2006-09-05 Thread Clarence Dahlin
I use for Apache Axis 1.xservice name=myService style=wrapped use=literal/ClarenceOn 9/5/06, HHDirecto. Net [EMAIL PROTECTED] wrote: I want use document literal wrapped in wsdd.I read documentation but I don't understand. http://www.oio.de/axis-wsdd/service.htm Is correct this wssd

sessions frameworks interoperable

2006-02-22 Thread Clarence Dahlin
Hi, >From my research on the web, the topic about sessions in web services seems to generate quite alot of questions but not alot of answers. I know that Axis 1.3 handles session IDs well in the Soap Header with the SimpleSessionHandler but I need to know if there is an interoperable way of

Re: SimpleSessionHandler and namespace

2006-01-27 Thread Clarence Dahlin
namespace and need to create elements in my own namespace. If it is possible, I do want the frameworks to handle the session, alas the question about SimpleSessionHandler. Please help me, I'm really struggling with this problem. kind regards, ClarenceOn 1/19/06, Clarence Dahlin [EMAIL PROTECTED

Re: Bug in Axis 1.3, base64Binary?

2006-01-23 Thread Clarence Dahlin
, ClarenceOn 1/16/06, Clarence Dahlin [EMAIL PROTECTED] wrote: Thank you Davanum. So many other things got in between so I didn't try this until now. It worked. I thought I'd post this so anyone else having the same problem knows it could solve their problem too. kind regards, ClarenceOn 12/21/05

SimpleSessionHandler and namespace

2006-01-19 Thread Clarence Dahlin
Would it be possible to change the namespace which is referenced to when using the SimpleSessionHandler? Namspace ns1 below is what I'm talking about. ?xml version=1.0 encoding=UTF-8? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/

Re: Bug in Axis 1.3, base64Binary?

2006-01-16 Thread Clarence Dahlin
instead of type?On 12/21/05, Clarence Dahlin [EMAIL PROTECTED] wrote: WSDL style is document/literal wrapped by the way. On 12/21/05, Clarence Dahlin [EMAIL PROTECTED] wrote: I've come across a somewhat puzzling problem. Could this be a bug or what am I doing wrong? I'm using Axis 1.3 final

Tomcat/Axis Service and .NET C++ Client

2005-12-02 Thread Clarence Dahlin
I'm going totally insane, trying to get a C++ client to work with an Axis service. I've tried several ways of creating proxies or stubs for C++ but nothing works. The Visual Studio .Net client has had most success since it sends a request and Axis sends a response. From what I can see, both the

Invalid Address error

2005-11-30 Thread Clarence Dahlin
Hi, Does anyone know what I could try to fix this error? HEAP[HelloAxisCpp.exe]: Invalid Address specified to RtlFreeHeap( 0037, 10080F0C ) I have a simple hello service (document/literal wrapped) running under Tomcat/Axis and I successully generated the cpp stubs with wsdl2ws. I had

Re: Invalid Address error

2005-11-30 Thread Clarence Dahlin
Axis Java which I believe that I need to use wsdl2ws, right? On 11/30/05, John Hawkins [EMAIL PROTECTED] wrote: When you say Axis 1_2 do you mean axis java or axis C? Clarence Dahlin [EMAIL PROTECTED] 30/11/2005 09:42 Please respond to Apache AXIS C User List To axis-c-user

Re: Invalid Address error

2005-11-30 Thread Clarence Dahlin
Axis C 1.5 Final I think, installs in C:\axis\axis-c-1-5-win32 On 11/30/05, John Hawkins [EMAIL PROTECTED] wrote: k, yes - just checking :-) I didn't ask what version of axis C ? Clarence Dahlin [EMAIL PROTECTED] 30/11/2005 10:06 Please respond to Apache AXIS C User List

Re: Invalid Address error

2005-11-30 Thread Clarence Dahlin
on to the twenty questions about the wsdl and service - Is it rpc or doc ? At runtime - is your configuration file being found (do you have one?) Do you have xerces in your path - what version? Clarence Dahlin [EMAIL PROTECTED] 30/11/2005 11:25 Please respond to Apache AXIS C User List

Re: Invalid Address error

2005-11-30 Thread Clarence Dahlin
How do I verify that the conf file is found by the way? On 11/30/05, Clarence Dahlin [EMAIL PROTECTED] wrote: I actually had one of those answers in my initial e-mail :-) I have a document/literal wrapped service running under Tomcat/Axis. However I seem to have missed xerces in my path. Would

Strange numbers in the HTTP Response

2005-11-15 Thread Clarence Dahlin
I've almost only used Axis for both client and server, but I also need to verify that my service works with Visual Studio and other toolkits. I receive a somewhat puzzling HTTP Response when I've called the service on Axis from a C# client in Visual Studio .NET. I'm not getting the connectReturn

Re: Strange numbers in the HTTP Response

2005-11-15 Thread Clarence Dahlin
seem to have any effect on the clients, which work perfectly. Richard. Clarence Dahlin wrote: I've almost only used Axis for both client and server, but I also need to verify that my service works with Visual Studio and other toolkits. I receive a somewhat puzzling HTTP Response when I've called

Re: base64Binary and simpleType problem

2005-11-01 Thread Clarence Dahlin
awhile back, which would have caused this problem: since then I'veforgotten what solved it, but I know I switched from Axis 1.2rc3 to1.2.1. Chris-Original Message-From: Clarence Dahlin [mailto:[EMAIL PROTECTED] ]Sent: Monday, October 31, 2005 06:22To: axis-user@ws.apache.orgSubject

base64Binary and simpleType problem

2005-10-31 Thread Clarence Dahlin
Hi, Does anyone know why I get this error when I try to parse a byte[] in one of the following cases but not the other? org.xml.sax.SAXException: Found character data inside an array element while deserializing I have a xsd with this simple type: xsd:simpleType name=userSuppliedTag

RE: Session handling, do it yourself?

2005-09-20 Thread Clarence Dahlin
I'm also considering the approach where I handle the sessions myself as parameters to the operations. I've been told that it would be more scalable and somewhat faster to let the soap toolkits handle sessions in soap headers. So far, I've been sceptical to this approach for the same reasons as

SOAP header sessions

2005-09-12 Thread Clarence Dahlin
Are there any interoperability issues, between Axis and other popular environments like .NET, Weblogic etc, concerning sessions in the SOAP header Ive been searching the web for an answer without success. Regards, Clarence

Session management

2005-09-07 Thread Clarence Dahlin
Hi, Im thinking about the best way of handling sessions for the project Im working on. I know that most (all?) toolkits handle sessions in the SOAP Header. Correct me if Im wrong. In spite of this, my first approach was to send session data within the SOAP message. The application on