You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by viviana perropane <vi...@gmail.com> on 2009/06/11 13:05:15 UTC

Unexpected port number in auto created WSDL

I’m a java developer,  I’m developing a Web service using Axis2.
I’m using the “Service Archiver” tool to build the .aar storage files for my
project.
I have a problem with the wsdl port auto generated  by Axis2.
My web application runs under TomcatApache on a local LAN machine. I have to
configure the local address to point to the public address.
I have changed the axis2.xml file using the following parameters:
<parameter name="hostname" locked="true">
www.myHost.com<http://www.myhost.com/></parameter>
     <parameter name="httpFrontendHostUrl">
http://www.myHost.com/WebServiceWS
<http://www.myhost.com/WebServiceWS></parameter>
On my pc It auto generates the following parameters:
<wsdl:service name="MyServiceName">
    <wsdl:port name="MyServiceNameHttpSoap11Endpoint"
binding="ns:MyServiceNameSoap11Binding">
        <soap:address location="
http://www.myHost.com:9080/WebServiceWS/services/MyService.MyServiceNameHttpSoap11Endpoint/"/><http://www.myhost.com:9080/WebServiceWS/services/MyService.MyServiceNameHttpSoap11Endpoint/%22/%3E>
    </wsdl:port>

</wsdl:service>
>From the auto generated Wsdl port by Axis2, I can see in the  address
location port which usually refers to the ApacheTomcat address . How can I
eliminate this port? (from my code I would like to be able to
disable/eliminate the port i.e 9080 or configure it myself)  Is it possible
to configure this port using an external file.
I thank you in advanced for any help you may be able to give me.
Regards
Dott.ssa Viviana Perropane

Re: Unexpected port number in auto created WSDL

Posted by Andreas Veithen <an...@gmail.com>.
Please have a look at AXIS2-3843.

Andreas

On Thu, Jun 11, 2009 at 13:05, viviana perropane<vi...@gmail.com> wrote:
> I’m a java developer,  I’m developing a Web service using Axis2.
> I’m using the “Service Archiver” tool to build the .aar storage files for my
> project.
> I have a problem with the wsdl port auto generated  by Axis2.
> My web application runs under TomcatApache on a local LAN machine. I have to
> configure the local address to point to the public address.
> I have changed the axis2.xml file using the following parameters:
> <parameter name="hostname" locked="true"> www.myHost.com </parameter>
>      <parameter name="httpFrontendHostUrl">
> http://www.myHost.com/WebServiceWS </parameter>
> On my pc It auto generates the following parameters:
> <wsdl:service name="MyServiceName">
>     <wsdl:port name="MyServiceNameHttpSoap11Endpoint"
> binding="ns:MyServiceNameSoap11Binding">
>         <soap:address
> location="http://www.myHost.com:9080/WebServiceWS/services/MyService.MyServiceNameHttpSoap11Endpoint/"/>
>     </wsdl:port>
>
> </wsdl:service>
> From the auto generated Wsdl port by Axis2, I can see in the  address
> location port which usually refers to the ApacheTomcat address . How can I
> eliminate this port? (from my code I would like to be able to
> disable/eliminate the port i.e 9080 or configure it myself)  Is it possible
> to configure this port using an external file.
> I thank you in advanced for any help you may be able to give me.
> Regards
> Dott.ssa Viviana Perropane
>