How do i tell Axis2 *not* to change the port/ip address when i use the useOriginalwsdl parameter?
When the services.xml parameter useOriginalwsdl=true the WSDL soap:address location-parameter is changed to the host address. This becomes a problem when the host is behind a NATed firewall and the WSDL requesting client is coming from a public Internet address. It is confusing that even though the parameter useOriginalwsdl is set to true, Axis2 is still changing the content of the WSDL. There is one more setting that you can switch on to tell Axis2 to just serve the wsdl as it is. You can do this by setting the modifyUserWSDLPortAddress parameter to false as shown below:
<parameter name="useOrignalWSDL">true</parameter>
<parameter name="modifyUserWSDLPortAddress">false</parameter>
- dims's blog
- Login or register to post comments
- Printer friendly version
- 2344 reads










