Views
Replies
Total Likes
Is the web service retrieving th eimage and returning it to you ...or is the WS only creating the UNC name to assign to the image?
I also assume that you are executing your Web service after the form has been rendered and the user is hitting a button to invoke the WS....right?
Paul
Views
Replies
Total Likes
Yes, the web service does retrieve the image and return it to me within the form (after the form has been rendered and the user hitting a button to invoke the WS) or manually invoke in workbench ES by using the UNC path name that assigned to the image of the Input in ReadDocument component.
The problem that I have is to make a dynamic variable that capture the user input and pass it to the web service to show the image on the form instead of hard-coding it like the above.
Thanks,
Han Dao
Views
Replies
Total Likes
So we should be able to eliminate the form from testing and validate that the WS will indeed get the image and return it to us based on an input that we pass. In Workbench if you invoke the web service it wil ask you for input parameters you can enter a value and see if indeed it is retrieving the image. Can we validate that the WS does what we think it is supposed to?
Paul
Views
Replies
Total Likes
Yes, it does that too which give me the option to view and/or save the document (image) as well.
Thanks,
Han Dao
Views
Replies
Total Likes
So now it is simply a case of binding the outout of the web service to the image field....and making sure that you set security on the WS to execute the service correctly. If you have bound the output then you should be able to see the web service being executed in your log ...as well turn on Record and Playback and make sure that it is being called.
paul
Views
Replies
Total Likes
Hi Paul,
It works only in workbench but it does not work in the form when I try to enter the same input as I did in the workbench. I am not sure what I miss here, can you please help.
Thanks,
Han Dao
Views
Replies
Total Likes
Can you validate that the Wevb Service is being called when you activate it from the form. Turn record and playback onand you shoudl be able to see the service being called. Also check the app server log file for any errors.
Paul
Views
Replies
Total Likes
I got this error right at the first step where it try to pass the input to the workbench.
[9/7/10 14:09:07:450 CDT] 00000030 WorkflowDSCIn E com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker logFailedFaultRouting An exception was thrown with name com.adobe.livecycle.fileutils.FileUtilsException message:ALC-FUT-001-011: File does not exist. while invoking service FileUtilsService and operation readDocument and no fault routes were found to be configured.
It looks like it does not pass the input to the input variable in workbench ES at all.
Thanks,
Han Dao
Views
Replies
Total Likes
So there is your issue ...the file name that you are building does not exist on the server. There is something different in how you are generating the file name from th eform and from the WB soap service.The record and playback shoudl be able to show you what the filename is that it is looking for...hopefully that show you where the issue lies.
Paul
Views
Replies
Total Likes
Paul,
I got the form working which return the image to display the form when I enter the input.
Now I am facing the issue of concat it with the UNC path. e.g. user enter "200" it then capture the UNC path "\\servername\ImageCatalog\" to become" \\servername\ImageCatalog\200.jpg" to display 200.jpg in the form. Would the SetValue work for this? If so, can you please explain how I can use it.
Thanks again,
Han Dao
Views
Replies
Total Likes
Yes you woudl use the setValue.....the inbound value will be assigned to a variable and then you can use the concat function to put the values
together.
Paul
Views
Replies
Total Likes
Many thanks to Paul, I finally got the form and its process works as expected.
Thanks again,
Han Dao
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies