• Naresh.Reddy
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies

hi,

     I am developing a webservice in Apex. The xml file is like:

<?xml version="1.0" encoding="UTF-8" ?>
- <Body>
- <InvoiceRequest>
- <Item>
  <ItemName>num1</ItemName>
  <ItemPrice>$11.0</ItemPrice>
  <ItemId>01278390921098209AB872190</ItemId>
 <ItemId>01278390921098209AB872191</ItemId>
  <ItemType>NULL</ItemType>
  </Item>
</Body>

So, there will be more than one id's..i mean the element names may be same, . So in webservice how can i handle this.  PLease its urgent.....Thanx in advance....
..

hi,

     I am developing a webservice in Apex. The xml file is like:

<?xml version="1.0" encoding="UTF-8" ?>
- <Body>
- <InvoiceRequest>
- <Item>
  <ItemName>num1</ItemName>
  <ItemPrice>$11.0</ItemPrice>
  <ItemId>01278390921098209AB872190</ItemId>

 <ItemId>01278390921098209AB872191</ItemId>
  <ItemType>NULL</ItemType>
  </Item>
</Body> 

So, there will be more than one id's, . So in webservice map will not work. So how can handle this.  PLease its urgent.....Thanx in advance....

hi,

     I am developing a webservice in Apex. The xml file is like:

<?xml version="1.0" encoding="UTF-8" ?>
- <Body>
- <InvoiceRequest>
- <Item>
  <ItemName>num1</ItemName>
  <ItemPrice>$11.0</ItemPrice>
  <ItemId>01278390921098209AB872190</ItemId>
 <ItemId>01278390921098209AB872191</ItemId>
  <ItemType>NULL</ItemType>
  </Item>
</Body>

So, there will be more than one id's..i mean the element names may be same, . So in webservice how can i handle this.  PLease its urgent.....Thanx in advance....
..