D
dan.winsor
Hi all,
I'm trying to write through SOAPpy in python to a Java implemented API.
The API for the method I want to use is as follows:
boolean added = SoapService.addAttachmentsToIssue(token,
issue.getKey(),
new String[]{fileName},
new byte[][]{getBytesFromFile(tmpFile)});
I've got everything covered except for the byte array. The byte array
should be holding the contents of the attachment(s) I want to send
thorugh the API. However, no matter how I try it, Java on the other
end doesn't like what I'm passing it there.
How can I mimic a byte array in python? Suggestions on things to try?
I'm trying to write through SOAPpy in python to a Java implemented API.
The API for the method I want to use is as follows:
boolean added = SoapService.addAttachmentsToIssue(token,
issue.getKey(),
new String[]{fileName},
new byte[][]{getBytesFromFile(tmpFile)});
I've got everything covered except for the byte array. The byte array
should be holding the contents of the attachment(s) I want to send
thorugh the API. However, no matter how I try it, Java on the other
end doesn't like what I'm passing it there.
How can I mimic a byte array in python? Suggestions on things to try?