Merging two pdf files into one file?

743 views
Skip to first unread message

malin_erika

unread,
Aug 23, 2010, 9:42:20 AM8/23/10
to Adobe LiveCycle Developers
Hi!

I am using web services (with .NET) to work with Adobe LiveCycle. I
want to merge two pdf files into a single pdf file. Is the only way to
do this creating a DDX file and use with Assembler Services?

When running my code I get the following message:

Error: com.adobe.livecycle.assembler.client.ProcessingException: ALC-
ASM-S00-002: Failed to execute the DDX - error messages provided.

Does this mean my DDX file is incorrect? My DDX looks like this (name
of server is changed):

<?xml version="1.0" encoding="utf-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="\\blablabla.myserver.com\d$\pdfmerge
\NewMergedPdfFile.pdf">
<PDF source="\\blablabla.myserver.com\d$\pdfmerge
\ContentTestPage1.pdf" />
<PDF source="\\blablabla.myserver.com\d$\pdfmerge\Test.pdf" />
</PDF>
</DDX>

The pdf-files are on a different server then Adobe LiveCycle. Can this
make a diffenerence?

If you want to I can give you the full .NET code.


Best regards,
Malin.

carlox

unread,
Aug 23, 2010, 10:53:34 AM8/23/10
to Adobe LiveCycle Developers
I had the same problem once.
what I did was to remove the <?xml ...> declaration in the DDX.
Try it out and please post your feedback

malin_erika

unread,
Aug 25, 2010, 3:58:53 AM8/25/10
to Adobe LiveCycle Developers
Thanks for your reply!

I found an example on how to do here:
http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/001473.html

Now its working (with the XML-tag)! :-)
> > Malin.- Dölj citerad text -
>
> - Visa citerad text -

Duane Nickull

unread,
Aug 25, 2010, 4:56:37 PM8/25/10
to Adobe LiveCycle Developers
This is an excellent example.  This one was written by Scott MacDonald.  Scott and I are going to be co-teaching a hands on technical session at Adobe MAX 2010 (Oct 22-27) in Los Angeles called “Extending LC for Java Developers” which will use some of these quick starts.  We plan to blitzkrieg it by getting attendees to check out a process, validate it works, write a custom component, package it, call it from the process, re-upload the *.lca and then programmatically invoke the modified process.

Details:
http://max.adobe.com/schedule/by-session/extending-livecycle-es-for-java-developers/824434eb-32d7-486c-9d75-d003f589fa30

If anyone on this list is able to make it to the MAX event, please heavily consider doing so.  The LC ES track this year is the best we’ve ever had but it is filling up fast.

Duane
--
You received this message because you are subscribed to the Google Groups "Adobe LiveCycle Developers" group.
To post to this group, send email to live...@googlegroups.com.
To unsubscribe from this group, send email to livecycle+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/livecycle?hl=en.



---
Adobe LiveCycle Enterprise Architecture - http://www.adobe.com/products/livecycle/
My TV Show - http://tv.adobe.com/show/duanes-world/
My Blog – http://technoracle.blogspot.com/
My Band – http://22ndcenturyofficial.com/
Twitter – http://twitter.com/duanechaos/


Tarek Faham

unread,
Aug 26, 2010, 9:20:19 AM8/26/10
to Adobe LiveCycle Developers
Hi Duane,
 
Are there similar sessions but for .Net Developers.
 
Tarek
image.jpg

Duane Nickull

unread,
Aug 30, 2010, 7:38:53 PM8/30/10
to Adobe LiveCycle Developers
I could not find any .NET ones.  This is a missing piece for LC ES however, Scott MacDonald has made several tutorials on how to integrate from a .NET environment.  If you show up for this, Scott and I will take the extra time to show you how to do this.

BTW – this is now over half full!  Anyone who wants to reserve a spot, would recommend doing it fast.

Duane
Reply all
Reply to author
Forward
0 new messages