axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19398] New: - Java2WSDL Does Not Handle byte[] Mapping Properly
Date Mon, 28 Apr 2003 20:00:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19398>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19398

Java2WSDL Does Not Handle byte[] Mapping Properly

           Summary: Java2WSDL Does Not Handle byte[] Mapping Properly
           Product: Axis
           Version: 1.1rc2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: dwhite@opentext.com


I have declared a public property (e.g. public byte[] Content) in a Java 
class.  Upon generating the WSDL the type should be mapped to 
xsd:base64binary.  Instead, the type is mapped to xsd:byte which is incorrect.  
Subsequently, when a Microsoft .NET client application tries to use the WSDL 
generated from a web service deployed on Axis/Tomcat, the client compilation 
fails because the type byte[] cannot be implicitly converted to sbyte[].  
Generating WSDL using other products such as BEA Weblogic produces the correct 
mapping.

Mime
View raw message