You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Suchitha Koneru (sukoneru)" <su...@cisco.com> on 2009/06/22 21:57:52 UTC

package to namespace mapping

Hello All , 
    I am using axis 2 version 1.4.  The command line tool (java 2 wsdl)
is used with the following options.
 
    java2wsdl  -wv 2.0 -cp ./classes -of UsermgmtService.wsdl -sn
UserMgmtServiceImpl  -p2n com.cisco.webservices.beans,usermgmt
com.cisco.webservices.impl,usermgmt
com.cisco.webservices.interfaces,usermgmt -cn
com.cisco.webservices.impl.UserMgmtServiceImpl
 
I am trying to associate the same namespace to all the packages used by
the usermgmt service. I have tried the option  "-p2n all,usermgt" as
well, but it did not work either.
 
 The generated wsdl  is attached. In this wsdl the namespace "usermgmt"
is not used at all. The src code UserMgmtServiceImpl.java is also
attached
 
Is this a bug in Axis or is my usage not correct ? Could you please help
me out
 
thank you,
suchitha