Page 2 of 4

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 3:28 pm
by ArielRauch
the url at the end:

1. should it be http, https or without?

2. Am I right that generally it is on port 8080: http://hppro1-sm1:8080/dpp/jmf/dfe

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 3:36 pm
by gabrielp
ArielRauch wrote: the url at the end:

1. should it be http, https or without?

2. Am I right that generally it is on port 8080: http://hppro1-sm1:8080/dpp/jmf/dfe


Should be with "http".



Per my notes here ( http://jdf.dominick.p.elu.so/manager_usage.php ), it should be "http://[DFE IP]:8080/prodflow/jmf/dfe" to access your DFE and "http://[DFE IP]:8080/prodflow/jmf/[DEVICE IP]" to access your specific press (you can send JMF to either).



So if you have hppro1-sm1 mapped to your DFE IP address with DNS somehow, then http://hppro1-sm1:8080/prodflow/jmf/dfe should do it.

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 3:59 pm
by ArielRauch
ok, here is the rror message (btw, I use exactly the url that works for Smartstream Director):



Apache Tomcat/7.0.11 - Error report HTTP Status 500 - The request body could not be processed. Maybe it did not contain JMF or JDF? [Java Exception: java.lang.NullPointerException]type Status reportmessage The request body could not be processed. Maybe it did not contain JMF or JDF? [Java Exception: java.lang.NullPointerException]description The server encountered an internal error (The request body could not be processed. Maybe it did not contain JMF or JDF? [Java Exception: java.lang.NullPointerException]) that prevented it from fulfilling this request.Apache Tomcat/7.0.11

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 4:08 pm
by gabrielp
If you are using the exact command I used above, it should work. My guess is you're using the wrong URL but it does say it accepts JMF. Can you double check that the only thing you changed is the URL at the end?



curl -X POST -d '' --header "Content-Type: application/vnd.cip4-jmf+xml" 192.168.xx.xx:8080/dpp/jmf/dfe


Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 4:13 pm
by ArielRauch
I also had to change single quotes to double quotes - windows:(



is it possible to put the xml part into a file and to read it from there?

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 4:20 pm
by gabrielp
ArielRauch wrote: I also had to change single quotes to double quotes - windows:(
Well, you're using double quotes within the XML so that would screw things up. If you're using cygwin, single quotes should be fine. If you're not, you can replace all of the XML double quotes which would allow you to wrap the whole -d request in double quotes.



You can put the XML string into a file and run that file with cURL. You'll have to read the cURL guide to see how though.

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 4:38 pm
by ArielRauch
could you please verify that the data part (which is now in a file) is correct:







I receive the following error message:

Apache Tomcat/7.0.11 - Error report HTTP Status 501 - Method Post is not is not implemented by this servlet for this URI type Status reportmessage Method Post is not is not implemented by this servlet for this URI description The server does not support the functionality needed to fulfill this request (Method Post is not is not implemented by this servlet for this URI ).Apache Tomcat/7.0.11

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 4:49 pm
by dkelly
Method Post is not is not implemented by this servlet for this URI


XML is fine. Error message says POST method isn't supported. Maybe it's supposed to be a PUT?

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 5:53 pm
by gabrielp
dkelly wrote: Method Post is not is not implemented by this servlet for this URI


XML is fine. Error message says POST method isn't supported. Maybe it's supposed to be a PUT?


I think his URL is wrong. I use POST for all my JMF stuff.

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 5:55 pm
by ArielRauch
I copied the URL from the director output channel definition.



Could it be related to permissions?

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 6:00 pm
by gabrielp
ArielRauch wrote: I copied the URL from the director output channel definition.



Could it be related to permissions?
Just humor me and try this:



http://[DFE IP]:8080/prodflow/jmf/dfe



Replace [DFE IP] with the IP address of the DFE

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 6:08 pm
by ArielRauch
would never humor you:)

I did:

C:UsersUnicorn>"c:Program FilescURLbincurl.exe" -X Post -d @test.xml --header "Content-Type: application/vnd.cip4-jmf+xml" http://172.16.200.50:8080/prodflow/jmf/dfe



and received:

Apache Tomcat/7.0.11 - Error report HTTP Status 501 - Method Post is not is not implemented by this servlet for this URI type Status reportmessage Method Post is not is not implemented by this servlet for this URI description The server does not support the functionality needed to fulfill this request (Method Post is not is not implemented by this servlet for this URI ).Apache Tomcat/7.0.11

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 6:14 pm
by ArielRauch
when I browse url: http://172.16.200.50:8080/prodflow/jmf/dfe



I receive dfe version problem (see below) I am working with 4.6 (not the latest)

HP JDF Integrated Digital Printer



Welcome to HP IDP.



HP JDF Version: build.version=2.0.137build.version.major=2build.version.minor=0build.version.subminor=137build.number=13159build.component=jdfbuild.type=PRODUCTIONbuild.datestamp=2012-02-02component.svn.url=jdf/branches/2.0/intbuild.branch=2.0



Build Time Stamp: 13159-DFE-VMBUILD-3-20120202-1703



DFE Version: NOT_VALID.NOT_VALID.NOT_VALID (NOT_VALID NOT_VALID)



JMF URL: http://172.16.200.50:8080/prodflow/jmf/dfe

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 6:16 pm
by gabrielp
ArielRauch wrote: would never humor you:)

I did:

C:UsersUnicorn>"c:Program FilescURLbincurl.exe" -X Post -d @test.xml --header "Content-Type: application/vnd.cip4-jmf+xml" http://172.16.200.50:8080/prodflow/jmf/dfe


Strange dude... You can try using PUT but I think something else is wrong. I'd contact HP. You are looking for the "IDP worker URL".



This is what HP sent me when I was looking for it:

http://:8080/dpp/jmf/dfe

Hp indigo dfe - getting feedback

Posted: Mon Sep 15, 2014 6:17 pm
by gabrielp
ArielRauch wrote: when I browse url: http://172.16.200.50:8080/prodflow/jmf/dfe



I receive dfe version problem (see below) I am working with 4.6 (not the latest)


Here is mine:



HP JDF Integrated Digital Printer



Welcome to HP IDP.



HP JDF Version: build.version=2.0.137build.version.major=2build.version.minor=0build.version.subminor=137build.number=13159build.component=jdfbuild.type=PRODUCTIONbuild.datestamp=2012-02-02component.svn.url=jdf/branches/2.0/intbuild.branch=2.0



Build Time Stamp: 13159-DFE-VMBUILD-3-20120202-1703



DFE Version: NOT_VALID.NOT_VALID.NOT_VALID (NOT_VALID NOT_VALID)



JMF URL: http://192.168.x.x:8080/prodflow/jmf/dfe