coercion error: com.adobe.idp.Document to type: interface org.w3c.dom.Document
How can I flatten a signed pdf? Lost all data.
Hi
I am trying to flatten a signed pdf using output->transformPDF but lost all data. How to solve that?should I use other components? Any documentation or examples?
Thanks!
wayne
HOWTO - Invoke Webservice using WSDL on Local File System
Hi,
I am unable to access a Web Service from our Development Environment; however I have been provided with the WSDL and all the appropriate XSDs, does anyone know how to use this to populate the Web Service Options as described in the LiveDocs for Workbench? (Details below).
- Should the WSDL be placed on the machine of the LiveCycle Server or the same machine as Workbench?
- If the file is at C:\WSDL\service.wsdl on the LiveCycle Server machine what URL should be provided for the WSDL URL?
- If the file is at C:\WSDL\service.wsdl on the Workbench machine what URL should be provided for the WSDL URL?
I have tried all variants of the possible URLs on both machines and am still unable to get this to work.
Many Thanks
Darren
About Web Service Settings
The Web Service Settings dialog box enables you to create the SOAP message to send to the web service for invoking a web service operation. After you provide the URL to the web service definition, Web Service Settings interprets the definition and it will populate other values on the tab, enabling you to select the web service operation to invoke. Based on operation that you select, a template of the SOAP request message is generated. You then insert values into the message as required.
Web Service Settings also enables you to test your invocation request by sending a test message and displaying the response message that the web service sends.
Settings
Use the settings tab to provide a link to the web service definition and to provide the information required to connect to a web service.
WSDL URL
The URL of the web service definition. The definition is written in web service definition language (WSDL) and contains all the information that web service clients need to call web service operations and process the response.
Note: The LiveCycle ES server must be able to access the WSDL URL at run time and at design time.
If you have access to the service, click Load after you enter the value for WSDL URL. Clicking Load causes Web Service Settings to read and interpret the definition. It then automatically populates many of the properties on the Settings and Request tab.
Tip: If your development environment has network limitations that prevent you from accessing the web service, you can save a copy of the WSDL file to the local file system, and load that file to populate the other property values. After loading the file, you should replace the value for the WSDL URL property with the actual URL to the service definition.
Error when Creating a ServiceClientFactory instance JAVA API
When invoking Assembling a PDF document quick start I'm having a compilation error when creating a ServiceClientFactory instance:
//Create a ServiceClientFactory instance
ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps); The error is: The type com.adobe.idp.Context cannot be resolved. It is indirectly referenced from required .class files All the required jars are a path. What esle can be a problem ? Thanks, Yan
Passing Request XML to SOAP webservice from Adobe Process
Hi All
I am trying to pass a request XML from Adobe WS process, i added Web service control and mapped the method in Request Tab I clicked in Load and the SOAP Request XML formated.
1, Along with SOAP request XML I tried passing the Request XML which was expected by the web service My I get the following error. I tried many scenario as listed below
Please help the pattern how to pass the Request XML along with XMLs to webservice
Ex1 :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:met="http://metlife.r2k.com">
<soapenv:Header/>
<soapenv:Body>
<met:processWorkItemtoPD>
<workItemInfo>
/** This is the Request XML composed by Me on process--Start**/
<!CDATA[<ma>
<ma_body>
<processingworkitem>
<workiteminformation>
<field name=applicationnum value=210212991 />
</workiteminformation>
</processingworkitem>
</ma_body>
<ma_fault>
<applicationfault />
<systemfault />
</ma_fault>
</ma>]]
/** This is the Request XML composed by Me on process--End
**/
</workItemInfo>
</met:processWorkItemtoPD>
</soapenv:Body>
</soapenv:Envelope>
Ex2
:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:met="http://metlife.r2k.com">
<soapenv:Header/>
<soapenv:Body>
<met:processWorkItemtoPD>
<workItemInfo>
/** This is the Request XML composed by Me on process--Start**/
"<ma>
<ma_body>
<processingworkitem>
<workiteminformation>
<field name='num' value='210212991' />
</workiteminformation>
</processingworkitem>
</ma_body>
<ma_fault>
<applicationfault />
<systemfault />
</ma_fault>
</ma>"
/** This is the Request XML composed by Me on process--End**/
</workItemInfo>
</met:processWorkItemtoPD>
</soapenv:Body>
</soapenv:Envelope>
XSLT fails with 'Content not allowed in prolog' when no 'Test XML' data present
Believe or not, it's true. In the XSLT Source Text Input and Testing wizard, if you delete the test data from the text area in the Test XML tab, then the XSL transform will fail with the error 'Content not allowed in prolog' when the process executes. I wasted a day and a half trying to figure this out - hope I've saved someone else the trouble.
Error in Invoke web service activity
I filled Settings tab,Request tab and when I want to test my web service activity I have the fallowing error :
Failed to run test to invoke webservice.
ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
Any ideas?
Thanks
ConvertPdf ->toImage
MySQL error: Got error 139
I have installed the lc turnkey and create a process with the workbench. After a lot of trials I got now the error in one process:
The process is not small. When I make it shorter than the failure comes later.
Can somebody help me?
Regards
Chris
javax.ejb.TransactionRolledbackLocalException: Got error 139 from storage engine; CausedByException is:
Got error 139 from storage engine
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:247)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
at $Proxy284.writeObject(Unknown Source)
at com.adobe.pof.omapi.POFObjectManagerLocalEJBAdapter.writeObject(POFObjectManagerLocalEJBA dapter.java:135)
at com.adobe.workflow.datatype.POFVariableContainer.write(POFVariableContainer.java:143)
at com.adobe.workflow.pat.service.PATExecutionContextImpl.writeResults(PATExecutionContextIm pl.java:120)
at com.adobe.workflow.engine.AbstractBranch.saveRuntimeData(AbstractBranch.java:396)
at com.adobe.workflow.engine.SynchronousBranch.execute(SynchronousBranch.java:884)
at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2773)
at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncContinueBranchCommand(ProcessEngineBM TBean.java:2528)
at sun.reflect.GeneratedMethodAccessor1125.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 58)
at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
at $Proxy302.asyncContinueBranchCommand(Unknown Source)
at com.adobe.workflow.engine.ProcessCommandControllerBean.doOnMessage(ProcessCommandControll erBean.java:144)
at com.adobe.workflow.engine.ProcessCommandControllerBean.onMessage(ProcessCommandC
clicking on process just opens a process designer blank window
hi,
i am using a trial version of livecycle workbanch version:
Adobe LiveCycle Workbench ES2
Version: 9.0.0.0.20091021.2.223388
yesterday i sucessfully imported some sample application and could open and edit a process.
today when i click on the same process nothing happens just a gray blank process designer window opens.
no errors, no logs.
any ideas?
Activities missing in Workbench- Why?
no active service configuration for service: FormsService
Hi All,
I am using a java application to render pdf from XDP. Whenever i perform action to download or view pdf, i am getting the below error message in my eclipse. Please assist. Thanks.
"
Error in rendering PDF :ALC-DSC-023-000: com.adobe.idp.dsc.registry.service.NoActiveServiceConfigurationException: There is no active service configuration for service: FormsService."
how do i Convert XML item to a List variable in adobe LC
Hi,
I am producing an xml document from the adobe livecycle process and getting below data in document. I want to map each index item in a List<int> variable in adobe lc process.
ListIndex1<int>={1,1,1,1,1}
ListIndex3<string>={CoreTC,State 14.01,State 14.02,State 14.04,Vehicle Info, Used Plan}.
I know i can map xml document variable with an schema and access each index not. but not able to prepare List.
<RootElement>
<rElement>
<Index1 type="int">1</Index1>
<Index2 type="int">1</Index2>
<Index3 type="varchar">CoreTC</Index3>
<Index4 type="varchar">c:\tmp</Index4>
<Index5 type="float">1.0</Index5>
</rElement>
<rElement>
<Index1 type="int">1</Index1>
<Index2 type="int">2</Index2>
<Index3 type="varchar">State 14.01</Index3>
<Index4 type="varchar">c:\tmp</Index4>
<Index5 type="float">1.0</Index5>
</rElement>
<rElement>
<Index1 type="int">1</Index1>
<Index2 type="int">3</Index2>
<Index3 type="varchar">State 14.02</Index3>
<Index4 type="varchar">c:\tmp</Index4>
<Index5 type="float">1.0</Index5>
</rElement>
<rElement>
<Index1 type="int">1</Index1>
<Index2 type="int">4</Index2>
<Index3 type="varchar">State 14.04</Index3>
<Index4 type="varchar">c:\tmp</Index4>
<Index5 type="float">1.0</Index5>
</rElement>
<rElement>
<Index1 type="int">1</Index1>
<Index2 type="int">501</Index2>
<Index3 type="varchar">Vehicle Info</Index3>
<Index4 type="varchar">c:\tmp</Index4>
<Index5 type="float">1.0</Index5>
</rElement>
<rElement>
<Index1 type="int">1</Index1>
<Index2 type="int">502</Index2>
<Index3 type="varchar">New Plan</Index3>
<Index4 type="varchar">c:\tmp</Index4>
<Index5 type="float">1.0</Index5>
</rElement>
<rElement>
<Index1 type="int">1</Index1>
<Index2 type="int">503</Index2>
<Index3 type="varchar">Used Plan</Index3>
<Index4 type="varchar">c:\tmp</Index4>
<Index5 type="float">1.0</Index5>
</rElement>
</RootElement>
Regards
Sunil Gupta
The public Key certifcate retrieved from server (------) is not recognized as originating from
Hi there,
We are using SSL for adminui and everything is working fine. I tried to use SSL for workbench and changed the profile setting in the connection to use protocol "Simple Object Access Protocol (SOAP/HTTs) with Server Port Number:8443 and I did add the certificate to the store per documentation and am still getting the error "The public key certificate retrieved from server (--------) is not recognized as originating from a trusted source. Check with your system administrator for instructions on configuring Workbench to accept this certificate.
Thanks
Workbench ES3
Cannot coerce object:
The process in invoked, with the above error. The variable's input parameter in the Endpoint is "*.pdf" and the variable type is xfaForm.
Thank you in advance for helping.
Generate and merge PDF
I have a complicated task I need to resolve with LC.
First of all, I need to have a process, that on the invokation over WSDL will take document variable and convert that file to PDF.
Once this is done, I need to inject the PDF with process fields so I can have route names taks buttons in the workspace.
Once that is done, I need the user to be able to click on the route name button and the workflow should continue that way.
What I have done far:
- I can convert any doc to PDF (using the sample that comes with the LC)
What I need to do:
- insert process fields into the PDF (as far as I know, this can not be done, so I need to merge the converted PDF with blank PDF that has these process fields included)
- make sure, that the document is routed through route that the user picked by the button click (I did create flat PDF with process fields, I did use the form injection action to enable buttons in the workspace, however if I click on them, nothing happens. The task is still at assigned users workspace)
Any advices are highly apprecitated
J.
Possible to submit xml data to LC process
Hi!
I have a tough one for you I think
I have created a simple LC Designer 8.2 form with 3 text fields. I also have a standard button set to submit. Submit as = xml data. In the submit to URL I write the url to my Livecycle server: http://<servername>:8080/soap/services/GetFormXml where I have set up a simple process with the name GetFormXml. The LC service take an xml variable as input.
When I try to submit I get en error in my Adobe acrobat saying:
Invalid Server Response http://<servername>:8080/soap/services/GetFormXml
I am not sure everything is set correct on serversite, but we have called an LC service from .Net without problems
I would really like your help on:
- Is it possible to do it like this - submit button (in acrobat) call LC server service (SOAP endpoint should be activated out of the box)??
- If yes => please help with code example/explanations on the input variable etc
- Am I doing it correctly in Designer?
I hopy anyone outthere have solved it allready and can help me
Regards
/Thomas Groenbaek
Jyske Bank
Convert XFA Form Variable into a PDF Doc.
Hello,
I need a solution regarding conversion of a xfa form variable into a pdf so that the solutions components like Digital Signatures, Rights Management can be implemented in the process at required places. I have a process where a user fills up a form and is sent to different users for approval based on my Business Logic. The input is a dynamic PDF which is mapped to a xfa variable which flows in the process. Some changes are required to be made in the form at various levels. For that i have mapped the xpath's to values i want to be displayed in the form at different places. Now The problem arrives when i want to implement a rights management service at Manager's level in the process. The input which this solution component takes is a pdf but i have a xfa form variable flowing in my process.
I have noticed tat many users in this forum are facing the same problem in one form or the other, none have got a convincing solution. So i would be very much grateful to a person who can provide step by step solution to this issue and solve the same. you would be helping many developers by providing the complete Solution.
Thanx in advance.
Add text on every page
Dear,
I have PDF files and I need to add text on every page they have.
The text can be compared to an ID.
This is not a watermark(!) because a watermark spreads out over the center of the page.
On the right margin of any page, I would like to add text rotated 90 degrees clockwise.
What I mean is something a footer or header but on the side of a page instead of top/bottom.
How am I supposed to do this? I assume making use of a DDX file may help me?
I read something about PageOverlay but I cannot see how i can add content to the pageOverlay in such a way as plain text.
Thanks in advance and awaiting a reply!
How to read a CDATA node with XPath?
I'm using Workbench ES2 (9.0) to build a process and am trying to use xpath to read a CDATA node from an XML variable.
But when I do, I get a different value than when I read a text node without CDATA. How can I read this data? Any node in the document could have CDATA in it.
xml document
<properties> <generation> <inputGenDocs> <inputGenDoc><![CDATA[\\myserver.com\input\200100647\IFI_Attachments2_V2_Outlier & Historical Data IFI #575.TIF]]></inputGenDoc> </inputGenDocs>
</generation>
</properties>
xpath
/process_data/xmlProperties/properties/generation/inputGenDocs/inputGenDoc[
number(/process_data/@numDocIdx )]
actual result
<?xml version="1.0" encoding="UTF-8"?>
<inputGenDoc><![CDATA[\\myserver.com\input\200100647\IFI_Attachments2_V2_Outlier & Historical Data IFI #575.TIF]]></inputGenDoc>
expected result (if not wrapped in CDATA this is the returned value)
\\myserver.com\input\200100647\IFI_Attachments2_V2_Outlier & Historical Data IFI #575.TIF
thanks.