This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes base64Binary to bytes[] why? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "base64Binary to bytes[] why?" Watch "base64Binary to bytes[] why?" New topic
Author

base64Binary to bytes[] why?

shai ban
Ranch Hand

Joined: Jan 05, 2010
Posts: 177
While using java.awt.Image as return type in WebSevice, it generates XSD mapping with base64Binary in WSDL. At client side Artifacts get generated with WSDL means it should be base64Binary to java.awt.Image but it is base64Binary to bytes[] !!! why?
Same XSD mapping is used both side then why the conversion differs?
shai ban
Ranch Hand

Joined: Jan 05, 2010
Posts: 177
Nobody!!!
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 391
http://docs.oracle.com/javaee/6/tutorial/doc/bnazc.html
shai ban
Ranch Hand

Joined: Jan 05, 2010
Posts: 177
H Paul wrote:http://docs.oracle.com/javaee/6/tutorial/doc/bnazc.html

Thanks Paul. It helped.

If you don't mind, could you please reply for my other post @http://www.coderanch.com/t/606412/Web-Services/java/leftover-topics-exam#2770455
I will be highly obliged.

Thanks.
 
Don't get me started about those stupid light bulbs.
 
subject: base64Binary to bytes[] why?
 
Similar Threads
Newbie question - the suitable "architecture" for this web services application.
on Tproblem while deploying web omcat + JWSDP 1.5
exception mapping problems
SOAP envelope for Web service for newbie
Axis2 and gSoap