My server hosting Axis2 has the IP-address 192.168.1.100 but clients accessing it from the big naughty Internet obviously use another address, which is not a black address. This Network Address Translation becomes a problem for clients that are accessing the service WSDL from Internet.

even though I have set the parameter "useOriginalwsdl=true" in services.xml the following part in my wsdl file changes from

<wsdl:service name="Ergo">
   <wsdl:port name="ErgoSOAP" binding="tns:ErgoSOAP">
<soap:address location="http://{external IP address}:8080/axis2/services/Ergo"/>
   </wsdl:port>
</wsdl:service>


TO:

<wsdl:service name="Ergo">
   <wsdl:port name="ErgoSOAP" binding="tns:ErgoSOAP">
<soap:address location="http://192.168.1.100:8080/axis2/services/Ergo"/>
   </wsdl:port>
</wsdl:service>

why does axis2 change this even though I have set the parameter "useOriginalwsdl=true". Is there something else that should be configured in order to get axis to show the real outside address instead of the server's internal IP-address?

VBR
johan


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

Reply via email to