Tcpip Trigger With Http Post 追蹤
I'm trying to use TCPIP Trigger from SAP because I don't like to use filesystem and IDoc files. I directly try to send the IDocs as XML-IDoc. Now the problem: SAP (like most other application which can send XML and can consume WebServices) is using HTTP as transport protocol, so if I choose Bartender to write the input to file it looks like:
POST / HTTP/1.0
content-type: text/xml; charset=utf-8
user-agent: SAP Web Application Server (1.0;701)
<?xml version="1.0" encoding="UTF-8"?><IDOCNAME>....
Of course I need to do a XSL transformation from XML-IDoc to Bartender XML Script, but the problem are the 8 lines before XML begins which I need to remove before I can execute the transformation. Is it possible in Bartender as a first step to remove the lines (maybe with Windows batch file) and as second step perform the transformation?
For future I think it would be nice to implement HTTP handling into TCPIP trigger also because you get the content-length and know when the transfer is finished.