Maybe I should clarify/restate.
Jacopo wrote a service that sends a screen definition directly to a
printer. It takes as input:
1. screen definition
2. path to (network shared?) printer
3. contentType
4. body parameters
1-3 are strings and 4 is a map. We tested this Friday, with #4 being
blank, and everything worked beautifully. I now want to test it while
passing parameters to it. I'm trying to figure out how I can pass a map
to this service -- just enough implementation to see if it works. I
want to test it with the screen definition
component://product/widget/catalog/ProductScreens.xml#ProductBarCode.fo
so my body parameters would be productId and productName.
You can see the service at
https://ofbiz.davidshere.com:8443/webtools/control/availableServices?sel_service_name=sendPrintFromScreen
or you can look at JIRA 823. Part of the attached patch contains this
service.
Jacopo has been very helpful to (and patient with) me on this issue, but
he's on vacation for the next few days.
Thanks for any help you can provide.
David Shere wrote:
I'm trying to write a java service that will call another service. The
other service takes three strings and a map as input. This is what I
have so far.