[
https://issues.apache.org/jira/browse/AXIS2-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Birtles updated AXIS2-2122:
--------------------------------
Attachment: AxisService.patch
The attached patch should solve the problem in 2 ways.
1. added a parameter "modifyUserWSDLPortAddress" which if set to false in the
services.xml will stop axis overriding the wsdl port address
2. added code to use the request address where available (this seemed to have
already been half done)
> Generation of soap:address in wsdl files when useOriginalwsdl=true
> ------------------------------------------------------------------
>
> Key: AXIS2-2122
> URL: https://issues.apache.org/jira/browse/AXIS2-2122
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: 1.1.1
> Reporter: Johan Lundberg
> Priority: Blocker
> Fix For: nightly
>
> Attachments: AxisService.patch
>
>
> 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.
> This is a blocker for my project where the client only understands the
> original WSDL and not the generated WSDL.
> There are two solutions to this.
> First approach.
> It is confusing that even though the parameter useOriginalwsdl is set to
> true, Axis2 is still changing the content of the WSDL. Just serve it as it is.
> Second approach.
> If there is to be any change of the content of the WSDL file, change the
> address using the same principle as described in issue AXIS2-2023 where the
> soap:address location host address is modified so that Axis first tries to
> retrieve the host name from the HTTP headers, if this is unavailable then the
> previous behavior is used.
> related to reported issue: AXIS2-2023 (
> http://issues.apache.org/jira/browse/AXIS2-2023 ). However no patch
> suggestion submitted by me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]