axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Carey (JIRA)" <>
Subject [jira] Created: (AXIS-1629) WSDL2java generates prohibited package names
Date Wed, 27 Oct 2004 21:31:33 GMT
WSDL2java generates prohibited package names

         Key: AXIS-1629
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.1    
 Environment: Running under Linux (SuSE 8.2), Java 1.4, Axis 1.1
    Reporter: Matthew Carey

When faced with certain WDSL files WSDL2java will create a classes with a prohibited package
name. This java code will compile but won't run.

The wsdl files that are distributed with the Apache WS-WSRP4J project cause WSDL2java to generate
the class java.lang.holders.StringArrayHolder. This is not a permitted name for a package.

I have an example online at if you
don't want go to the trouble of installing this project to prove the point.*

If after running WSDL2java you rename all instances of java.lang.holders in all the created
java files to say sumatra.lang.holders and rename the created java directory to sumatra, it
is possible to build and run a client.

*An aside if you do install the WS-WSRP4J project locally you need to edit the file $CATALINA_HOME/webapps/wsrp/WEB-INF/web.xml
so that Tomcat ships the wsdl files back with xml http headers.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message