hi everybody,

I checked the attachments/samples in axis. When I tried to produce wsdl file using Java2WSDL for the echoAttachmentService class, it is complaining as;

 The class org.w3c.dom.Document does not contain a default constructor, which is a requirement for a bean class.  The class cannot be converted into an xml schema type.  An xml schema anyType will be used to define this class in the wsdl file.
- The class java.lang.Exception is defined in a java or javax package and cannot be converted into an xml schema type.  An xml schema anyType will be used to define this class in the wsdl file.

I am new to axis, and need help...Can anybody please help me the way how to send and receive attachment via Axis?

I really appreciated any help...

thanks,

teo

 Steve Loughran <[EMAIL PROTECTED]> wrote:


a few questions related to adding session cleanup, that I'd be interested in
getting answers to before I write any code.


1: how important is it for everyone that axis runs on a pre servlet2.3
system? I think 2.2 should still be supported as well as we can.

2. if I add a sessionlistener class to do session cleanup, will everyone who
actually builds axis have access to servlet2.3.jar, even if axis still runs
happily on 2.3

3. Does anyone know a way of adding a session listener at runtime, rather
than through the web.xml declaration, as if we add it that way we'll need to
produce separate web.xml and webapps for 2.2 and 2.3? Which isnt that hard,
if we move to xdoclet1.2 generation of stuff, just complicates redist a bit.

4. how do you test session listeners?

If we dont use sessionlisteners, we can still do cleanup with a housekeeper
thread, for which I have the source around somewhere as they always make an
appearance in a big app, and I know how to tests them even before
deployment. I am just reluctant to add a timer/housekeeper service to the
axis api unless we dont have a choice.

Thoughts?





Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!

Reply via email to