Submit PDF trough web-service

Avatar

Avatar
Boost 1
Level 2
Soren_Hoy
Level 2

Like

1 like

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
Soren_Hoy
Level 2

Like

1 like

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
Soren_Hoy
Level 2

28-01-2009

Hi

I have an LC ES process that I would like to start via web-service, but I need to submit the PDF, not just the data because there is attachments in the PDF file. So is there any way to submit the PDF, with attachments, to a webservice that kicks of a process.



Thanks Søren

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

28-01-2009

I do not know of a programmatic way to get th eentire PDF back from a call so that you can include it in a web service call from the form. I can get the data but not the entire PDF.

Avatar

Avatar
Validate 1
Level 4
Ryan_Lunka
Level 4

Likes

11 likes

Total Posts

143 posts

Correct reply

11 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 4
Ryan_Lunka
Level 4

Likes

11 likes

Total Posts

143 posts

Correct reply

11 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
Ryan_Lunka
Level 4

28-01-2009

I've had this requirement before. What I ended up doing was saving a copy of the PDF in the LiveCycle form repository. To submit, you call a web service that sends the form data to your workflow. The first step of that workflow remerges the data with the LC repository version of the form and you have a "submitted" PDF. The only issue with this solution is that you have to manage two copies of the form.



A possible way to work around that: If the form your users will be retrieving exists in a fileshare or on a server in your network, and you LC server has access to it, you can have your workflow pick up the form from the same place as the users. That way you only have to manage one copy. There are some variables/requirements you'll have to address to make that work, though. I obviously don't know about your environment.



If you'd like to discuss this further, feel free to email me. I'd be glad to help.



Ryan D. Lunka

Cardinal Solutions Group

rlunka@cardinalsolutions.com

Avatar

Avatar
Boost 1
Level 2
Soren_Hoy
Level 2

Like

1 like

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
Soren_Hoy
Level 2

Like

1 like

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
Soren_Hoy
Level 2

02-02-2009

Hi

Thanks for your response but I can't use the solution with submitting the data and then merge it with the template, because then I'll lose the attached files. I thought that maybe the Adobe Reader could provide a pdf as a base 64 encoded string. Then I could kick of the process with a webservice that recived that string.

The pdf is of course ReaderExtended.



thx.

Soren