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]

 

Reply via email to