Hi devs,
I tested a sample HelloWorld REST service and need to ask some questions
related to it.

When I start the service I got the following warning.
WARNING: The application Config Location property was not defined.
But I think it works properly because I cannot see 404 in
http://localhost:8085/HelloWorld.

I want to see whether this sample works or not how can I do that? You can
see my helloworld.composite below.

thanks
Eranda

*helloworld.composite*
<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912";
           xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1";
           targetNamespace="http://sample";
           name="helloworld-contribution">
<component name="HelloWorldComponent">
     <implementation.java class="org.eranda.sca.HelloWorldImpl"/>
    <service name="HelloWorld">
            <tuscany:binding.rest uri="http://localhost:8085/HelloWorld";>
                <tuscany:wireFormat.json />
                <tuscany:operationSelector.jaxrs />
                </tuscany:binding.rest>
        </service>
    </component>
</composite>

Reply via email to