Mike,
the resources, you put into the sessionContext should implement the
"javax.servlet.http.HttpSessionBindingListener" interface.
see j2ee api doc for details.
you, will be noticed then, when your session has timed out.
for finalizing on the other hand you never know when it really happens.
Yup. service.getOption("paramName")
You
can get the current Service from the MessageContext with
msgContext.getService(), either in a Handler or in your backend service
method. If you want the MessageContext from your service method, call
MessageContext.getCurrentContext().
--Glen
Ew :) - yeah, no one has been in the MsgProvider for a long time. Be warned - that's
going to go away at some point.
MessageContext.getCurrentContext() is the Axis-approved way of getting the MC in your
service method.
--Glen
> -Original Message-
> From: Ramon Turnes [mailto:[EMAIL
There are three ways of doing HREFs in axis.
The first is to set doing multirefs property to true, the default (the
following does NOT have to be done):
msgContext.getAxisEngine().setOption(AxisEngine.PROP_DOMULTIREFS,
Boolean.TRUE);
In this case everything is multi-refed except "primitive" typ
This is the bug of tomcat.
You can solve this problem simply by puting these jars to your jdk\jre\lib\ext:
axis.jar,log4j.jar, commons-logging.jar,jaxrpc.jar,tt-bytecode.jar and XML parser (
xerces.jar)
Hi,
I just started using axis (beta1) version.
I was able to get to this page:
http://localhost:8080/axis/index.html
and that page shows:
Hello! Welcome to Apache-Axis.
What do you want to do today?
Administer Axis
Visit the Axis Servlet
when i clicked on Admininster Axis, I got this e
Hi all,
Has anybody managed to get a .Net client talk to an Axis service,
using a session context?
I've got an Axis (beta1) web service talking successfully
with both an Axis and a .Net (beta2, C#) client.
I've also added session management on the server side:
- MessageContext.getCurrentContex
I'd like to handle a client that has terminated or is inactive and do
cleanup on the session that I have for that client. I
setMaintainSession(true) on the client side and then the following on the
server side:
AxisHttpSession session =
(AxisHttpSession)MessageContext.getCurrentContext().getSess
Any nightly build that contains all of the following files is a successful
build and passes all of our tests. If only some of these files exist (just
the src files, for example), then the build did not complete and there's no
runtime distribution that you can use. The last good nightly build is
If I wanted to embed Axis into my program and make it available to the
public, which nightly build would you recommend to use? Or should I just
stick with Beta 1 (March 19th version) ?
Thanks for your help.
Cheers,
Frederic
Title: RE: Can deploy from command line, but not from Ant
You need a JAXP-compliant XML parser such as Xerces or Crimson in your CLASSPATH.
> -Original Message-
> From: Robert Evans [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 27, 2002 12:27 PM
> To: [EMAIL PROTECTED]
> Subjec
Greetings,
I've been trying to get familiar with Axis, and am working through some
beginning examples. I've been able to deploy the .jws based services,
and as I am walking through the Axis users guide I have become stumped
on manually deploying a service.
If I try to deploy if from the comm
Axis -
If a service method desires to conform to the JAX-RPC standard, should
it throw javax.xml.rpc.soap.SOAPFault instead of
org.apache.axis.AxisFault?
If the code should be ideally throwing SOAPFault, should Axis be passing
back to the client more than just the faultstring from the SOAPFault
Take a look at the new WASP 3.0 beta 2. It uses the native C++ WSDL2C tool.
You can download its sources at
http://www.systinet.com/eap/waspc_30/index.html .
ZD
Zdenek Svoboda
- Original Message -
From: "Simon McClenahan" <[EMAIL PROTECTED]>
To: "Axis User (E-mail)" <[EMAIL PROTECTED]>
S
HI all,
My question is:
Is it possible for a service to access to the
parameter in "server-config.wsdd" file.
I want to put in service's deploy file some
parameters about service configuration. Is there a simple method to do
this?
Thanks,
Jean Marc
Fellow Axis Users,
I am going to use Axis generated stub to communicate an applet with a
SOAP server (built with Axis too). Can anyone provide a list of classes,
that are absolutely necessary to achieve this? I want the applet jar to
be as small as possible.
Regards,
Jarek
Egger -
Because the structure is set to and the DOM schema is not
explicitly defined, a predefined serializer really can't be created
automagically.
Rather than performing an RPC operation, the service is performing a
'document style' operation and does not really expect the XML to be
deserial
Fellow Axis users,
Anyone have been playing around with the samples coming with Axis? I tried
samples/addr and got a ClassNotFoundException: samples.addr.StateType. And,
... the class StateType exists in the directory ?
What is going wrong?
Regards, Michel
C:\Apache\axis\samples\addr>testit -h
How to configure axis to user local transport mechanism?
Maciek Kaminski
[EMAIL PROTECTED]
Hi,
first I want to thank all the guys that helped me with my attachment problem. With the
examples from the wstk and a bit of try and error I can get a message with an attached
JPEG file from the server to client. When I write out the message to System.out on the
server, it looks as it should
in my schema definition i use my own simple types to wrap arround schema
tpes like long, etc.
wsdl2java generates type mappings for each of these simple types:
e.g. customerID to java:long :
qname="ns:customerID"
type="java:long"
whith this i get an ClassNotFoundException in
org.a
Hello,
I want to consume a .NET service which returns a
XmlDocument (Dom Tree), the generated WSDL description
(snip) is a following:
when I generate with WSDL2Java the client an run it the
follwing errors a
Hello Axis users,
Two tips, found it out the hard way.
1. Look into the code (duh)
2 To deploy a wsdd file on another port, for instance you have multiple
instances of tomcat an Axis running on one Apache, execute the following
statement:
java org.apache.axis.client.AdminClient deploy.wsdd -p 708
Kavish,
Thanks, found it out myself, just a moment ago by looking in the source of
Adminclient. My argument is now:
java org.apache.axis.client.AdminClient
C:\foo\bar1\tomcat\webapps\axis\deploy.wsdd -h myurl -p 7080
I very much appreciate your reply.
Michel
-Original Message-
From: Ka
You can do that by supplyng port number as argument like below
java org.apache.axis.client.AdminClient -p[port number where your axis
engine is running] wsdd file path.
exam:
lets say your axis is running on port 7080
so you should give the command like below;
java org.apache.axis.client.Admin
Kavish,
Yes, you where right, but it was not completely so ...
Yesterday I entered a call about multiple instances of Tomcat/Axis running
on one Apache. I wanted to deploy a client wsdd, and found out the client
was deployed on the server instance of Tomcat/Axis. Can you help me with
that?
Imag
Can someone confirm that it's not possible to serialize Exception (like we
do with bean) in order to create more detailled fault elements in the SOAP
Message ?
And will this functionality be implemented in a futur version of Axis ?
Cédric
-Message d'origine-
De : Benazech Cédric [mailt
Might be Axis engine is not running or it's running on some other port
number.
-Original Message-
From: Michel Bergijk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 2:11 PM
To: axis (E-mail)
Subject: Error while deploying wsdd: java.net.ConnectException:
Connection refused: c
Hello Axis users,
While deploying a wsdd file I got an java.net.ConnectException. Does anyone
know why this fails? As far as I know it worked previously. May it be a
proxy problem?
The call I used:
ECHO Deplying foo's wsdd file
java org.apache.axis.client.AdminClient com\foo\deploy.wsdd
The re
29 matches
Mail list logo