Discussion:
Marshalling/Unmarshalling Feature
Vishist Mandapaka
2005-10-17 19:28:45 UTC
Permalink
Hi,
Is there anyway that I could marshall the beans into XML and also unmarshall
the XML document to java object. What I am asking is for a functionality
similar to JAXB. I tried with castor. When I use castor, the wsdl generated
from the webserver is not showing up the schema contents.
Since that is required for us, I'm looking at alternatives to Castor.
thanks
vishist.
r***@jpmchase.com
2005-10-17 19:44:35 UTC
Permalink
Try Disgester then.

Raj






Vishist Mandapaka <***@gmail.com>
10/17/2005 03:28 PM
Please respond to axis-user


To: axis-***@ws.apache.org
cc:
Subject: Marshalling/Unmarshalling Feature



Hi,
Is there anyway that I could marshall the beans into XML and also
unmarshall the XML document to java object. What I am asking is for a
functionality similar to JAXB. I tried with castor. When I use castor, the
wsdl generated from the webserver is not showing up the schema contents.
Since that is required for us, I'm looking at alternatives to Castor.
thanks
vishist.
Uday Kamath
2005-10-17 19:43:48 UTC
Permalink
XMLBeans is better than JAXB 1.0 implementations (especially sun) and it
has support for all schemas and also for wsdls

________________________________

From: Vishist Mandapaka [mailto:***@gmail.com]
Sent: Monday, October 17, 2005 3:29 PM
To: axis-***@ws.apache.org
Subject: Marshalling/Unmarshalling Feature



Hi,
Is there anyway that I could marshall the beans into XML and also
unmarshall the XML document to java object. What I am asking is for a
functionality similar to JAXB. I tried with castor. When I use castor,
the wsdl generated from the webserver is not showing up the schema
contents.
Since that is required for us, I'm looking at alternatives to Castor.
thanks
vishist.
Vishist Mandapaka
2005-10-18 18:29:09 UTC
Permalink
Hi,
thanks for the reply. Now, I went through the XMLBeans and worked with my
schema. the "scomp" is even taking wsdl file. Now, how I integrate the beans
generated from XMLBeans with Axis. In the stub as well as in the deployment
descriptor file AxisSerializers are defined. What would be the case if I use
XMLBeans (does it have separate serializers/deserializers).
thanks
vishist.
Post by Uday Kamath
XMLBeans is better than JAXB 1.0 implementations (especially sun) and it
has support for all schemas and also for wsdls
------------------------------
*Sent:* Monday, October 17, 2005 3:29 PM
*Subject:* Marshalling/Unmarshalling Feature
Hi,
Is there anyway that I could marshall the beans into XML and also
unmarshall the XML document to java object. What I am asking is for a
functionality similar to JAXB. I tried with castor. When I use castor, the
wsdl generated from the webserver is not showing up the schema contents.
Since that is required for us, I'm looking at alternatives to Castor.
thanks
vishist.
Uday Kamath
2005-10-18 19:23:36 UTC
Permalink
Axis 2.0 comes with XMLBeans serializer for Document Binding WSDLs. So when you run ant task or axis 2.0 wsdl2java you will get Stubs that automatically serialize/deserialize WSDL request/response to XMLBeans. This should be good for most of your requirement.
If it doesn't then you can think of using your own serializer/deserializer by extending the XMLBeanSerialzier etc.
-Uday

________________________________

From: Vishist Mandapaka [mailto:***@gmail.com]
Sent: Tue 10/18/2005 2:29 PM
To: axis-***@ws.apache.org
Subject: Re: Marshalling/Unmarshalling Feature


Hi,
thanks for the reply. Now, I went through the XMLBeans and worked with my schema. the "scomp" is even taking wsdl file. Now, how I integrate the beans generated from XMLBeans with Axis. In the stub as well as in the deployment descriptor file AxisSerializers are defined. What would be the case if I use XMLBeans (does it have separate serializers/deserializers).
thanks
vishist.


On 10/17/05, Uday Kamath <***@dharbor.com> wrote:

XMLBeans is better than JAXB 1.0 implementations (especially sun) and it has support for all schemas and also for wsdls

________________________________

From: Vishist Mandapaka [mailto:***@gmail.com]
Sent: Monday, October 17, 2005 3:29 PM
To: axis-***@ws.apache.org
Subject: Marshalling/Unmarshalling Feature




Hi,
Is there anyway that I could marshall the beans into XML and also unmarshall the XML document to java object. What I am asking is for a functionality similar to JAXB. I tried with castor. When I use castor, the wsdl generated from the webserver is not showing up the schema contents.
Since that is required for us, I'm looking at alternatives to Castor.
thanks
vishist.

Loading...