Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11

Thread: How to fix: Unknown Source type: class javax.xml.transform.stax.StAXSource

  1. #11
    Join Date
    Mar 2012
    Posts
    21

    Default

    Yes, I have mapped tags to the respective classes.
    I have problem in
    1.Mapping tag which contains attribute and value..for e.g
    <aid IdScope="Sender">20110421000008</aid >
    Here how to read IdScope attribute and its value.If it was <IdScope>sender<IdScope> i could map to IdScope class and may get it.(i cant change format of the xml..)
    2.I am getting duplicate entry exception for following as unstructAddressLine tag is repeated.
    <UnstructAddress>
    <UnstructAddressLine>kabban park street</UnstructAddressLine>
    <UnstructAddressLine>shivaji nagar</UnstructAddressLine>
    <UnstructAddressLine>dharwad</UnstructAddressLine>
    </UnstructAddress>

    please help me to resolve these things.

    Thanks in advance
    sanjeev
    Last edited by sanjeev m; Jan 10th, 2013 at 08:47 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •