2012 Sep 07 1:48 PM
Dear ALL,
I have already done the basic heads-up for the above issue I am currently facing.
I will keep on trying from my end as well.
Can anyone provide me the knowledge on how to achieve an XML output in the following format given below:
Structure of message:
A SOAP Envelope (the root element)
A SOAP Header (optional)
A SOAP Body
Example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dis13="http://www.sukl.cz/dis13/v400r01">
<dis13:DatumCasOdeslaniZpravy>2012-07-10T02:22:20+01:00</dis13:DatumCasOdeslaniZpravy>
<soapenv:Body>
This section will contain the data fields from the internal table.
<soapenv:Body>
</soapenv:Envelope>
Can anyone guide me how we can achieve this ABAP?
Best Regards.
Tanmoy
Dear ALL,
I have already done the basic heads-up for the above issue I am currently facing.
I will keep on trying from my end as well.
Can anyone provide me the knowledge on how to achieve an XML output in the following format given below:
Structure of message:
A SOAP Envelope (the root element)
A SOAP Header (optional)
A SOAP Body
Example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dis13="http://www.sukl.cz/dis13/v400r01">
<dis13:DatumCasOdeslaniZpravy>2012-07-10T02:22:20+01:00</dis13:DatumCasOdeslaniZpravy>
<soapenv:Body>
This section will contain the data fields from the internal table.
<soapenv:Body>
</soapenv:Envelope>
Can anyone guide me how we can achieve this ABAP?
Best Regards.
Tanmoy
2012 Sep 09 3:13 AM
2012 Sep 12 8:09 AM
Hello everyone,
Yes I am aware that we will have to generate an XSLT program in the XSLT Workbench, but I am not sure how to do it. The XML output will look like below:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dis13="http://www.sukl. cz/dis13/v400r01">
<dis13:DatumCasOdeslaniZpravy>2012-07-10T02:22:20+01:00</dis13:DatumCasOdeslaniZpravy>
<soapenv:Header />
<soapenv:Body>
<dis13:ZalozeniHlaseniDodavekDotaz xsi:schemaLocation="http://www.sukl.cz/dis13/v400r01 DIS13_4_00.xsd"
xmlns:dis13="http://www.sukl.cz/dis13/v400r01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<dis13:Doklad>
<dis13:Distributor>
<dis13:KodPracoviste>00000000804</dis13:KodPracoviste>
</dis13:Distributor>
<dis13:Obdobi>
<dis13:RokMesic>2012-06</dis13:RokMesic>
</dis13:Obdobi>
<dis13:Hlaseni>
<dis13:DLP>
<dis13:LP>
<dis13:DistribuceHVLPReg>
<dis13:TypPohybuLP>D</dis13:TypPohybuLP>
<dis13:TypOdberatele>DISTRIBUTOR_CR</dis13:TypOdberatele>
<dis13:KodSUKL>0011242</dis13:KodSUKL>
<dis13:Nazev>GERATAM TBL 60x1200MG</dis13:Nazev>
<dis13:Mnozstvi>1016</dis13:Mnozstvi>
<dis13:Sarze>59468</dis13:Sarze>
</dis13:DistribuceHVLPReg>
</dis13:LP>
<dis13:ID_LP_Distributora>11242</dis13:ID_LP_Distributora>
</dis13:DLP>
<dis13:DLP>
<dis13:LP>
<dis13:DistribuceHVLPReg>
<dis13:TypPohybuLP>D</dis13:TypPohybuLP>
<dis13:TypOdberatele>DISTRIBUTOR_CR</dis13:TypOdberatele>
<dis13:KodSUKL>0011242</dis13:KodSUKL>
<dis13:Nazev>GERATAM TBL 60x1200MG</dis13:Nazev>
<dis13:Mnozstvi>1016</dis13:Mnozstvi>
<dis13:Sarze>59468</dis13:Sarze>
</dis13:DistribuceHVLPReg>
</dis13:LP>
<dis13:ID_LP_Distributora>11242</dis13:ID_LP_Distributora>
</dis13:DLP>
</dis13:Hlaseni>
</dis13:Doklad>
<dis13:Zprava>
<dis13:ID_Zpravy>00000000-0000-0000-0000-000000000000</dis13:ID_Zpravy>
<dis13:VerzeRozhrani>4.00</dis13:VerzeRozhrani>
<dis13:DatumCasOdeslaniZpravy>2012-07-10T02:22:20+01:00</dis13:DatumCasOdeslaniZpravy>
<dis13:SW_Klienta>
<dis13:Vyrobce>Epicor</dis13:Vyrobce>
<dis13:Nazev>iScala 2.3</dis13:Nazev>
<dis13:Verze>10789</dis13:Verze>
</dis13:SW_Klienta>
</dis13:Zprava>
</dis13:ZalozeniHlaseniDodavekDotaz>
</soapenv:Body>
</soapenv:Envelope>