You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Villoud Pierre Julien <pi...@atosorigin.com> on 2010/09/08 10:43:23 UTC

Soap address location is localhost when deploying

Hi all,

I'm having a problem with the generation of my wsdl. In local mode, it's working fine :

<wsdl:service name="MyService">
    <wsdl:port name="MyPort" binding="tns:MyServiceSoapBinding">
      <soap:address location="http://localhost:9090/MyPort"/>
    </wsdl:port>
</wsdl:service>

However, when deploying on an external server, the wsdl generated still contains the same soap location (localhost). Is the plugin supposed to generate a valid address on its own ?

If not, do you know if this issue comes from the maven configuration, the endpoint configuration with Spring, or the configuration of the server ?

Thanks !

Pierre-Julien VILLOUD
Responsable d'Applications
Unité Public - Santé - Transport - Atos Worldline
pierre-julien.villoud@atosorigin.com<ma...@atosorigin.com>
Tel.: +33(0)4 78 17 69 14




________________________________

Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

Re: Soap address location is localhost when deploying

Posted by Jim Talbut <jt...@spudsoft.co.uk>.
  You might also find the autoRewriteSoapAddress property useful.
Unfortunately it's not very well documented and if you google it most of 
the hits are me talking about the fact that it can't be set from Spring.
The bug report for that shows what does and doesn't work: 
https://issues.apache.org/jira/browse/CXF-2770

Jim

On 09/09/2010 00:00, Glen Mazza wrote:
> Note #2 might help you:
> http://www.jroller.com/gmazza/entry/web_service_tutorial#notes
>
> Glen
>
>
> Villoud Pierre Julien wrote:
>> Hi all,
>>
>> I'm having a problem with the generation of my wsdl. In local mode, it's
>> working fine :
>>
>> <wsdl:service name="MyService">
>>      <wsdl:port name="MyPort" binding="tns:MyServiceSoapBinding">
>>        <soap:address location="http://localhost:9090/MyPort"/>
>>      </wsdl:port>
>> </wsdl:service>
>>
>> However, when deploying on an external server, the wsdl generated still
>> contains the same soap location (localhost). Is the plugin supposed to
>> generate a valid address on its own ?
>>
>> If not, do you know if this issue comes from the maven configuration, the
>> endpoint configuration with Spring, or the configuration of the server ?
>>
>> Thanks !
>>


Re: Soap address location is localhost when deploying

Posted by Glen Mazza <gl...@gmail.com>.
Note #2 might help you:
http://www.jroller.com/gmazza/entry/web_service_tutorial#notes

Glen


Villoud Pierre Julien wrote:
> 
> Hi all,
> 
> I'm having a problem with the generation of my wsdl. In local mode, it's
> working fine :
> 
> <wsdl:service name="MyService">
>     <wsdl:port name="MyPort" binding="tns:MyServiceSoapBinding">
>       <soap:address location="http://localhost:9090/MyPort"/>
>     </wsdl:port>
> </wsdl:service>
> 
> However, when deploying on an external server, the wsdl generated still
> contains the same soap location (localhost). Is the plugin supposed to
> generate a valid address on its own ?
> 
> If not, do you know if this issue comes from the maven configuration, the
> endpoint configuration with Spring, or the configuration of the server ?
> 
> Thanks !
> 

-- 
View this message in context: http://cxf.547215.n5.nabble.com/Soap-address-location-is-localhost-when-deploying-tp2807550p2826769.html
Sent from the cxf-user mailing list archive at Nabble.com.