Sorry for the confusion, what I meant was the ports need not be specified in the axis2.xml. Even if you specify a value there, they will be overridden by the values in the mgt-transports.xml file.
Azeez On Fri, Feb 18, 2011 at 3:52 PM, Amila Suriarachchi <[email protected]> wrote: > > > On Fri, Feb 18, 2011 at 3:39 PM, Afkham Azeez <[email protected]> wrote: > >> >> >> On Fri, Feb 18, 2011 at 3:09 PM, Amila Suriarachchi <[email protected]>wrote: >> >>> >>> >>> On Tue, Feb 15, 2011 at 10:20 PM, Samisa Abeysinghe <[email protected]>wrote: >>> >>>> To change HTTPS port, it is sufficient to change the parameter >>>> in mgt-transports.xml >>>> >>>> Hence, can we remove that entry from the axis2.xml that we ship? If we >>>> cannot remove, at least comment out. >>>> >>>> It is confusing to have the same entry in both files. >>>> >>> >>> The purpose we put those entries are different. >>> >>> mgt-transports.xml is used to control the actual port name that tomcat >>> listener start up. >>> >>> axis2.xml entry is used to display the https port details in the wsdl. >>> >> >> In the standalone case, you don't have to specify anything in the >> axis2.xml. >> > > Did you try commenting out the https from the axis2.xml. > > When I do that it gave me this exception > > org.apache.axis2.deployment.DeploymentException: Service [ > Java2WSDLService] is trying to expose in a transport : <transports> > <transport>http</transport> > <transport>https</transport> > </transports> and which is not available in Axis2 > > in order to make https available at axis2 level you need that. > > thanks, > Amila. > >> >> >>> >>> When you put the axis2 in a servlet container it does not start the >>> listeners but use the container listener through a servelet. But need that >>> entry to show the https port in wsdl. >>> >>> thanks, >>> Amila. >>> >>> >>>> Thanks, >>>> Samisa... >>>> >>>> Samisa Abeysinghe >>>> VP Engineering >>>> WSO2 Inc. >>>> http://wso2.com >>>> http://wso2.org >>>> >>>> >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> >> -- >> *Afkham Azeez* >> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, >> * >> * >> *Member; Apache Software Foundation; >> **http://www.apache.org/*<http://www.apache.org/> >> * >> email: **[email protected]* <[email protected]>* cell: +94 77 3320919 >> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >> * >> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >> * >> * >> *Lean . Enterprise . Middleware* >> >> > -- *Afkham Azeez* Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/> * email: **[email protected]* <[email protected]>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
