Skip to Content

Problem on Webservice Start, input binary PDF

Hi all,

i have a problem with BINARY input DATA of the start webservice of my BPM process.

The process start regulary from my webdynpro java and work as i want, the problem is after to the next STEP into the other webdynpro.

When i try to open the file i got this message:

File does not begin with '%PDF-'.

if i ADD new files and go in nexts STEP, i can open the files regularly.

So the problem is to the webservice request call.

I tried to ENCODE and DECODE the binary with no results, the WSDL/XML encoding is UTF-8.

Someone of you know what the hell happen?

Thanks Roberto

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 08, 2011 at 07:50 PM

    it is not a good idea to put binary here,

    you can store the pdf in ECM, only pass the id to the bpm.

    Add comment
    10|10000 characters needed characters exceeded

    • After this problem could i say that is not a good idea, but i don't understand why the other WEBSERVICE that send EMAIL with attachment works very well! 😕

      I haven't ECM-CORE 😔 my server is SAP Netweaver 7.11

      someone else have some other idea?

      Roberto.

  • Nov 10, 2011 at 09:09 PM

    I resolved, i am using Base64Encoding

    http://www.source-code.biz/base64coder/java/

    and use normal STRING parameter.

    Roberto T.

    Add comment
    10|10000 characters needed characters exceeded