Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Java Mapping for HTTP Post

$
0
0


Hi

 

Im following this blog http://scn.sap.com/community/pi-and-soa-middleware/blog/2014/09/12/html-form-upload-using-http-plain-adapter-with-java-mapping but I have encountered an issue which I cannot solve.

 

My issue is, in addition to the required output, I am also getting unwanted XML added, which originates from the Message Type in the source Service Interface,

i.e.

 

Content-Type: multipart/form-data; boundary=--ejjeeffe1

--ejjeeffe1
Content-Disposition: form-data; name="event"
Content-Type: text/plain

Import File
--ejjeeffe1
Content-Disposition: form-data; name="Filename"
Content-Type: text/plain

TestFile.zip
--ejjeeffe1
Content-Disposition: form-data; name="content";filename="TestFile.zip"
Content-Type: application/zip
Content-Transfer-Encoding: binary

<?xml version="1.0" encoding="UTF-8"?><__EmptyDoc></__EmptyDoc>
--ejjeeffe1

 

Any suggestions much appreciated.

 

Regards

 

Steve


Viewing all articles
Browse latest Browse all 6719

Trending Articles



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