axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dario Di Minno <>
Subject WSDL2Java and mime type application/octet-stream
Date Thu, 18 Mar 2004 11:37:38 GMT
It has been notished by some users that specifying the mime type 
"application/octet-stream" in a wsdl leads to an exception
running WSDL2Java:

       at org.apache.axis.wsdl.toJava.Utils.getNewQName(

while writing "application/octetstream" in the wsdl, WSDL2Java works.

But RFC2045 and RFC2046 define the mime type as "application/octet-stream"

I think that fixing the spelling of "octet-stream" in line 702 of 

else if ("application/octetstream".equals(mimeName)) ...

should correct the problem and should make the WSDL2Java more wsdl 

Thank you.

View raw message