yes, this can be done by the placeholder of spring.

I believe you can find example from the mailing list, just search
placeholder

Regards

Freeman


On 2/28/08, Cybexion <[EMAIL PROTECTED]> wrote:
>
>
> Thanks, that works.
> Now I have to replace the URL depending on the env inside xbean.
> I think this can be done with spring.
>
>
> Freeman Fang wrote:
> >
> > Hi,
> >
> > We have a locationURI attribute for cxfbc endpoint xbean configuration,
> so
> > you can override the address.
> >
> > Best Regards
> >
> > Freeman
> >
> >
> > On 2/28/08, Cybexion <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> Hi,
> >> one question concerning cxfbc:
> >> In my development env the URL of the Service is always
> >>
> >>    <service name="CRMService">
> >>        <port binding="tns:crmServiceBinding" name="crmService">
> >>            <soap:address location="http://localhost:8092/CRMService/"/>
> >>        </port>
> >>    </service>
> >>
> >> Now, if I deploy the service to the test machine, it should be
> >>            <soap:address
> >> location="http://machine-test:8092/CRMService/"/>
> >> and on production it should be
> >>            <soap:address location="http://production:8092/CRMService/
> "/>
> >>
> >> How can I change the URL of the service during build time?
> >>
> >> Thanks!
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/soap%3Aaddress-changing-tp15731922s12049p15731922.html
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/soap%3Aaddress-changing-tp15731922s12049p15734508.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to