Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Workbench
Viewing all 69588 articles
Browse latest View live

Invoke operation not found

$
0
0
Hi all,

I have a problem invoking a small process inside a bigger process. I get the following error:
2007-12-10 14:38:00,206 ERROR [com.adobe.workflow.AWS] stalling action-instance: 4545 with message: ALC-DSC-121-000: com.adobe.idp.dsc.registry.InputParameterNotFoundException: Operation: invoke not found on service: Send mails to receiver
at com.adobe.idp.dsc.registry.infomodel.impl.OperationImpl.getInputParameter(OperationImpl.j ava:175)
at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:480)
at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2881)
at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncContinueBranchCommand(ProcessEngineBM TBean.java:2380)
at sun.reflect.GeneratedMethodAccessor898.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)

I can understand the error, but I don't know what I can do to fix the problem. The process is activated and I have set invoke permissions to the process creator. However I still get this error.

Hope you can help.

Sincerely
Kim Christensen

Automatic Email Notification Problem

$
0
0
I am having a problem with my email notification in LCES 8.01.

I have modified the subject of my notifications email subject lines. At first I added @@instructions@@ onto the end. When I would start a process and receive the email I would get the task number and then "@@instructions@@" and not the actual instructions. The @@instructions@@ would print within the body of the email, just not the subject line. The next thing I tried was just using @@instructions@@ instead of taskid but that didn't help either.

Any thoughts? The documentation states that I can use @@instructions@@ in the subject line.

Thanks in advance!

John

How to configure an email endpoint

$
0
0
Hi,

I am trying to configure an emailendpoint for my process but I'm having trouble with retrieving some email information.
Is this documented somewhere?
One problem at the moment is to retrieve the SendDate or ReceiveDate from an email. How do I make the mappings for this?

The other one is when I configure the emailendpoint to retrieve Attachments, I did this by mapping *.* to an Map-collection. Now I can get the attachments stored in the Map-collection, this works fine. But when there are no attachments at the email I keep getting an NullPointerException and my process is not invoked. But my process needs to be invoked with or without attachments.

Thanks in advance,

Assemble PDF with attachments

$
0
0
Hi All,<br /><br />I am planning to assemble a PDF document with attachments. Or as I see my requirement is to create a PDF and attach various files to it. The PDF would then be sent as an attachment to an email.<br /><br />The user should be able to open the emailed PDF and save the image/application attachments seperately.<br /><br />To achieve this I had generated the sample DDX and tried it in a process, but no luck.<br /><br />All the source objects are avaialble int he assembler map object of documents with the correct key value.<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><DDX xmlns="http://ns.adobe.com/DDX/1.0/"><br /><PDF result="pdf2image_res.pdf"><br /><PDF source="pdf2image_res.pdf"><br /> <FileAttachments source="image-1.jpg" nameKey="image-1.jpg"><br />  <File filename="image-1.jpg"/><br /> </FileAttachments><br /> <FileAttachments source="image-2.jpg" nameKey="image-2.jpg"><br />  <File filename="image-2.jpg"/><br /> </FileAttachments><br /></PDF><br /></PDF><br /></DDX><br /><br />Then I extract the generated pdf in a document like '/process_data/docAssemblerMap[@id='pdf2image_res.pdf']'<br /><br />The generated PDF does not have the attachments embedded in it.<br /><br />Any thoughts/help would be greatly appreciated.

Set value with XPath dynamically

$
0
0

Dear All,

 

I am wonder if the following is possiable with Set Value service using XPath, any *simple* workaround is also welcome too.

 

If I have a variable myXML =

<root>

<item region="One">1</item>
<item region="Two">2</item>

</root>

 

I can reference to /root/item[1] by:

set /process/@myNum = 1

set /process/@dummy  = /process_data/myXml/root/item[number(\process\@myNum)]


But how can I access /root/item[@region="One"] ?

 

I tried the following but all failed:

1)

set /process/@myString = @region="One"

set /process/@dummy  = /process_data/myXml/root/item[string(\process\@myString)]

 

2)

set /process/@myString = One

set /process/@dummy  = /process_data/myXml/root/item[@region='string(\process\@myString)']

 

And are there any way to set a variable using template string? (i.e. You name is {$/process/@yourName$} )

 

Regards

Bill

java.io.EOFException

$
0
0

i dont know what i am getting this error.

I just installed a fresh installation of Windows 7, xampp & Flash Builder 4 premiunm 2 days back.

 

I create two projects

Made a data service using flash to retrieve data from MySQL for both of them.

 

I could successfully retieve the data from MySQL a couple of days back. But when i opened the project today (not even a white space was changed), it gives error when i connect the database

 

"java.io.EOFException".

 

I dont understand whats wrong with it when i have changed nothing.

 

Any help will be appreciated.

Thanks in adv.

how do i build configuration variable of WebServiceSettingBean

$
0
0

Hi,

 

I am using invoke webservice activity on workbench to consume a webservice. I have wsdl and working fine if i set this wsd as literal value. But when i try to set\create a configuration variable , i dont see any WebServiceSettingBean type.

I want to make this wsdl url as configurable from admin ui.

Please let me know how do i create a variable of  WebServiceSettingBean type.

 

 

Regards

Sunil

How to synchronize a stylesheet (.xfs file) in Workbench?

$
0
0

Hi,

 

my intention is to have several pdf forms (generated in LiveCycle Designer ES4) with the same stylesheet (generated in LiveCycle Designer ES4). If I change the stylesheet, the new style should be applied to all forms. Therefore I will use LiveCycle Workbench (because other developers can change the style as well).

 

I'm working with the LiveCycle Workbench ES4 for only a few days now and I have the following problem:

 

For test purposes, I've generated a form stylesheet (.xfs file) defining a color for texts and imported it into my Workbench and checked it in. For testing, I installed a second instance of LiveCycle Workbench ES4 on another computer. In that second Workbench, I synchronized the stylesheet and checked it out. Then I changed the stylesheet (just picked another color for text) and checked it in again.

 

When I now synchronize the stylesheet on the first Workbench, the history of the asset shows the applied changes. But if I open the stylesheet in LiveCycle Designer, there is the same color like before: no changes.

 

Obviously, the changes were uploaded to the server - otherwise the changes wouldn't be mentioned in the history. But why are there no visible changes in the stylesheet?

 

I tested the same scenario with an image and the changes were visible on other Workbenches. So it seems, that the synchronisation does work in general.

 

Why does it not work with form stylesheets (.xfs file)?

 

I'm looking forward for help. Thank you!

 

Kerstin


Problems with process designer in Workbench ES2 with Win7

$
0
0

Hello,

 

I had LiveCycle Workbench installed on my laptop and I have designed some short-term processes. They have been running successfully for sometime. Recently my laptop was upgraded to Windows 7 and got the workbench re-installed.

Now when I try to open up the processes that I have created using process designer, it fails with this error

JVM terminated. Exit code=1073740940

C:\Program Files\Adobe\Adobe LiveCycle Workbench ES2\workbench\jre\bin\javaw.exe

-Xms128m

-Xmx512m

-XX:MaxPermSize=256

-XX:MinHeapFreeRatio=40

The LiveCycle server is 9.0 and the workbench is ES2 version. It seems to be a JRE version incompatibility. My understanding is that workbench is shipped with jre which in my case is jre6. Though I have jre7 with Windows 7, the workbench uses jre6 that comes with it.

How do I set the JRE for the workbench ? Or how do I get around this problem ?

 

I see the same error when I try to create new process as well.

 

Any ideas would be appreciated .

 

Thanks,

Jyothi

Problem with JBoss and Servlets

$
0
0
I have 2 questions that are related. I'd appreciate it if anyone can address either or both questions...

(1) We installed the turnkey LiveCycle ES on a windows box with JBoss. Ih ave built a servlet that will invoke a renderPDF orchestration and show a PDF. I followed the sample given at: http://www.adobe.com/devnet/livecycle/articles/java_servlets.html
When deploying and attempting to test on the LC ES server, I am getting 404 errors. I decided to see if JBoss was up and running normally and I went to http://localhost:8080/ and see a JBoss page with JBoss Onlien REsources links at the top and JBoss Management links at the bottom. The links go to Tomcat Status, JMX Console and JBoss Web Console. All 3 links at the bottom return 404 error messages. Workspace works just fine on this machine. Web Service calls also work fine. What could be wrong?

(2) I decided that since the app server on the LC ES server was malfunctioning, I would install TomCat on my desktop and then just run the servlet with remote calls to the livecycle server. I am getting error messages in the logs "stdout_20080919.log" saying that I have a java.lang.IllegalStateException. I set up the connection properties to include the full server name, not just localhost, so it looked like: jnp://servername:1099.

Any help would be greatly appreciated.

HOWTO - Invoke Webservice using WSDL on Local File System

$
0
0

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.

how to retrieve attachments from a PDF?

$
0
0

Hi All,

 

how do i retrive attachments in a pdf using workbench process?

 

I have used a DDX file which is :

 

<?xml version="1.0" encoding="UTF-8"?>

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

<FileAttachments result="attachmentInfo.xml" nameKeys="*" extract="true">

<PDF source="inDoc"/>

<FilenameEncoding encoding="ISO-8859-1"/>

</FileAttachments>

</DDX>

Now i got the attachmentInfo.xml with the informartion of all the attachments.

 

My problem is how to actually get hold of the attachments inside the PDF.

 

Pls help.

 

Thanks

Abhiram

The use of serialize

$
0
0
Hi all,

I am trying to use the serialize xpath function to serialize an xml variable to a string, but nothing is stored in the string:

/process_data/myString = serialize(/process_data/myXmlVar/*, true())

What am I doing wrong?

Thanks in advance.

Sincerely
Kim

Form loses fragments when I run it

$
0
0

Hi

 

I've got a form which uses fragments.  This form previews fine in the designer, but when I try to run it using generatePDF Output in a process, the parts that come from the fragments are gone.

 

The following entries are in the log:

ALC-OUT-002-058: Cannot retrieve the resource from Repository Path.
Authority component retrieved is "..". Path component retrieved is "/Fragments/scCoords.xdp".Underlying Exception is : ALC-REP-018-000:
Resource [/Fragments/scCoords.xdp] does not exist or you do not have sufficient rights to access it.
2010-09-07 11:46:59,987 WARN
[com.adobe.livecycle.formsservice.exception.FormServerException]
ALC-OUT-002-058: Cannot retrieve the resource from Repository Path.
Authority component retrieved is "..". Path component retrieved is "/Fragments/BookmarkPage.xdp".Underlying Exception is : ALC-REP-018-000:
Resource [/Fragments/BookmarkPage.xdp] does not exist or you do not have sufficient rights to access it.
2010-09-07 11:46:59,997 WARN
[com.adobe.livecycle.formsservice.exception.FormServerException]
ALC-OUT-002-058: Cannot retrieve the resource from Repository Path.
Authority component retrieved is "..". Path component retrieved is "/Fragments/bookmarks.xdp".Underlying Exception is : ALC-REP-018-000:
Resource [/Fragments/bookmarks.xdp] does not exist or you do not have sufficient rights to access it.
2010-09-07 11:47:00,007 WARN
[com.adobe.livecycle.formsservice.exception.FormServerException]
ALC-OUT-002-058: Cannot retrieve the resource from Repository Path.
Authority component retrieved is "..". Path component retrieved is "/Fragments/scMessage.xdp".Underlying Exception is : ALC-REP-018-000:
Resource [/Fragments/scMessage.xdp] does not exist or you do not have sufficient rights to access it.

 

Does anyone have any idea what the problem might be?

 

Thanks

 

Dan

I have issue with my livecycle. I have no idea in Server Option what info should I type so I could get pdf file on HTML format?


Web service invocation error

$
0
0
Hi all,

I have a process in which I need to invoke a web service, but when I try to generate the soap request I get an "Invocation error" message. If I then instead build up my own soap request and invoke the process I get the "Invocation error" again with the following cause:

2008-11-17 10:52:00,101 INFO [STDOUT] Caused by: java.net.ProtocolException: Server redirected too many times (20)
2008-11-17 10:52:00,101 INFO [STDOUT] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1178)

2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)

2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
...

I am running on a LC 8.0 turnkey installation (Win 2003) with MySQL and JBOSS if that is of any difference.

Can you help me understand this error in more detail?

\Kim

Send With Map of Attachments & Map Variable

$
0
0
I'm trying to send multiple attachments using "Send With Map of Attachments" Service.  I've setup a map variable (attachments_map) of sub-type string to hold the path and file name for each file (represented as <full_path>/<file_name>.pdf).<br /><br />What I'm confused about is that I don't understand the keys of the map given the following statement in the help file about this specific Email service: "The keys for the map are the attachment file names. The file names should include the file name extension if the email receiver needs to associate the file with software to open it."<br /><br />I have two questions:<br /><br />1)  What are the keys for the map needed for the "Send With Map of Attachments" service for Attachments and what is the XPath representation to send this data to the service (e.g., /process_data/attachment_map/@file[0] or /process_data/attachment_map/@file[<file_name>] or what) ?  I don't know what the required XML structure looks like.  As you can tell, I've not used a map variable before either!  :)<br /><br />2)  As in the "Send With Document" service, is there a way to define the file name saved in the e-mail that the receiver sees?<br /><br />Example:<br />Receiver sees this in e-mail:  "File.pdf"<br />But the path and file are actually this:  T:/Files/XXXX_File.pdf<br /><br />Thanks for your help in advance!

Sending notification email to a group which is under a local domain

$
0
0
Hi,

I can assign tasks to local groups (under local domain, but people are from enterprise). But i cannot send email to these local groups. Send mail operation accepts only email address as input. Could you advice an easy way to do it. I tried FindGroupMembers operation, but it gives the error 'String length is wrong'.
I use LC 8.2

Thanks in advance
Sedat,

Share Technical Interview Questions need

$
0
0

Hi All,

 

I am preparing for interview on adobe livecycle designer and developer first time.

 

Can you send or tell me the interview questions please?

 

Regards,

Srujan

Call Stored Procedure in Workbench ES

$
0
0

Hello,

 

What does the "Call Stored Procedure" do in workbench ES? Can it be used to return a set of record? If not then is there an alternative way to get a set of values from a SQL Server stored procedure in Workbench? I try to use it to call a stored procedure but it does not seem to work.

Can any one please advise about it.

 

Thanks, Han

Viewing all 69588 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>