Hp indigo dfe - getting feedback

ArielRauch
Advanced member
Posts: 231
Joined: Thu Aug 07, 2014 10:04 am

Hp indigo dfe - getting feedback

Post 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
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Hp indigo dfe - getting feedback

Post 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.
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
ArielRauch
Advanced member
Posts: 231
Joined: Thu Aug 07, 2014 10:04 am

Hp indigo dfe - getting feedback

Post 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
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Hp indigo dfe - getting feedback

Post 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

Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
ArielRauch
Advanced member
Posts: 231
Joined: Thu Aug 07, 2014 10:04 am

Hp indigo dfe - getting feedback

Post 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?
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Hp indigo dfe - getting feedback

Post 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.
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
ArielRauch
Advanced member
Posts: 231
Joined: Thu Aug 07, 2014 10:04 am

Hp indigo dfe - getting feedback

Post 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
dkelly
TOP CONTRIBUTOR
Posts: 658
Joined: Mon Nov 29, 2010 8:45 pm
Location: Alpharetta GA USA
Contact:

Hp indigo dfe - getting feedback

Post 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?
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Hp indigo dfe - getting feedback

Post 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.
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
ArielRauch
Advanced member
Posts: 231
Joined: Thu Aug 07, 2014 10:04 am

Hp indigo dfe - getting feedback

Post by ArielRauch »

I copied the URL from the director output channel definition.



Could it be related to permissions?
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Hp indigo dfe - getting feedback

Post 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
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
ArielRauch
Advanced member
Posts: 231
Joined: Thu Aug 07, 2014 10:04 am

Hp indigo dfe - getting feedback

Post 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
ArielRauch
Advanced member
Posts: 231
Joined: Thu Aug 07, 2014 10:04 am

Hp indigo dfe - getting feedback

Post 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
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Hp indigo dfe - getting feedback

Post 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
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Hp indigo dfe - getting feedback

Post 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

Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
Post Reply