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 bu...@apache.org on 2003/04/28 22:00:06 UTC
DO NOT REPLY [Bug 19398] New: -
Java2WSDL Does Not Handle byte[] Mapping Properly
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.