Dear Alan,

you said the IP address of the GENERATED wsdl file will be first retrieved from the HTTP headers or if unsuccessful taken from some other place. Our problem however is that we don't use a genereated wsdl file. We have set the parameter useOriginal. Despite this, axis2 changes the soap:address to the internal IP address and seems to output a semi-generated file.Also some xml comments containing alternative ip-addresses that we have entered seem to be stripped out. This seems to indicate that the useOriginal wsdl is not working correctly.

VBR
johan

Alan Birtles wrote:
I have submitted a patch for this which I imagine will be in the next version. It should also be in the snapshot versions. see http://issues.apache.org/jira/browse/AXIS2-2023

Quoting Johan Lundberg <[EMAIL PROTECTED]>:

Fantastic reponse time! 3 minutes.
I understand that I have to perform an upgrade from Axis 2 1.1 to 1.1.1
before I get back on this issue.
Thank you very much.

VBR
johan

Davanum Srinivas wrote:
Is this with Axis2 1.1.1? Please log a bug if so.

thanks,
-- dims

On 2/5/07, Johan Lundberg <[EMAIL PROTECTED]> wrote:
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]






---------------------------------------------------------------------
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]

Reply via email to