I did a screen print of the process from 8.2. Not much to look at. There
is the one service type, two input variables, and one output variable.
I was told not to import into version 9 but redo everything. No big deal
it would seem. I made all variable types "document". Back when I was
developing on 8.2 I was told in the next version I could supply the form
AND data in the command XML, and the form would not have to be found and
read from the Adobe server.
Right now I'm just trying to invoke my new version 9 process to see what
happens. It tells me:
ALC-DSC-002-000: com.adobe.idp.dsc.RequiredParameterException: Parameter:
inFormDoc is required
I don't know where to enter this info. Also, is it appropriate to use
"document" for the three variable types. Thanks
Thanks Rob. The thing started working. I changed the form variable to a
literal, read from the Adobe server, and it rendered. Then I changed it
back to a document variable where I needed to provide the form via prompt,
and it continued to work. Weird.
When I invoked the process via workbench and received the form and data
prompts, I tried pasting in HTTP urls instead of file names. That worked,
too. But I think workbench read the urls, converted to blobs, and sent as
blobs. I don't think workbench actually sent the urls.
The WSDL for the service shows all the data types accepted. I was using a
url for the previous 8.2 service. Unfortunately my local web server is not
exposed to the Adobe server, so it can't pull from a url. The 8.2 Adobe
server was able to see my local web server.
This is a classic ASP application where some PDFs have been scabbed in.
Now I'm working on base64 encoding.
Already did the base 64. Works great. Only four lines of code using an
Microsoft.XMLDOM object. I don't use it for the XML but it has a base 64
convert routine.
If I sent a blob I was afraid I would get a blob back, too, but the
service returns a url for the created PDF, making everything work perfect.
With this web service we can create a PDF from any application, web or
desktop. One command XML is sent containing the form and data. The reply
XML contains a url for the created PDF.
I may see about MIME which is a little more efficient.