Mike, It looks like you are finding couple issues around your policy scenario. I was going to try to look into couple of them, but wanted to ask if you have unit test or sample apps that allow me to easily reproduce them, so I can concentrate on fixing the issues, rather then trying to reproduce them first. If you do have, I'd suggest you create a jira and provide them as patches so I could reuse, otherwise I'll create some and make it available in trunk 1.x.
On Fri, Mar 6, 2009 at 12:59 PM, Sacauskis, Mike <[email protected]> wrote: > Anybody have any idea what causes this? > > > > Mar 6, 2009 12:54:52 PM > org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader$1 > error > > WARNING: XMLSchema validation problem in: null, line: 5, column: 3 > > cvc-complex-type.2.4.a: Invalid content was found starting with element > 'operation'. One of '{WC[##other:"http://www.osoa.org/xmlns/sca/1.0"]}' is > expected. > > > > I assume it’s caused by the composite file below. > > > > <?xml version="1.0" encoding="UTF-8"?> > > <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" > > targetNamespace="http://helloworld" > > xmlns:hw="http://helloworld.gdit.com." > > xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" > > name="helloworld"> > > > > <component name="HelloWorldServiceComponent"> > > <implementation.java class="helloworld.HelloWorldImpl"> > > <operation name="sayWorld" > requires="tuscany:logging"/> > > </implementation.java> > > <service name="HelloWorld"> > > <interface.java interface="helloworld.HelloWorld"></interface.java> > > <binding.ws/> > > </service> > > <reference name="helloService" target="HelloComponent" /> > > <reference name="worldService" target="WorldComponent" /> > > </component> > > > > > > <component name="HelloComponent"> > > <implementation.java class="helloworld.HelloServiceImpl"/> > > </component> > > > > <component name="WorldComponent"> > > <implementation.java class="helloworld.WorldServiceImpl"> > > </implementation.java> > > > > </component> > > > > > > > > Mike Sacauskis > > Senior Software Engineer > > General Dynamics Information Technology > > > > 8989 Rio San Diego Dr. Suite 330 > > San Diego, CA 92108 > > 619.542.0240 x154 > > [email protected] > > -- Luciano Resende Apache Tuscany, Apache PhotArk http://people.apache.org/~lresende http://lresende.blogspot.com/
