Hi. sorry for my numerous posts. Ive switched from the 2012/11 nightly build to the 2015 one, and am wondering where did the WSDLRepository class go? Has it been removed?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, Chris. Sorry to bother you again. I've another question, this time regarding AttachmentFactory.
I have a print/scan web-service (which follows the Microsoft WSD:Print standard) that accepts print data in the form of base64binary(wrapped in xml). What i want to do is send PDL (page description language) data that consists of the file data wrapped within PJL command lines. So basically the data structure would be like this:
12345X
@PJL JOB NAME=jobname
@PJL COMMENT DSSC PRINT RENDERMODE=GRAYSCALE
...
...
//file data here
12345X@PJL EOJ
What i did was construct them separately:
1) PJL command lines
2) file byte[]
then encode them using the Base64 class, encoding them to Base64 byte[] before concatenating them using ByteArrayOutputStream and converting them back to byte[]. I did take into account that the first bytearray can't contain '=' at the end and encoded the bytes accordingly. When i tried validating the byte[] using an online decoder, the data came out fine. However, the i got the datatype mismatch(IOException error).
Hi. sorry for my numerous posts. Ive switched from the 2012/11 nightly build to the 2015 one, and am wondering where did the WSDLRepository class go? Has it been removed?
It has been renamed. It's DescriptionRepository now.
Hi, Chris. Sorry to bother you again. I've another question, this time regarding AttachmentFactory.
I have a print/scan web-service (which follows the Microsoft WSD:Print standard) that accepts print data in the form of base64binary(wrapped in xml). What i want to do is send PDL (page description language) data that consists of the file data wrapped within PJL command lines. So basically the data structure would be like this:
1) PJL command lines
2) file byte[]
then encode them using the Base64 class, encoding them to Base64 byte[] before concatenating them using ByteArrayOutputStream and converting them back to byte[]. I did take into account that the first bytearray can't contain '=' at the end and encoded the bytes accordingly. When i tried validating the byte[] using an online decoder, the data came out fine. However, the i got the datatype mismatch(IOException error).
error log is somethins like this:
edit: the operation is SendDocumentRequest, i've attached the relevant xml files
Last edit: Tester Toss 2016-07-19
It seems that the message you are sending is not complete. You forgot the LastDocument element. It's not optional:
HI, Chris. i addded the LastDocument element, am now receiving this fault message:
Operation declaration:
invoked message:
Last edit: Tester Toss 2016-07-20
Chris - how does one set values of boolean using ParameterValueManagement? Thanks in advance
Hi,
can you please log the related network messages with wireshark and upload them?