axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Closed: (AXIS-1066) WSDL assigns base64Binary type to hexBinary field
Date Thu, 25 Mar 2004 13:41:58 GMT
Message:

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Thu, 25 Mar 2004 5:40 AM

Fixed.

thanks,
dims
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1066

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1066
    Summary: WSDL assigns base64Binary type to hexBinary field
       Type: Bug

     Status: Closed
 Resolution: FIXED

    Project: Axis
 Components: 
             WSDL processing
   Fix Fors:
             current (nightly)
   Versions:
             1.1

   Assignee: 
   Reporter: leekamentsky

    Created: Thu, 18 Sep 2003 5:58 PM
    Updated: Thu, 25 Mar 2004 5:40 AM
Environment: Operating System: All
Platform: All

Description:
I created a java bean (tv.navic.SOAP.Message) that explicitly assigns the XML 
types to its properties. I assigned two byte [] fields xsd:hexBinary types so 
that I could eyeball the result. The bean correctly serializes and deserializes 
in hexBinary, but the WSDL that's generated specifies a type of base64Binary to 
the field.

If you look at org.apache.axis.encoding.ser.BeanSerializer at the bottom of the 
writeSchema method, you'll see that the calls to writeField do not make use of 
non-null XML types. I will include the files to demonstrate the problem, the 
generated WSDL and a version of BeanSerializer that reworks the writeField 
method slightly to take the overridden XML type into account.


---------------------------------------------------------------------
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


Mime
View raw message