cancel
Showing results for 
Search instead for 
Did you mean: 
DavidU54339-XRX
FreeFlow Production Workflow Moderator
FreeFlow Production Workflow Moderator

Re: server error while posting JMF

FFCore does not support passing of FFCore variable values (including Custom variable values) via JMF.

0 Kudos
Hans995496-XRXL
Xerox Analyst
Xerox Analyst

Re: server error while posting JMF

Assuming the FreeFlow Core SDK resources are on the C Drive of both the Client PC and the FreeFlow Core Host Server *and* the FreeFlow Core Workflow, Simple Workflow, is established, the following PowerShell commands work:

PowerShell Command to Submit the JMF:
Invoke-WebRequest "http://192.168.1.198:7751" -Method Post -ContentType "application/vnd.cip4-jmf+xml" -InFile "C:\FreeFlow Core v5_1_0_3 SDK\JMF Samples\02 - Job Submission\01.1 - SubmitQueueEntry.jmf"


PowerShell Command to Submit the JMF and write the Response to File:
Invoke-WebRequest "http://192.168.1.198:7751" -Method Post -ContentType "application/vnd.cip4-jmf+xml" -InFile "C:\FreeFlow Core v5_1_0_3 SDK\JMF Samples\02 - Job Submission\01.1 - SubmitQueueEntry.jmf" -OutFile "C:\FreeFlow Core v5_1_0_3 SDK\JMF Samples\02 - Job Submission\01.1 - SubmitQueueEntry Test Response.jmf"

 

Verify the FreeFlow Core SDK resources and locations, as dependencies exist in the JMF and JDF files.

Also, replace the IP Address in the URL with the appropriate IP Address for you environment.

 

If you do not have the FreeFlow Core SDK, you can apply for the developer program at the following link: https://www.xerox.com/en-us/about/developer-program

 

0 Kudos
barwapk
Frequent Member
Frequent Member

Re: server error while posting JMF

OK so far so good :)

Can You tell me how to get UID to get preflight report from specyfic job? 

01.1 - SubmitQueueEntry Test Response.jmf - give me QueueEntryID

but 05.1 - Resource Query for Preflight Report.jmf need:

QueueEntryID and ResourceID (it is UID?)
 
 
0 Kudos
Hans995496-XRXL
Xerox Analyst
Xerox Analyst

Re: server error while posting JMF

To obtain the UID (ResourceID) and QueueEntryID information, you need to start a Status Subscription using Alces, which is discussed in the CIP4-Community-Backup document.

Create the jmf file as outlined in the document, and submit it via the Alces Send File button.

JMFs submitted after the Subscription is started will have SignalStatus and SignalResource responses.

The UID and QueueEntryID data is in the SignalResource response.

 

Note: Once a Status Subscription is started, it will continue to run, even after rebooting.

 

0 Kudos
barwapk
Frequent Member
Frequent Member

Re: server error while posting JMF

OK, I can test it by Alces, in SDK documentation there is no information that I have to copy QueueEntryID also. There is only information about UID of preflight.

Now I have problem to acess files on remote computer

In windows i have path:

\\MYCLOUDEX2ULTRA\Public8

How to type it to the URL in JDF file, to local file I use:

URL="file:///C:/temp/testing123.pdf" and its working
 

URL="file:///MYCLOUDEX2ULTRA/Public8/testing123.pdf" doesnt work

0 Kudos
barwapk
Frequent Member
Frequent Member

Re: server error while posting JMF

Can anybody help me with this remote URL?
0 Kudos
Hans995496-XRXL
Xerox Analyst
Xerox Analyst

Re: server error while posting JMF

For UNC path to PDF resource, use two forward slashes instead of three.

URL="file://my_server/path/filename"

 

In your case:

URL="file://MYCLOUDEX2ULTRA/Public8/testing123.pdf"

0 Kudos