----- Original Message -----
Sent: Monday, August 04, 2003 1:01
AM
Subject: Re: AXIS
serialization/deserialization of XML payloads without SOAP/WSDL
processing
Anne,
I understand that we can process XML payload delivered by AXIS
run-time
via JAXB.
However, is it possible to make AXIS process a message (e.g.,
non-SOAP message)
that contains a XML payload given the .xsd schema for the
payload?
E.g., given a message stream that represents a raw XML payload
will it be
possible to unmarshall the XML stream into its Java bean objects
corresponding
to its XML schema specification?
Is not AXIS messaging architecture message protocol agnostic?
Also, is it possible to use WSDL2Java tool to generate the Java bean
object
corresponding to the XSD schema specification of the XML payload
and
marshall the Java objects into raw XML streams rather than SOAP
message
stream?
I agree that it would be useful to compare the performance,
stability, footprint,
and XML schema support levels between JAXB 1.x and AXIS 1.1.
It seems that AXIS will eventually need to support JAXB particularly
once
JAXB 2.0 is ready. However, my question above have to do with the
question
of exploting AXIS XML processing without using SOAP message
packaging.
Thank you very much for all your help.
Anne Thomas Manes <[EMAIL PROTECTED]>
wrote:
Tony,
Axis MESSAGE style tells Axis that you
don't want to use the Axis serialization engine. In this case Axis
delivers the contents of the SOAP body directly to the application as a
DOM element. Your application can process the XML as it sees fit (e.g.,
using JAXB).
Note that this style of communication isn't
"outside the SOAP processing realm". Axis still implements the SOAP
processing model -- it manages the network communications; it creates
and manages the SOAP envelope, it processes any SOAP headers that exist;
it invokes the appropriate handlers; it loads and manages the
application agent for you. The only thing it doesn't do is convert the
XML into Java for you.
You might want to do some benchmark
comparisons between Axis serialization and JAXB serialization. I'd
look at performance, scalability, and
footprint differences.
Anne
----- Original Message -----
Sent: Saturday, August 02, 2003
4:51 PM
Subject: AXIS
serialization/deserialization of XML payloads without SOAP/WSDL
processing
1. Is there a way to use AXIS to process and generate XML payload
streams using the
XML schema (in .xsd) specifications of the
payloads such that the payload streams
are not serialized or deserialized to/from a
SOAP message envelope?
2. If AXIS has general schema-driven XML payload serialization
and serialization
capability using the payload schema definition
than wouldn't this be basically
similar functionality as JAXB?
3. What are step to configure AXIS run-time for such XML payload
support outside
the SOAP processing realm? What do we
have to design -time to compile
and generate the corresponding
serialization/deserialization classes using the
XSD?
Thanks you very much for all your help.
Do you Yahoo!?
Yahoo!
SiteBuilder - Free, easy-to-use web site design
software
Do you Yahoo!?
Yahoo!
SiteBuilder - Free, easy-to-use web site design
software