On Thu, Aug 13, 2009 at 3:00 PM, Simon Laws<[email protected]> wrote:
> +1, I believe this is how the code works now.
>
> Simon
>

Ok, I'll create an itest for this using all the different bindings we
have but a quick try with the jsonp binding gives the results below.
The name attribute doesn't seem to be used, also when the uri
attribute value is given it replaces the service and/or component name
depending on if it starts with a slash, is that really whats expected?

   ...ant

    <component name="EPTest1">
        <implementation.java class="helloworld.HelloWorldImpl"/>
        <service name="HelloWorldService" >
            <tuscany:binding.jsonp name="foo" />
        </service>
    </component>

INFO: Added Servlet mapping:
http://IBM-B4ADCA311EA:8085/EPTest1/HelloWorldService

    <component name="EPTest2">
        <implementation.java class="helloworld.HelloWorldImpl"/>
        <service name="HelloWorldService" >
            <tuscany:binding.jsonp uri="bla"/>
        </service>
    </component>

INFO: Added Servlet mapping: http://IBM-B4ADCA311EA:8085/EPTest2/bla

    <component name="EPTest3">
        <implementation.java class="helloworld.HelloWorldImpl"/>
        <service name="HelloWorldService" >
            <tuscany:binding.jsonp uri="/bla2"/>
        </service>
    </component>

INFO: Added Servlet mapping: http://IBM-B4ADCA311EA:8085/bla2

    <component name="EPTest4">
        <implementation.java class="helloworld.HelloWorldImpl"/>
        <service name="HelloWorldService" >
            <tuscany:binding.jsonp name="foo2" uri="/bla3"/>
        </service>
    </component>

INFO: Added Servlet mapping: http://IBM-B4ADCA311EA:8085/bla3

    <component name="EPTest5">
        <implementation.java class="helloworld.HelloWorldImpl"/>
        <service name="HelloWorldService" >
            <tuscany:binding.jsonp />
            <tuscany:binding.jsonp name="foo3" uri="/bla4"/>
        </service>
    </component>

INFO: Added Servlet mapping:
http://IBM-B4ADCA311EA:8085/EPTest5/HelloWorldService
INFO: Added Servlet mapping: http://IBM-B4ADCA311EA:8085/bla4

Reply via email to