xsd:base64Binary vs Datahandler
843833Apr 10 2009 — edited Apr 10 2009Hi There,
I was developing a webservice using top down approach( wsdl to java). So in one of my complex types, I defined an element type as xsd:base64Binary( in wsdl file)
<xsd:element minOccurs="1" maxOccurs="1" name="token" type="xsd:base64Binary"/>
When I convert this wsdl to java, a java class for this complex type will be created and the type of token is javax.activation.DataHandler.
So in serverside if I have a byte array, how will I convert that to a valid javax.activation.DataHandler object and vice versa in client side?
I hope I have provided enough info here to understand the issue. Please feel free to ask otherwise.
Thanks,
Jose John