You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by catbert <th...@juliasoft.com> on 2015/11/25 11:44:11 UTC

Re: CXF Configuration - configure publishedEndpointUrl of a webservice

Hi,I could not find any update or reply to this topic and, after some
reserach I obtained the desidered result using CXF annotations in the
following way:
@WebService@EndpointProperties({
@EndpointProperty(key="publishedEndpointUrl",value={"https://mydomain.com/my-app/webservices/MyService"})})public
interface MyService{...}
Sure, this is not a practical solution from a maintenance perspective.
Is there any way to configure such properties in the openejb-jar.xml or a
linked properties file as described in 
https://rmannibucau.wordpress.com/2012/10/04/jax-rsjax-ws-configuration-for-tomee-1-5-0/
<https://rmannibucau.wordpress.com/2012/10/04/jax-rsjax-ws-configuration-for-tomee-1-5-0/>  
?
Notes:The service is deployed as a @Stateless bean and I'm currently using
TomEE+ 1.7.2



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/CXF-Configuration-configure-publishedEndpointUrl-of-a-webservice-tp4656009p4676967.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: CXF Configuration - configure publishedEndpointUrl of a webservice

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

no easier alternative in tomee 1.7.2 but tomee 7m2 will get it:
https://issues.apache.org/jira/browse/TOMEE-1667


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-11-25 11:44 GMT+01:00 catbert <th...@juliasoft.com>:

> Hi,I could not find any update or reply to this topic and, after some
> reserach I obtained the desidered result using CXF annotations in the
> following way:
> @WebService@EndpointProperties({
> @EndpointProperty(key="publishedEndpointUrl",value={"
> https://mydomain.com/my-app/webservices/MyService"})})public
> interface MyService{...}
> Sure, this is not a practical solution from a maintenance perspective.
> Is there any way to configure such properties in the openejb-jar.xml or a
> linked properties file as described in
>
> https://rmannibucau.wordpress.com/2012/10/04/jax-rsjax-ws-configuration-for-tomee-1-5-0/
> <
> https://rmannibucau.wordpress.com/2012/10/04/jax-rsjax-ws-configuration-for-tomee-1-5-0/
> >
> ?
> Notes:The service is deployed as a @Stateless bean and I'm currently using
> TomEE+ 1.7.2
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/CXF-Configuration-configure-publishedEndpointUrl-of-a-webservice-tp4656009p4676967.html
> Sent from the TomEE Users mailing list archive at Nabble.com.