Return-Path: Delivered-To: apmail-tuscany-user-archive@www.apache.org Received: (qmail 41651 invoked from network); 20 Aug 2009 13:05:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Aug 2009 13:05:27 -0000 Received: (qmail 81633 invoked by uid 500); 20 Aug 2009 13:05:46 -0000 Delivered-To: apmail-tuscany-user-archive@tuscany.apache.org Received: (qmail 81592 invoked by uid 500); 20 Aug 2009 13:05:46 -0000 Mailing-List: contact user-help@tuscany.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@tuscany.apache.org Delivered-To: mailing list user@tuscany.apache.org Received: (qmail 81584 invoked by uid 99); 20 Aug 2009 13:05:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 13:05:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simonslaws@googlemail.com designates 209.85.219.221 as permitted sender) Received: from [209.85.219.221] (HELO mail-ew0-f221.google.com) (209.85.219.221) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 13:05:36 +0000 Received: by ewy21 with SMTP id 21so5026688ewy.21 for ; Thu, 20 Aug 2009 06:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=WaNslIF19nvv3wZY4LciYVbLxRRByu6VWwarT6kn8xA=; b=eiU1cD1A9+rdqHOz0u2GZU3bryT8QEr6QLbsI0jjn4Qbm6KfAiNuvnw04Ob5PLAVzO yAdECchhrcc4UBjVApildyURre+PxPOoROXeyzz67lBxKuwXDK4wma+kOCc4deZyrFw5 cAtm5askN9rROckNSGrveH3oihdb2bF6/hjOk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DG/kAWiQJtIX3cZgL5UOMhzxhqXkOq5f7nrlFdyyhy3ja2du4lIZp+0R7bWUR8xVBt AO5XWvnUYoUPsTPRHmxbk6lt6aanqozoCRhSCh7xGPXrgtWBZ+yicn+bF7uZwW6BxWRp 4QJJKac1mJ/R4mAVTfPW4nxD/upDubgW0VmeE= MIME-Version: 1.0 Received: by 10.210.135.10 with SMTP id i10mr45712ebd.15.1250773514927; Thu, 20 Aug 2009 06:05:14 -0700 (PDT) In-Reply-To: References: Date: Thu, 20 Aug 2009 14:05:14 +0100 Message-ID: Subject: Re: Runtime change of a WS binding from Java code From: Simon Laws To: user@tuscany.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi The SCA philosophy is that deployment configuration, such as the details of component wiring and endpoint URLs, is independent of component implementation. So Tuscany/SCA hasn't been designed with the ability to change reference URLs from within the business logic in mind. If you really wanted to do it we'd have to find a way of resetting the reference in question. We tend to do quite a lot of configuration processing up front so just resetting URL values in the model may not be enough. Which version of the runtime are you using? Regards Simon