[ 
https://issues.apache.org/jira/browse/MUSE-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489374
 ] 

Alberto Rodriguez Galdo commented on MUSE-221:
----------------------------------------------

Good work, Dan, now we have byte support in Apache Muse, but what we need is 
full base64Binary support  as defined in 
http://www.w3.org/TR/xmlschema11-2/#base64Binary ... to allow our web service 
clients to send binary base64 encoded Data to one of our custom capabilities. 

What we want (as Axis2 does) is to have a byte[] interface to xsd:base64Binary 
attributes in Java, we only want Apache Muse to serialize byte[] to base64  and 
 base64 to byte[] when it is needed because the definition of the message in 
the WSDL states it that way (base64Binary).

We will develop a patch to add support (given apache commons codec library to 
do the coding/decoding phase) but we need some architectural hints because how 
Apache muse chooses the correct serializer for a given attribute is using it's 
associated class and base64 is just a String for the VM, then we will need to 
have a mechanism to know when we are working with a base64 attribute or not.

Any thoughts about this?

> Add support for xsd:binaryBase64 parameters and return values in WSDL and 
> Axis2
> -------------------------------------------------------------------------------
>
>                 Key: MUSE-221
>                 URL: https://issues.apache.org/jira/browse/MUSE-221
>             Project: Muse
>          Issue Type: Improvement
>          Components: Tooling - Code Generation
>    Affects Versions: 2.2.0
>            Reporter: Alberto Rodriguez Galdo
>         Assigned To: Dan Jemiolo
>             Fix For: 2.3.0
>
>
> When xsd:binaryBase64 is used a message in WSDL description, wsdl2java 
> doesn't generates the proper mapping, it simply uses org.w3c.dom.Element as 
> when a unknown type is used or xsd:anyType is used.
> The addition of binaryBase64 will allow the deployment custom capabilities 
> that receive/return binary data.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to