> <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
The code is not using the binding name if there is only one binding. Could be fixed by turning the binding name one when there is only one binding and its name != service name > > <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 Do we think it should have the service name also in the relative case? Would seen more consistent given what's been said about when a name is provided. > > <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 Looks ok > > <component name="EPTest4"> > <implementation.java class="helloworld.HelloWorldImpl"/> > <service name="HelloWorldService" > > <tuscany:binding.jsonp name="foo2" uri="/bla3"/> > </service> > </component> Looks ok > > 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 Looks ok > INFO: Added Servlet mapping: http://IBM-B4ADCA311EA:8085/bla4 > Looks ok
