Ah, I see. Unfortunately this seems to define the URI of the services
relative to the host, but in my case it's the host itself that's
incorrect. I apologize for the confusion.
Jeremy
Davanum Srinivas wrote:
Jeremy,
In Axis2 1.2, there is a servicePath parameter.
-- dims
On 5/18/07, Jeremy Smith <[EMAIL PROTECTED]> wrote:
Thanks for the reply!
In axis2.xml, I added this:
<parameter
name="hostname">http://the.real.domain/axis2/services</parameter>
underneath the transportReceiver for http. I have no idea if this is
what you meant, but it didn't have any effect.
Thanks,
Jeremy
Davanum Srinivas wrote:
> Please look into your axis2.xml under WEB-INF/conf there is a setting
> there for hard-coding the url.
>
> thanks,
> dims
>
> On 5/18/07, Jeremy Smith <[EMAIL PROTECTED]> wrote:
>> My server has a bit of a complicated networking setup. It is
behind a
>> firewall with an external address, and it only knows about its
internal
>> addresses. The problem is that in the wsdl that axis2 generates, it
>> directs clients to the internal URL and they can't connect.
>>
>> How does axis2 decide what the URL will be? Is there any way I can
>> override this?
>>
>> Example:
>>
>>
>> Axis generates this:
>>
>> <wsdl:service name="MyService">
>> <wsdl:port name="MyServiceSOAP11port_http"
>> binding="axis2:MyServiceSOAP11Binding">
>> <soap:address
>> location="http://10.x.x.x:80/axis2/services/MyService"/>
>> </wsdl:port>
>> <wsdl:port name="MyServiceSOAP12port_http"
>> binding="axis2:MyServiceSOAP12Binding">
>> <soap12:address
>> location="http://10.x.x.x:80/axis2/services/MyService"/>
>> </wsdl:port>
>> <wsdl:port name="MyServiceHttpport"
>> binding="axis2:MyServiceHttpBinding">
>> <http:address
>> location="http://10.x.x.x:80/axis2/services/MyService"/>
>> </wsdl:port>
>> </wsdl:service>
>>
>> where 10.x.x.x is an inaccessible internal IP address.
>>
>> Thanks,
>> Jeremy
>>
>> ---------------------------------------------------------------------
>> 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]