HPInc / jipp

A Java-compatible implementation of IPP
MIT License
153 stars 42 forks source link

output-device-uuid operation attribute not deserialized #134

Closed jakekaplow closed 1 year ago

jakekaplow commented 1 year ago

expected:

actual:

HPSudip commented 1 year ago

Thanks @jakekaplow , as discussed, we will look into it, please share if you have any logs of the incoming packet supporting this issue.

HPSudip commented 1 year ago

As per the code it should work fine if the incoming request has the uuid set as valid java.net.URI. For example urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6 as per https://www.rfc-editor.org/rfc/rfc4122.

Can you please confirm that?

Also to get a value from a group tag, we can use packet.getValue(Tag.operationAttributes, Types.outputDeviceUuid)

jakekaplow commented 1 year ago

Thanks @HPSudip, I was sending the URI incorrectly.