AnsweredAssumed Answered

MY XML profile is generating XML with Version="1.0. How do I set it so that it will use Version="2.0"?

Question asked by slevak567248 on Feb 5, 2018
Latest reply on Feb 5, 2018 by James Ahlborn

XML profile settings:

 

When I map my JSON data to the XML profile I get:

 

<?xml version='1.0' encoding='UTF-8'?>
<ns1:Envelope xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/">
<ns1:Body>
<ns2:PostInvoice xmlns:ns2="http://tempuri.org/">
<ns2:auth>
<ns2:username>eBuilder_service</ns2:username>
<ns2:password>7tkL6bgP</ns2:password>
<ns2:licensekey>c4eeea53-d66d-4232-b4c7-07577939afbe</ns2:licensekey>
<ns2:system>OSA</ns2:system>
</ns2:auth>
<ns2:Invoice>
<ns2:VendorID>123456</ns2:VendorID>
<ns2:DateCreated>2018-01-04T17:24:01.000-05:00</ns2:DateCreated>
<ns2:DatePosted>2018-02-05T10:05:22.830-05:00</ns2:DatePosted>
<ns2:BillNumber>PAYAP - 00001</ns2:BillNumber>
<ns2:Description>test</ns2:Description>
<ns2:Bills>
<ns2:Bill>
<ns2:GLAccountNumber>11300-000</ns2:GLAccountNumber>
<ns2:Amount>1</ns2:Amount>
<ns2:LocationID>FOR Forest Ridge</ns2:LocationID>
</ns2:Bill>
</ns2:Bills>
</ns2:Invoice>
</ns2:PostInvoice>
</ns1:Body>
</ns1:Envelope>

 

I need this to be other than 1.0.... e.g. version = "2.0".  Is there an option for the version?

Outcomes