Hello all,
I'm having a little trouble with a field whose type is xs:base64Binary. I am looking for a way to populate the associated field in my Java code. Any help/sample code would be greatly appreciated. Here are the details: 1) After the wsdl2java conversion, the xs:base64Binary field is represented by a "javax.activation.DataHandler". (see http://java.sun.com/j2ee/1.4/docs/api/javax/activation/DataHandler.html) 2) The code examples that I found for DataHandler generally involve things like files, etc. For example: http://ws.apache.org/axis2/1_2/mtom-guide.html#21 (Note: It seems that the lines of code with OMText aren't complete). 3) In my case, my data is much simpler. For example, if I could populate the field with a string (e.g. "0 23 532 12"), that would be sufficient. My quick solution is to just change this field's type to xs:string. The reason I'd like to keep it xs:base64binary is because it's someone else's schema, so I wanted to stay faithful to their data types. Thanks! Matt Fadoul My3D, LLC
