Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10665

Re: Any Way for HTTP Adapter Enhance or Replacement?

$
0
0

Hello Kevin,

 

In the request data. We need add some other information sentences before the XML payload. HTTP body is just like:

Version=0.0.1.0&TransCode=PAYENT&BankCode=102&GroupCIS=170290000013959&ID=cs01.y.1702&PackageID=201307250000003&Cert=&reqData=<?xml version=\"1.0\" encoding=\"UTF-8\"?><CMS><eb><pub><TransCode>PAYENT</TransCode><CIS>170290000013959</CIS><BankCode>102</BankCode><ID>cs01.y.1702</ID><TranDate>20130725</TranDate><TranTime>0951547123</TranTime><fSeqno>201307250000003</fSeqno></pub></eb></CMS>

There is no way to dynamically build the prolog using HTTP Adapter. If you are sure that this value

Version=0.0.1.0&TransCode=PAYENT&BankCode=102&GroupCIS=170290000013959&ID=cs01.y.1702&PackageID=201307250000003&Cert=&reqData=

is a constant, then you just enter it in Prolog under XI Payload Manipulation.

 

Otherwise, you need to do as what Michal suggested.

 

You can refer to this blog, see HTTP POST Receiver

http://scn.sap.com/docs/DOC-29829

 

 

Regards,

Mark


Viewing all articles
Browse latest Browse all 10665

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>