0 Replies Latest reply on Jul 5, 2006 8:24 PM by ssen

    org.jboss.ws.tools.ToolsUtils bug

    ssen

      I am using the following configuration to generate a wsdl from a java class
      in JBoss 4.0.4:


      <java-wsdl>

      <namespaces target-namespace="http://javatype.mycompany.com"
      type-namespace="com.mycompany.javatype"/>

      <webservices ejb-link="MyEJB"/>
      </java-wsdl>


      Once I have the wsdl, if I run the wsdl-java, irresespective of whether
      I do or do not specify the jax-rpc mapping file that was generated in
      the previous step, I get MySEI generated in the following package:

      javatype.mycompany

      i.e it has dropped the 'com'. The getJavaPackageName method in
      org.jboss.ws.tools.ToolsUtils seems to be the reason for this - it drops the first element in the targetNa mespace of the wsdl - e.g. in this case the 'com'.

      So, the tool is not generating the original package for the same
      namespace.

      Is this a known bug?