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
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 =
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,
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
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
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
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
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
,
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
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
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
24 matches
Mail list logo