On Fri, Nov 5, 2010 at 3:02 PM, Millies, Sebastian
<[email protected]> wrote:
> Hello there,
>
>
>
> I’m trying to call a service method over an RMI-Binding, passing a static
> SDO. I get the following exception:
>
>
>
> org.apache.tuscany.sca.contribution.service.ContributionWriteException:
> javax.xml.stream.XMLStreamException: Unbound namespace URI
> 'http://tuscany.apache.org/xmlns/sca/1.0'
>
>
>
>
>
> Without knowing further details, can anyone guess what this might mean and
> where I can look for
>
> the cause of the problem?
>
>
>
> n  Sebastian
>
>

Hi Sebastien

There are a couple of places where we write out the composite model.
It does this for two reasons

1/ to evaluate the policy attachTo XPAth statements
2/ to evaluate the policy appliesTo XPath statements

It looks like the write is failing for some reason but I don't know
why of the top of my head. Do you have a stack trace?

The code to do the write accessed via...

org.apache.tuscany.sca.builder.impl.PolicyAppliesToBuilderImpl
org.apache.tuscany.sca.builder.impl.PolicyAttachToBuilderImpl

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

Reply via email to