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? 




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955698#3955698

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955698

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to