Hi Neil,
You could  try for following two parameters in the services.xml file
along with edited WSDL file in the
 META-INF directory.

<parameter name="useOrignalWSDL"> true</parameter>
<parameter name="modifyUserWSDLPortAddress">false</parameter>

Thanks ,

On Mon, May 11, 2009 at 1:24 PM, Neil Youngman
<[email protected]> wrote:
> I have an application implemented as a POJO and exposed as a web service
> using axis2, behind an Apache proxy.
>
> The problem with this configuration is that the WSDL returns endpoint
> addresses pointed to our internal addresses in the 192.168.0.0/16 subnet. We
> want the WSDL to pass usable EPRs, i.e. EPRs served by the Apache proxy, to
> external clients, but I have been unable to find any method to change the
> EPRs in hte WSDL.
>
> The most promising approach I found was setting httpFrontendHostUrl, but
> this only changes the address in the listServices page, it has no effect on
> the WSDL. Post 6 in this devshed thread
> <http://archives.devshed.com/forums/apache-92/have-wsdl-soap-address-show-different-public-url-2333639.html>
> offers an alternative involving putting an editing WSDL file in the META-INF
> directory, but when I tried it it removed the EPR bindings altogether from
> the WSDL. I suspect that the first parameter in hte solution is incorrectly
> specified as it has attribute name="", which seems unlikely to be right.
>
> I'm sure Axis2 must be able to support this. Can anyone provide a solution
> for me.
>
> Thanks
>
> Neil Youngman
>
> Neil Youngman
> Developer
> Wirefast Limited
>
> Wirefast provides secure corporate messaging services.
> See our messaging solutions at http://www.wirefast.com/
>
> Please consider the environment.
> Does this email or attachment need to be printed?
>
> This message contains confidential information and is intended only
> for the individual named. If you are not the named addressee you
> should not disseminate, distribute or copy this email. Please
> notify the sender immediately by email if you have received this
> email by mistake and delete this email from your system.
>
> Email transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses. The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of email transmission.
> Wirefast Limited is registered in England & Wales
> Company number: 03865860
> Registered Office: 7/10 Chandos Street, Cavendish Square, London, W1G 9DQ



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

Reply via email to