This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I am using Document/Literal Style in J2EE 1.4 container. I want to send the binary data through webservices. I want to know what is the binary data type i need to use in java/wsdl. I used the data type java.sql.Blob but it failed. Any help is appreciated on this.
Logically HTTP is a text base protocol so you can't send the binary data,but this binary data is converted using base64 and treat is as string.It increase the size by 30%. You can send binary data using MTOM You need to define the base64 data type in your xsd file and underline binding will convert the binary data to string.