Return-Path: Delivered-To: apmail-ws-tuscany-dev-archive@locus.apache.org Received: (qmail 79984 invoked from network); 16 Apr 2007 21:04:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2007 21:04:27 -0000 Received: (qmail 43534 invoked by uid 500); 16 Apr 2007 21:04:33 -0000 Delivered-To: apmail-ws-tuscany-dev-archive@ws.apache.org Received: (qmail 43509 invoked by uid 500); 16 Apr 2007 21:04:32 -0000 Mailing-List: contact tuscany-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tuscany-dev@ws.apache.org Delivered-To: mailing list tuscany-dev@ws.apache.org Received: (qmail 43500 invoked by uid 99); 16 Apr 2007 21:04:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 14:04:32 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of simonslaws@googlemail.com designates 209.85.134.186 as permitted sender) Received: from [209.85.134.186] (HELO mu-out-0910.google.com) (209.85.134.186) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 14:04:25 -0700 Received: by mu-out-0910.google.com with SMTP id w8so2218144mue for ; Mon, 16 Apr 2007 14:04:04 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=e3wfwpVgX8YkSHUHn4S+RMaEJSTwPVrdrV0gyIuzoKLeImEjKA6sw7yXJAKO5sRmGp9O/lD55B/+2OOzjtJepRlDMYfHgZVsu0VwYvKjdaTmyPyjYzkW7MxwUByRCxUQ2e1+v4Z17BfgXpNK8tQPEeXyyKDxdz/hDoiaatoL5a0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Y0wLM0tbGktsye8PsgYCMBUIqPKAPOICo7XXppf10H2npfId4kYa03b1QbtOkdMT/3oxavENNCYGQw9LMqkd28ZXzVL2+GZQHxoLwwfz7IDuwvgisK59tYZdjmDIq0ROx3CQ3CQtj3mix6jzzGTaf4lbBijKfuW8jPzyhRo6ixQ= Received: by 10.82.113.6 with SMTP id l6mr9128037buc.1176757444061; Mon, 16 Apr 2007 14:04:04 -0700 (PDT) Received: by 10.82.127.12 with HTTP; Mon, 16 Apr 2007 14:04:03 -0700 (PDT) Message-ID: Date: Mon, 16 Apr 2007 22:04:03 +0100 From: "Simon Laws" To: tuscany-dev Subject: Use of HelperContext to indetify SDO databinding? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_41449_27444752.1176757443979" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_41449_27444752.1176757443979 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Static SDO used in the databinding tests with the Axis2 binding are not being successfully identified as SDOs. In SDODataBinding.introspect() one of the tests use to identify and SDO from a Java type is as follows HelperContext context = HelperProvider.getDefaultContext(); ... // FIXME: We need to access HelperContext Type type = context.getTypeHelper().getType(javaType); if (type == null) { return false; } However when the ImportSDO functionality runs it associates the importer with a HelperContext from the helperContextRegistry. helperContext = helperContextRegistry.getHelperContext(id); This doesn't look right to me as I expect different HelperContexts will be used. I can't work out how to get to the helperContextRegistry from the SDODataBinding (and it's getting late) but if someone who knows databindings could take a look and confirm or not whether this is an issue I can take a look tomorrow. Regards Simon ------=_Part_41449_27444752.1176757443979--