Hi Charitha,

I am not including the wsdl with the aar file. Including the wsdl
causing other problems. (There is a separate email chain on this issue).

I do want the hostname to be updated to the machine name or ip address
of the installed machine. The issue is port number is being set to a
wrong value. How does Axis2 determine what the port number should be set
to? Is there some way we can specify what the port number should be?

Regards,
Jai

-----Original Message-----
From: charitha kankanamge [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2008 8:24 AM
To: [email protected]
Subject: Re: wsdl port address uses incorrect port number

Hi,
You may set modifyUserWsdlPortAddress parameter to false in your
services.xml.

<parameter name="*modifyUserWSDLPortAddress*">false</parameter>

If you set this parameter to false and useoriginalWsdl set to true, the
port address specified in the original wsdl (wsdl included in META-INF
directory of your service archive) will be unchanged.

regards
Charitha

http://charithaka.blogspot.com
http://www.wso2.org

Pugalia, Jai P (JP) wrote:

> Hi,
>  
> Looks like the wsdl port numbers being populated in the wsdl port 
> address by Axis2 is incorrect.
>  
> <wsdl:service name="Version">
>     <wsdl:port name="VersionSOAP11port_https" 
> binding="ns0:VersionSOAP11Binding">
>         <soap:address
> location="https://1.2.3.4:80/axis2/services/Version
> <https://1.2.3.4:80/axis2/services/Version>" /> 
>     </wsdl:port>
>     <wsdl:port name="VersionSOAP11port_http1" 
> binding="ns0:VersionSOAP11Binding">
>         <soap:address
> location="http://1.2.3.4:8080/axis2/services/Version
> <http://1.2.3.4:8080/axis2/services/Version>" /> 
>     </wsdl:port>
> </wsdl:service>
>  
> In our situation, the port number for https should be 443 and port for

> http should be 80. Is there any configuration which needs to be 
> modified such that the right port number is included in the wsdl when 
> it is retrieved using ?wsdl option.
>  
> Thanks,
> Jai
>  
>  
>
>-----------------------------------------------------------------------
>-
>
>No virus found in this incoming message.
>Checked by AVG. 
>Version: 7.5.524 / Virus Database: 270.7.0/1679 - Release Date: 
>9/18/2008 5:03 PM
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to