Alex, Normally, it should be possible to specify this using the "hostname" parameter in axis2.xml.
Regards, Andreas On Tue, Jul 21, 2009 at 15:38, Alexander Bruch<[email protected]> wrote: > Hi all, > > I'am using Axis2 (Version 1.4) and i have a problem with the automaticaly > generated wsdl. > The Wsdl generates the follwoing Part: > <wsdl:service name="MyService"> > .... > <wsdl:port name="MyServiceHttpEndpoint" binding="ns:MyServiceHttpBinding"> > <http:address > location="http://192.168.1.30:8080/TestApp/services/MyService.MyServiceHttpEndpoint"/> > </wsdl:port> > .... > </wsdl:service> > > My Problem is that the http:address - location use the IP-Address of the > second networkcard (eth1) instead of the first networkcard (eth0). I tried > much things but did not get the wsdl to use the IP-Address from eth0. So now > I would like the wsdl to use the hostname instead of the IP-Address. > > > > I hope someone can help me with this. > > Thank you > > Alex > -- > > Hölle & Hüttner AG Informationstechnologie > Alexander Bruch > Derendinger Str. 40 > D-72072 Tübingen > Telefon +49-(0)611-73425-20 > Telefax +49-(0)611-73425-29 > E-Mail: [email protected] > > Hölle & Hüttner AG, Tübingen > HR-Gericht Stuttgart HRB-Nr. 382139 > Vorstand: Peter Beck, Dr.Steffen Hüttner > Aufsichtsratsvorsitzender: Prof. Dr.Dieter Mecke >
