axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2990) WSDL port address is not correctly generated for machines having multiple network interfaces
Date Tue, 24 Jul 2007 06:09:31 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514861
] 

Deepal Jayasinghe commented on AXIS2-2990:
------------------------------------------

Try to use hostname parameter , then you will be able to generate the wsdl with the corrcte
host name , then no need to wory abt the IP addresses

> WSDL port address is not correctly generated for machines having multiple network interfaces
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2990
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2990
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.2
>         Environment: Windows
>            Reporter: Haneef Ali
>
> WSDL portAddress is filled with machines IP address. The code to get the IP address org.apache.axis2.transport.http.sever.HTTPUtils.getIpAddress()
always takes the first available network interfaces ip address.
> This may not work in machine which has vmvare installed, or machines having multiple
network interfaces or just a laptop which has wireless and wired lan.  I believe that Correct
way to do that it, is to  use the hostName and resolve it to ipAddress.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message