java - How to remove port number from web service endpoint in wsdl file -
i working on migration of web service axis-1
axis-2
, every thing going till on local system, when deployed these services sit server can see endpoint generated axis-2
in wsdl
files having port number not supposed there, in production environment url's of services not having port number. port number having same port number, configured in axis2.xml
, , did these service available on https
.
i want know there way remove port number endpoint in wsdl
file or not.
i know while calling service can override end point, user of our services using wsdl
dynamically, end point needs correct.
please suggests.
if urls of web service on sit not have ports in them, means using default ports per http or https defaults i.e.
https://stackoverflow.com/ = http://stackoverflow.com:80/
or
https://stackoverflow.com/ = https://stackoverflow.com:443/
so can specify same in axis2.xml
also, there property called hostname in axis2.xml should specified host name of sit server.
this should give correct endpoints in wsdl generated.
Comments
Post a Comment