wsdl2java failed with an imported XSD with BOM character in front
-----------------------------------------------------------------

         Key: AXIS-2031
         URL: http://issues.apache.org/jira/browse/AXIS-2031
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.2RC3    
 Environment: Windows XP, run wsdl2java at command line
    Reporter: Shawn Hu


The wsdl2java cannot take a WSDL with an imported XSD with BOM characters in 
front. The BOM is Byte Order Mark, which is usually added automatically by a 
tool such as a .NET application.

The error message is ".. missing root element .." once the wsdl2java is running 
with such wsdl file.

Once the BOM characters are stripped from the XSD, the wsdl2java will be 
working just fine.



-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to