I think hostname will work in the latest release. Othewise what you can do is get the generated WSDL, change the addresses and use them with * *useOriginalwsdl = true and *modifyUserWSDLPortAddress = false parameters in the services.xml .
Upul * On Thu, Mar 6, 2008 at 10:38 PM, aconstantino <[EMAIL PROTECTED]> wrote: > > Hello developers, > > I'm in a axis migration process and I'm having some problems with axis2 > 1.2 > framework. > > My webproject is hosted at locaweb (locaweb.com.br) so, in the same IP of > my > host, I think the host have many sites published there, so, I can not > access > my website directly by IP. The first problem is that when I access any > webservice published, I got something like this: > > <wsdl:port name="VersionSOAP11port_http" > binding="axis2:VersionSOAP11Binding"> > <soap:address location="http://200.234.200.110:80//services/Version"/> > </wsdl:port> > > I think it needs to use my hostname, not IP. > > I read on the internet about to configure axis2.xml configuration adding > the > line: > > <parameter name="hostname" locked="true">myhost.com</parameter> > > But still not working… > > Does anybody here can help? > > Thanks > > Ademir Constantino Filho > [EMAIL PROTECTED] > -- > View this message in context: > http://www.nabble.com/Axis2-Hostname-problems-tp15878661p15878661.html > Sent from the Axis - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
