Domino Axis WS base64 bug: byte[] to xs:base64Binary conversion not working

I have a problem with a web service on Domino sending a binary attachment in base64.

I have this scenario:

My external provider created a web service using Appache Axis. They generated WSDL from Java classes and gave me this WSDL file. I imported this WSDL into Domino WS consumer (Java) using DDE. Everything fine so far.

But the generated SQAP messages are rubbish.

The WSDL says:

<xs:element name=“messageAttachments” type=“xs:base64Binary” />

In DDE Java WS consumer it is represented by

private byte messageAttachments;

I expect the SOAP meassage to be something like this:

/9j/4AAQSkZJRgABAQAAAQABAAD…

But Domino sends this:

77

106

65

120

This causes an error and nothing is received at the other end…

There are several forum posts about this issue but no solution…

http://www.mail-archive.com/axis-dev@ws.apache.org/msg37279.html

http://markmail.org/message/374oierfppqxbye2

It looks like a bug in Apache Axis 1.x which is built in Domino :frowning:

Hope IBM will get rid off Axis 1.x and integrate Axis2.

Any idea for workaround?

Thank you,

Tomas.