[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Web services revisited
- Subject: Re: Web services revisited
- From: Chris Travers <..hidden..>
- Date: Mon, 21 May 2012 23:20:51 -0700
Anyway, I have a brief example of a customer that's also a vendor to
be used for testing.  I haven't added the <?xml ?> tag yet.  Here's
the XML:
<customer>
   <company legal_name='Test Company' country_code='US' taxnumber='12345'
             entity_class='2' />
   <eca meta_number='C123' pay_to='Examples, Inc' description='Example'
        start_date='2011-01-01' credit_limit='500' currency='USD'
        terms='30' arap_accno='1200' cash_accno='1060' language='en_US'
        entity_class='2'>
       <location class_id='1' line_one='103 Park Road' city='Red City'
                 state='Washington' mail_code='97432' country_code='US' />
       <contact class='email' description='Accounts Payable'
                contact='..hidden..' />
   </eca>
   <eca meta_number='V123' pay_to='Examples, Inc' description='Example'
        start_date='2011-01-01' credit_limit='500' currency='USD'
        terms='30' arap_accno='1200' cash_accno='1060' language='en_US'
        entity_class='1'>
   </eca>
</customer>
I am thinking about using XML::Simple for this.
What do people think?
Best Wishes,
Chris Travers