You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ax...@ws.apache.org on 2004/09/02 14:18:54 UTC
[jira] Closed: (AXIS-1319) WSDL2Java: incorrect handling of xsd:base64Binary?
Message:
The following issue has been closed.
Resolver: Davanum Srinivas
Date: Thu, 2 Sep 2004 5:18 AM
Fixed.
thanks,
dims
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1319
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1319
Summary: WSDL2Java: incorrect handling of xsd:base64Binary?
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: Axis
Fix Fors:
current (nightly)
Versions:
1.1
Assignee: Davanum Srinivas
Reporter: Patrick Peck
Created: Fri, 16 Apr 2004 10:18 AM
Updated: Thu, 2 Sep 2004 5:18 AM
Description:
using the attached schema fragment in a wsdl definition, WSDL2Java generates the attached CryptoBinary.java class. it contains the following methods:
// Simple Types must have a String constructor
public CryptoBinary(java.lang.String value) {
this.value = org.apache.axis.types.HexBinary.decode(value);
}
// Simple Types must have a toString for serializing the value
public java.lang.String toString() {
return value == null ? null : org.apache.axis.types.HexBinary.encode(value);
}
since these methods are actually used to (de)serialize the element, the output shows
<ns3:RSAKeyValue>
<ns3:Modulus>6162636465666731323334353132333435e4f6e4f6fc</ns3:Modulus>
<ns3:Exponent>3132333435</ns3:Exponent>
</ns3:RSAKeyValue>
which is hex encoded (and not base64binary).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira