axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <dava...@gmail.com>
Subject Re: How does axis decide the endpoint URL?
Date Fri, 18 May 2007 20:08:45 GMT
Jeremy,

In Axis2 1.2, there is a servicePath parameter.

-- dims

On 5/18/07, Jeremy Smith <jeremy@pinacol.com> 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 <jeremy@pinacol.com> 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: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

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


Mime
View raw message