ws-muse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alberto Rodriguez Galdo (JIRA)" <>
Subject [jira] Updated: (MUSE-221) Add support for xsd:binaryBase64 parameters and return values in WSDL and Axis2
Date Mon, 23 Apr 2007 12:57:15 GMT


Alberto Rodriguez Galdo updated MUSE-221:


Several test over the provided patch revealed that it is not complete, it wasn't still able
to handle byte[] return types on client proxy invocation.

I had to modify the method 'updateReturnTypes' of'
to comment out the call to ReflectUtils.getClassFromArrayClass(type) wich was removing the
array characterization of the initial 'type' variable an so it was affecting to the way Apache
Muse generates proxy code for a given WSDL with an operation wich uses a base64Binary as return

You can see that the only change is that I commented out the faulty part...

private void updateReturnTypes(JavaMethod method) {
		Class type = method.getReturnType();

		/*if(type.isArray()) {
			type = ReflectUtils.getClassFromArrayClass(type);
		_returnTypesCode.append(", ");

Please, review this change, look for other side effects I may have not taken into account,
and consider it to be aplied to the trunk along with the previous patch to have full in/out
byte[] types represented as xsd:base64Binary in Apache Muse.


> Add support for xsd:binaryBase64 parameters and return values in WSDL and Axis2
> -------------------------------------------------------------------------------
>                 Key: MUSE-221
>                 URL:
>             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
>         Attachments:,,
> 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:
For additional commands, e-mail:

View raw message