You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Alexander Rosemann <al...@gmail.com> on 2010/05/27 16:58:28 UTC

wsdl address location when using ssl

Hi,

I configured a service to use a hand written WSDL contract. Axis shows 
the contract as expected but displays the wrong port for the address 
location. I'm running Axis2 1.4.1 included in a web-app in Tomcat 6.0.20 
using HTTPS, port 8443.

That's what I get:
<soap:address 
location="http://192.168.1.102:8080/myapp/services/superservice/"/>

and that's what I would expect:
<soap:address 
location="http://192.168.1.102:8443/myapp/services/superservice/"/>

Any clues why this is happening and how I can fix this?

Best,
Alex

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


Re: wsdl address location when using ssl

Posted by Andreas Veithen <an...@gmail.com>.
There is a "hostname" parameter in axis2.xml that can be used to
replace the IP address by a host name. I don't remember the details,
but if you search the documentation or mailing list, you should be
able to get more information.

Andreas

On Fri, May 28, 2010 at 16:24, Alexander Rosemann
<al...@gmail.com> wrote:
> Thanks Andreas for pointing me to the jira.
> I was wondering whether there is a programmatic way of setting the address
> location in axis2. The use case is that a client would like to have a fqdn
> in the address rather than an IP.
> Can you point me to the class(es) that are currently setting the address
> location?
>
> -Alex
>
> On 27.05.2010 17:39, Andreas Veithen wrote:
>>
>> There are known issues with generating endpoint references for HTTPS
>> in Axis2. This has been fixed by AXIS2-4465.
>>
>> Andreas
>>
>> On Thu, May 27, 2010 at 16:58, Alexander Rosemann
>> <al...@gmail.com>  wrote:
>>>
>>> Hi,
>>>
>>> I configured a service to use a hand written WSDL contract. Axis shows
>>> the
>>> contract as expected but displays the wrong port for the address
>>> location.
>>> I'm running Axis2 1.4.1 included in a web-app in Tomcat 6.0.20 using
>>> HTTPS,
>>> port 8443.
>>>
>>> That's what I get:
>>> <soap:address
>>> location="http://192.168.1.102:8080/myapp/services/superservice/"/>
>>>
>>> and that's what I would expect:
>>> <soap:address
>>> location="http://192.168.1.102:8443/myapp/services/superservice/"/>
>>>
>>> Any clues why this is happening and how I can fix this?
>>>
>>> Best,
>>> Alex
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-user-help@axis.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>

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


Re: wsdl address location when using ssl

Posted by Alexander Rosemann <al...@gmail.com>.
Thanks Andreas for pointing me to the jira.
I was wondering whether there is a programmatic way of setting the 
address location in axis2. The use case is that a client would like to 
have a fqdn in the address rather than an IP.
Can you point me to the class(es) that are currently setting the address 
location?

-Alex

On 27.05.2010 17:39, Andreas Veithen wrote:
> There are known issues with generating endpoint references for HTTPS
> in Axis2. This has been fixed by AXIS2-4465.
>
> Andreas
>
> On Thu, May 27, 2010 at 16:58, Alexander Rosemann
> <al...@gmail.com>  wrote:
>> Hi,
>>
>> I configured a service to use a hand written WSDL contract. Axis shows the
>> contract as expected but displays the wrong port for the address location.
>> I'm running Axis2 1.4.1 included in a web-app in Tomcat 6.0.20 using HTTPS,
>> port 8443.
>>
>> That's what I get:
>> <soap:address
>> location="http://192.168.1.102:8080/myapp/services/superservice/"/>
>>
>> and that's what I would expect:
>> <soap:address
>> location="http://192.168.1.102:8443/myapp/services/superservice/"/>
>>
>> Any clues why this is happening and how I can fix this?
>>
>> Best,
>> Alex
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>

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


Re: wsdl address location when using ssl

Posted by Andreas Veithen <an...@gmail.com>.
There are known issues with generating endpoint references for HTTPS
in Axis2. This has been fixed by AXIS2-4465.

Andreas

On Thu, May 27, 2010 at 16:58, Alexander Rosemann
<al...@gmail.com> wrote:
> Hi,
>
> I configured a service to use a hand written WSDL contract. Axis shows the
> contract as expected but displays the wrong port for the address location.
> I'm running Axis2 1.4.1 included in a web-app in Tomcat 6.0.20 using HTTPS,
> port 8443.
>
> That's what I get:
> <soap:address
> location="http://192.168.1.102:8080/myapp/services/superservice/"/>
>
> and that's what I would expect:
> <soap:address
> location="http://192.168.1.102:8443/myapp/services/superservice/"/>
>
> Any clues why this is happening and how I can fix this?
>
> Best,
> Alex
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>

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