To unmarshall you will have to use either JAXB or CASTOR or XMLBEANS or
JIBX . Basically all these are binding tools and it binds your xml
schema with java class.

 

Regards,

Shailendra Singh

 

________________________________

From: LAKSHMI SARATHY [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 15, 2008 12:17 PM
To: [email protected]
Subject: RE: Xml schema

 

can we use an axiom parser to do this? To unmarshall the xml data should
i parse the schema ?

 

________________________________

From: Shailendra Singh [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 15, 2008 12:13 PM
To: [email protected]
Cc: LAKSHMI SARATHY
Subject: RE: Xml schema

Lakshmi,

 

Basically your xml file is not containing any information regarding data
type; it is having everything in its string format or serialized format.
So you will have to use any data-binding tool for unmarshalling your xml
into java class and from there you can retrieve your desired data in
respective format.

 

Regards,

Shailendra Singh 

 

________________________________

From: LAKSHMI SARATHY [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 15, 2008 12:03 PM
To: [email protected]
Subject: RE: Xml schema

 

i have to design client side , in this i have to read the parameters

from xml data and display it in a java GUI. now to find the data type of
the elements of xml..we need to read the xml schema ?

For reading say for eg my xml data describe user 

with first name, last name, address, phone number. I need to display
this data in my gui. for this should i read the schema to find out 

what are the parameter of user from the schema ? as well as the datatype
of the various elements (address,phone number,etc) ?

To find out if the elements is mandatory or not ? how to get such info
from xml data? or from the schema?

 

 

 

 

________________________________

From: Shailendra Singh [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 15, 2008 11:21 AM
To: [email protected]
Cc: LAKSHMI SARATHY
Subject: RE: Xml schema

 

Lakshami,

 

If you could provide more information will be better!

 

Regards,

Shailendra Singh

________________________________

From: LAKSHMI SARATHY [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 15, 2008 11:04 AM
To: [email protected]
Subject: Xml schema

 

 

hello Group,

 

GM.

 

i have been given both xml and xsd files. should i parse the xml based
on the xsd? i need the information from the schema to be used

in the JAVA gui. Any suggestions?

 

Regards

lakshmi

 

 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Friday, February 15, 2008 11:00 AM
To: [email protected]
Subject: AXIOM - OMElement- Hashmap

Hi Group,

 

I have a hashmap in my my value object & axis 2 has generated a method
inside my stub with the below signature.

 

public org.apache.axiom.om.OMElement getTestMap() {

            return localCurrencyMap;

        }

 

How do I retrieve the values from the OMElement?

 

Thanks,

Ajit

DISCLAIMER:
This message contains privileged and confidential information and is
intended only for an individual named. If you are not the intended
recipient, you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if
you have received this e-mail by mistake and delete this e-mail from
your system. E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete or contain viruses. The sender,
therefore, does not accept liability for any errors or omissions in the
contents of this message which arise as a result of e-mail transmission.
If verification is required, please request a hard-copy version. 

DISCLAIMER:
This email may contain confidential or privileged information for the
intended recipient(s) and the views expressed in the same are not
necessarily the views of Zensar Technologies Ltd. If you are not the
intended recipient or have received this e-mail by error, its use is
strictly prohibited, please delete the e-mail and notify the sender.
Zensar Technologies Ltd. does not accept any liability for virus
infected mails. 

DISCLAIMER:
This email may contain confidential or privileged information for the
intended recipient(s) and the views expressed in the same are not
necessarily the views of Zensar Technologies Ltd. If you are not the
intended recipient or have received this e-mail by error, its use is
strictly prohibited, please delete the e-mail and notify the sender.
Zensar Technologies Ltd. does not accept any liability for virus
infected mails. 



DISCLAIMER:
This email may contain confidential or privileged information for the intended 
recipient(s) and the views expressed in the same are not necessarily the views 
of Zensar Technologies Ltd. If you are not the intended recipient or have 
received this e-mail by error, its use is strictly prohibited, please delete 
the e-mail and notify the sender. Zensar Technologies Ltd. does not accept any 
liability for virus infected mails. 

Reply via email to